-
Notifications
You must be signed in to change notification settings - Fork 34
Building on Windows with CMake and MinGW
Ravi Peters edited this page Jun 15, 2015
·
4 revisions
Follow these steps (tested on Windows 8.1):
-
download and execute the CMake Win32 Installer. Make sure to set the PATH variable during installation
-
download and install mingw-w64. The default options work
-
add the mingw-w64 programs to the system PATH variable (eg. append this string
C:\Program Files (x86)\mingw-w64\i686-4.9.2-posix-dwarf-rt_v4-rev2\mingw32\bin
) -
download masbcpp using git or by downloading a zip archive and unzipping it
-
open a Windows PowerShell and navigate to the folder where you just put masbcpp
-
execute the following commands:
mkdir build
cd build
cmake .. -G "MinGW Makefiles"
mingw32-make
If all goes well you should now have the masbcpp programs compute_ma.exe
and compute_normals.exe
.