我想通过this指令生成Visual Studio文件,当我使用命令时:
mkdir build
cd build
cmake -G "Visual Studio 14 2015 Win64" ..
它说:
CMake Error at CMakeLists.txt:44 <project>:
Failed to run MSBuild command:
c:/Program files <x86>/MSBuild/14.0/bin/MSBuild.exe
to get the value of VCTargetspath:
Microsoft <R> Build Engine version 14.0.25420.1
Copyright <c? Microsoft Corporation. All rights reserved
MSBUILD : error MSB1009: Project file does not exist.
Switch: VCITargetspath.vcxproj
Exit code: 1
Configuring incomplete, errors occurred!
See also c:/Windows/System32/cpp-ethereum/build/CMakefiles/CMakeOutput.log
以及我使用alt命令的时候:
cmake --build . --config RelWithDebInfo
它说:
MSBUILD : error MSB1009: Project file does not exist.
Switch: ALL_BUILD.vcxproj
我必须注意,我已完全安装了git,CMake和Visual Studio 2015 Professional。