Setting up MinGW-w64
MinGW-w64 comprises development tools for compiling and debugging. Download the Mingw-w64 Installer from here and follow the steps in the wizard. It is essential that the installation path does not contain any spaces. Therefore, you cannot install MinGW-w64 in Program Files. We recommend to create a folder mingw-w64 on your system drive (e.g., C:\mingw). Install a current version and specify as thread when requested. Additionally, choose the architecture .
After installing, you need to edit the PATH variable. You can access the System Control Center by pressing C:\mingw\mingw64\bin. This folder should contain a number of .exe-files that you can see in your Explorer.. In the System window, click . For Windows 10, a quick access is to enter "Edit the system environment variables" in the Start Search of Windows and click the button "Environment Variables". Change the PATH variable (double-click on it or Select and ), and add the path where your MinGW-w64 has been installed to e.g.,
Open the command prompt of Windows either via the Program Menu or typein the Start Search of Windows. Enter:
If you get an error such as "Command g++ not found", then something went wrong. In this case, verify that the PATH variable was successfully set and directs to the correct installation path. Additionally, open a new command prompt and try to execute the command again. If you try to reinstall, do not forget to restart the command prompt again (it does not update automatically). If this does not help, please ask for advice in the Forum.
Change name of the make executable
In your installation folder, inside the bin directory, you should find a file called mingw32-make.exe. Create a copy of the file in the same directory named make.exe. This is because this file is the one you will use to compile 4diac FORTE, and "make" is the command used for that throughout the documentation.
Now that you successfully installed a compiler, you can continue with the next step of the installation tutorial. All information in the installation tutorial is based on a setup with MinGW-w64. For users with previous experience in building a 4diac FORTE, the details are listed:
- When generating files for compiling in CMake, the tool "Unix Makefiles" has to be selected.
- Also the architecture option needs to be set in CMake: The correct FORTE_ARCHITECTURE is Win32
- When compiling, open the Windows command line and go to the folder, where CMake built the binaries. Execute the command make to compile.
Where to go from here?
If you want to build a 4diac FORTE, here is a quick link back:
If you want to go back to the Start Here page, we leave you here a fast access