MinGW sh.exe must NOT be in your path

后端 未结 5 1242
长发绾君心
长发绾君心 2021-01-31 02:46

Currently trying to setup my C development environment on windows with MinGW and it looks like CMAKE is giving me the following error:

sh.exe was found in your P         


        
5条回答
  •  一向
    一向 (楼主)
    2021-01-31 03:13

    Check you really do not have sh.exe in your PATH by opening a Windows Command Line and typing where sh.exe. If you have this file in your path, the command will return its path (then you should remove it from your PATH) else if windows return it was not found, try to clean up the folder CMakeFiles and a file name CMakeCache.txt somewhere inside your project folder.

提交回复
热议问题