With thanks to polyvinaldistillate who posted this on 02/09/2016
Please note that DesignSpark PCB is developed for Windows and is only supported on that platform, however a number of users have successfully installed DesignSpark PCB on Linux and Mac OS's. The following details are provided for information only and should be discussed on the forum for support issues with the community.
1 Installing under Linux
DesignSpark PCB is a Windows program. Very Windows. It does not play nicely with Wine, how-ever after some hours of trying to configure Wine (through the PlayOnLinux frontend) it has been possible to run the program with minor graphics glitches. This procedure may work for MacOS too (using PlayOnMac ), but has only been tested under Linux.
The installation procedure on Linux begins by installing PlayOnLinux. Once you have PlayOn- Linux installed for your Linux distribution, run it, and open the “configure" window by clicking the configure button.
Accessing the PlayOnLinux Configuration.
1.1 Quick overview of Wine Configuration
If you are familiar with PlayOnLinux and Wine, the following list describes what to set up on the virtual drive. Otherwise, detailed instructions follow in Section 1.2.
32 bits Windows installation on latest Wine.
Configured as Windows 10.
Components d3dx9, d3dx10, d3dx11, mfc40, mfc42, mono28, msvc80, msvc90, msvc100, vcrun6, vcrun2005, vcrun2008, vcrun2010, vcrun2012, vcrun2013 installed.
A new folder added manually to “drive c", named “DSLib".
Once the above is set up, execute the installer for DesignSpark PCB in this virtual drive and follow the installer instructions in Section 1.3.
1.2 Detailed Instructions for Wine Configuration
In the PlayOnLinux configuration window, you can create a new virtual drive by clicking “New". Select “32 bits windows installation" then “Next". Select the “System" version of Wine, then “Next". Then name the virtual drive as you prefer. “DSPark" is as good a name as any, and we will refer to the new drive as “DSpark" from here.
New Disk Setup
Once the new drive is in place, you should see “DSpark" in the list on the left of the “PlayOnLinux Configuration" window. Select it, and proceed with the following:
In the “General" tab, click “+" next to “Wine Version". Here, you can install the latest version of Wine (x86). Once installed, make sure it is selected as the wine version for this virtual drive.
Choose Wine Version
In the “Wine" tab, click on “Configure Wine". Once a couple of packages have installed, this should open the “Wine Configuration" window in which you can change a few settings. The most important is the “Applications" tab: Select a recent Windows version, e.g. Windows 10. You can also change other settings to your preference if you know what you are doing. Once done, click OK and the dialogue will close.
In the “Install Components" tab, you should install a number of components. Not all of these will be necessary, but we will attempt to cover most bases by installing the following:
- d3dx9, d3dx10 and d3dx11.
- mfc40, mfc42.
- mono28 (and ONLY mono28!).
- msvc80, msvc90, msvc100.
- vcrun6, vcrun2005, vcrun2008, vcrun2010, vcrun2012, vcrun2013.
In the “Miscellaneous" tab, click “Open virtual drive's directory". In the folder that pops up, open “drive c", and create a new folder called “DSLib". Then return to the PlayOnLinux configuration window.
Create new “DSLib" folder
Click “Run a Windows Executable (.exe) in this virtual drive" under the “miscellaneous" tab, and select your downloaded copy of DesignSparkPCB (you have downloaded it, haven't you?). This will invoke the DesignSpark PCB installer.
Run the DesignSpark PCB Installer via this Button.
1.3 DesignSpark PCB Installation under PlayOnLinux (Wine)
When the installer wizard opens, you can click next until the license agreement pops up. Accept the license agreement, and then input a username and company (UoA) when prompted. You will now be asked where to install DesignSpark PCB, and can select the default install location. The following window will ask where to install the libraries. Do not install the libraries to the default directory! Instead, click “Browse" and select “C:" under “My Computer", then “DSLib" in the “C:" drive. You can now click “Next" on the remaining windows and the installer will (almost) complete.
Setting DesignSpark PCB Library Install Path
When the installer crashes, click “Close". All the files will have been transferred to the virtual drive, however the installation has not been finalised. Fortunately, the software should still run. Return to the PlayOnLinux configuration window, select the “DSpark" drive, and open the “General" tab.
Click on “Make a new shortcut from this virtual drive” and wait for the scan to complete. In the list of executables that appears, scroll down until you find “DesignSpark.exe' (Figure 1). Select it, click “Next", enter a name (or leave as is) and click “Next" again. The program will be added to the configuration, and the scan will begin again. Once the scan is complete, scroll to the top of the list of executables and select “I don't want to make another shortcut". to exit the dialogue. You may now close the PlayOnLinux configuration window and return to the main PlayOnLinux window.
Listed in the right-hand panel should be a shortcut to DesignSpark. Execute this, and you should be queried for registration information. Complete the registration to get into DesignSpark PCB.
Creating a shortcut to DesignSpark PCB
There are some final steps to perform once you have DesignSpark PCB running. Due to the failed installation, DesignSpark PCB will not know where the libraries are. Go to FileàLibraries, and open the “Folders" tab in the Library Manager window. Click the “Add" button, and browse to the “DSLib" folder in which you installed the libraries. Within this folder, you should find a further folder named “Library". Select this, and click “Open". “OK" the following dialogue, and the libraries should be added to the library manager. “Apply" the changes and then close the Library Manager window.
Setting up the DesignSpark PCB Library Folder
Finally, go to SettingsàPreferences. In the “General" tab, click “Browse" under “Tech Files".
Now browse to the “DSLib/Technology" folder and click “Open". Apply the settings, and close the preferences window. You should now have a (mostly) working installation of DesignSpark PCB.
Setting up the DesignSpark PCB Technology Folder