Skip to content

compiling on Windows

Dimitris Kouzoupis edited this page Jun 21, 2018 · 3 revisions
  1. Using Visual studio (to compile C library without interfaces)

    cmake -G "Visual Studio 2015 Win64" ..

    To build: cmake --build .

  2. Using MinGW (required for matlab/python interface since casadi ships binaries compiled with MinGW. Note that the same MinGW version is required)

    cmake -G "MinGW Makefiles" -D SWIG_MATLAB=ON ..

    To build: cmake --build .