No Makefile after cmake on Windows

Hi everyone,

I’m trying to install acados on Windows using the powershell. I’m following the instructions found here, and so far I’ve gotten cmake to compile fine. However no Makefile is created after this, so when I do:

make install

make isn’t able to find the install target.

Here is the output from cmake ..

Here are the contents of the build folder afterwards:

d----- 6/29/2021 11:00 AM acados
d----- 6/29/2021 11:00 AM cmake
d----- 6/29/2021 11:00 AM CMakeFiles
d----- 6/29/2021 11:00 AM compilerTest
d----- 6/29/2021 11:00 AM external
d----- 6/29/2021 11:00 AM interfaces
-a---- 6/29/2021 11:00 AM 15317 acados.sln
-a---- 6/29/2021 11:00 AM 42696 ALL_BUILD.vcxproj
-a---- 6/29/2021 11:00 AM 293 ALL_BUILD.vcxproj.filters
-a---- 6/29/2021 11:00 AM 18729 CMakeCache.txt
-a---- 6/29/2021 11:00 AM 1843 cmake_install.cmake
-a---- 6/29/2021 11:00 AM 373 CTestTestfile.cmake
-a---- 6/29/2021 11:00 AM 11762 INSTALL.vcxproj
-a---- 6/29/2021 11:00 AM 535 INSTALL.vcxproj.filters
-a---- 6/29/2021 11:00 AM 44214 lint.vcxproj
-a---- 6/29/2021 11:00 AM 727 lint.vcxproj.filters
-a---- 6/29/2021 11:00 AM 11405 RUN_TESTS.vcxproj
-a---- 6/29/2021 11:00 AM 537 RUN_TESTS.vcxproj.filters
-a---- 6/29/2021 11:00 AM 44613 uninstall.vcxproj
-a---- 6/29/2021 11:00 AM 737 uninstall.vcxproj.filters
-a---- 6/29/2021 11:00 AM 49193 ZERO_CHECK.vcxproj
-a---- 6/29/2021 11:00 AM 536 ZERO_CHECK.vcxproj.filters

Any ideas would be appreciated. Thanks!

Hi

Installation instructions for Windows can be found here https://docs.acados.org/installation

I think you need to add:
-G "MinGW Makefiles"
to the cmake command to get a Makefile.

Cheers,
Jonathan

1 Like

Yep, that was my issue. Didn’t see the windows installation tab on the wiki, I was just going off of the instructions on the github README.

Thanks!