-
Clone cura-build-environment
git clone https://github.com/Ultimaker/cura-build-environment
-
Run Developer Command Prompt for VS2015 as administrator and execute:
cd cura-build-environment mkdir build mkdir install_dir cd build ..\env_win64.bat cmake -DCMAKE_BUILD_TYPE=Release ^ -DCMAKE_INSTALL_PREFIX="C:\Users\loociano\workspace\cura-build-environment\install_dir" ^ -DCMAKE_PREFIX_PATH="C:\Users\loociano\workspace\cura-build-environment\install_dir" ^ -G "NMake Makefiles" ^ .. nmake
-
Update Windows
PATH
with the following entries:C:\Users\loociano\workspace\cura-build-environment\install_dir\bin
C:\Users\loociano\workspace\cura-build-environment\install_dir\Scripts
-
Install dependencies
pip3 install trimesh
-
Clone cura-build
git clone https://github.com/Ultimaker/cura-build
-
In a regular Windows Command Prompt, as administrator, run:
mkdir build cd build ..\env_win64.bat cmake -DCMAKE_BUILD_TYPE=Release ^ -DCMAKE_INSTALL_PREFIX="C:/Users/loociano/workspace/cura-build/install_dir" ^ -DCMAKE_PREFIX_PATH=C:/Users/loociano/workspace/cura-build-environment/install_dir ^ -DSIGN_PACKAGE=OFF ^ -G "MinGW Makefiles" ..
Verify that the python interpreter built in Part One is detected:
Found Python3: C:/Users/loociano/workspace/cura-build-environment/install_dir/bin/python.exe (found version "3.5.7") ... -- Configuring done -- Generating done -- Build files have been written to: C:/Users/loociano/workspace/cura-build/build
-
Build and package:
mingw32-make ... [100%] Packaging Projects... [100%] Built target packaging
-
This will create a
package
directory containingCura.exe
.