问题描述
这里是我们的路径cmake
C:\\ \\ Program Files(x86)\CMake 2.8\bin\cmake.exe
这里是我们的esys-particle-win路径
C:\esys-particle-win \trunk\buildvs2010\mkvs10.bat
pre>
这是我们在管理员命令promt visual studio 2010中输入的代码
code> cd c:\esys-particle-win\trunk\buildvs2010
mkvs10.bat
,我们得到错误
'cmake'不被识别为内部或外部命令$ b文件mkvs10.bat中的$ b
是
cmake .. -GVisual Studio 10-GNMake Makefiles
有人可以告诉我我做错了什么。我也不知道关于编程我只是按照这个网站的说明
https://launchpadlibrarian.net/139659869/ esys-particle-win-%28v2.1%29-build-instructions.pdf
.1
任何帮助将非常感谢,谢谢
解决方案错误消息意味着它找不到cmake。 $ b $bÚ
您可以从提示符中将其位置添加到您的路径中,如下所示:set PATH =C:\Program Files(x86)\CMake 2.8\bin\;;%PATH%
I'm trying run cmake, in visual studio 10, for esys-particle-win.
here is our path to cmake C:\Program Files (x86)\CMake 2.8\bin\cmake.exe
here is our path to esys-particle-win
C:\esys-particle-win\trunk\buildvs2010\mkvs10.bat
and this is the code we are entering in administrator command promt visual studio 2010
cd c:\esys-particle-win\trunk\buildvs2010 mkvs10.bat
and we get the error
'cmake' is not recognised as an internal or external command
inside the file mkvs10.bat is
cmake .. -G "Visual Studio 10" -G "NMake Makefiles"
could anyone tell me what i'm doing wrong. also i know nothing about programming i'm just following the instructions of this site
https://launchpadlibrarian.net/139659869/esys-particle-win-%28v2.1%29-build-instructions.pdf
in section 2.3.1
any help would be greatly appreciated, thankyou
解决方案The error message means it cannot find cmake.
You can add its location to your path from the prompt like this:set PATH="C:\Program Files (x86)\CMake 2.8\bin\";%PATH%
这篇关于'cmake'不被识别为内部或外部命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!