'cmake' is not recognised as an internal or external command

后端 未结 4 982
广开言路
广开言路 2020-12-06 04:27

I\'m trying to run cmake in Visual Studio 10, for esys-particle-win.

My path to cmake:C:\\Program Files (x86)\\CMake 2.8\\bin\\cmake.exe

My path

4条回答
  •  感情败类
    2020-12-06 05:12

    note that if you installed cmake via chocolatey, you may have neglected to add the argument --installargs 'ADD_CMAKE_TO_PATH=System'. If you've already choco-installed cmake without that argument, re-installing via --force won't respect the new argument: you'll need to uninstall and then install. specifically choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'

提交回复
热议问题