-
Notifications
You must be signed in to change notification settings - Fork 0
Installation: Windows
Install a C++17 compiler, or update an existing C++ compiler if necessary. Microsoft provides a tutorial for installing the Visual C++ compiler. Make sure to tick "Desktop development in C++" during the isntallation of Visual Studio.
Install CMake 3.13 or newer, or update an existing CMake if necessary. CMake.org provides a guide for installing CMake on your computer. This should add cmake to the environment variables but might require a restart of the computer to take effect.
Download this repository as a ZIP file and extract it to a location of your choice, or use Git to clone the repository.
The final step is to create the executable propores.exe in the ProPores2 folder. Open the ProPores2 folder where you have extracted or cloned ProPores2. There are three ways of compiling ProPores2, if one of them does not work, try one of the others:
Option 1: Simply double-click install_windows.bat.
Option 2: Right-click on install_windows.bat and select Run as administrator.
Option 3: Open the Windows command line or PowerShell, e.g. via the search field in the Windows task bar, and navigate to the ProPores2 folder with the cd command (tutorial). Then execute the following commands:
if exist "build\" rmdir /Q /S build
cmake -S . -B build
cmake --build build --config Release --target install
if exist "build\" rmdir /Q /S build
If you want to use batch processing, install Python3 with the package pyyaml.
-
Download the newest Python 3 installer for Windows.
-
In the installer, make sure to select
Add Python to PATHand then follow the standard installation (Install Now). If you choose a custom installation, make sure thatpipis included in the installation. -
Open the Command Prompt or PowerShell, e.g. via the search bar in the Windows taskbar, and execute the following command:
pip3 install pyyaml