Skip to content

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):

  1. download and execute the CMake Win32 Installer. Make sure to set the PATH variable during installation

  2. download and install mingw-w64. The default options work

  3. 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)

  4. download masbcpp using git or by downloading a zip archive and unzipping it

  5. open a Windows PowerShell and navigate to the folder where you just put masbcpp

  6. 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.

Clone this wiki locally