|
本人用cmake生成VS2010项目之后,先编译ALL_BUILD,有500多个警告,没有错误,然后我编译INSTALL的时候出现了一个错误:
错误 1 error MSB3073: 命令“"F:\Program Files\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
if errorlevel 1 goto VCReportError
:VCEnd”已退出,代码为 1。 C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 113 6 INSTALL
输出窗口显示的是:
1>------ 已启动生成: 项目: INSTALL, 配置: Debug Win32 ------
1> CMake Error at src/OpenThreads/win32/cmake_install.cmake:47 (FILE):
1> file INSTALL cannot find
1> "F:/OSG/Build/bin/Debug/../../bin/ot12-OpenThreadsd.dll".
1> Call Stack (most recent call first):
1> src/OpenThreads/cmake_install.cmake:36 (INCLUDE)
1> src/cmake_install.cmake:32 (INCLUDE)
1> cmake_install.cmake:100 (INCLUDE)
1>
1>
1> -- Install configuration: "Debug"
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osg.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osgDB.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osgFX.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osgGA.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osgParticle.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osgSim.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osgText.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osgUtil.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osgTerrain.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osgManipulator.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osgViewer.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osgWidget.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osgShadow.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osgAnimation.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osgVolume.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph-osgIntrospection.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/pkgconfig/openthreads.pc
1> -- Up-to-date: f:/Program Files/OpenSceneGraph/lib/OpenThreadsd.lib
1> 系统找不到指定的批处理标签 - VCReportError
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: 命令“"F:\Program Files\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if errorlevel 1 goto VCReportError
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd”已退出,代码为 1。
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
请教高手这是什么原因?怎样解决? |
|