使用 cmake -G “MinGW Makefiels"编译总是提示 sh.exe 不能在 path 的搜索路径中。
使用 cmake -G "MSYS Makefiles"即可,不过要注意的是 msys在Path 中的位置要在 mingw的前面。
使用 cmake -G “MinGW Makefiels"编译总是提示 sh.exe 不能在 path 的搜索路径中。
使用 cmake -G "MSYS Makefiles"即可,不过要注意的是 msys在Path 中的位置要在 mingw的前面。