CMAKE_MAKE_PROGRAM not found

后端 未结 16 2879
无人共我
无人共我 2020-12-01 02:29

I have reached the end of my rope with CMake; it has so much potential, but I cannot seem to make it find the basic system tools (i.e. make) in order to functio

16条回答
  •  庸人自扰
    2020-12-01 03:20

    It seems everybody has different solution. I solved my problem like:

    When I install 64bit mingw it installed itself to : "C:\Program Files\mingw-w64\x86_64-5.1.0-posix-seh-rt_v4-rev0\mingw64\bin"

    Eventhough mingw-make.exe was under the path above, one invalid charecter or long path name confused CMake. I try to add path to environment path, try to give CMAKE as paramater it didn't work for me .

    Finally I moved complex path of mingw-w64 to "C:/mingw64", than set the environment path, restarted CMake. Problem solved for me .

提交回复
热议问题