MantisBT - CMake
View Issue Details
0011184CMakeCMakepublic2010-08-30 08:222011-06-06 18:25
Dawn 
David Cole 
normalminorhave not tried
closedfixed 
CMake-2-8 
CMake 2.8.4CMake 2.8.4 
0011184: Build INSTALL can't pass. Ogre 3d in "Building Your Projects With CMake"
Hi, I am new-comer.
I following tutor about Ogre3d engine in section "Building Your Projects With CMake".
http://www.ogre3d.org/tikiwiki/Building+Your+Projects+With+CMake [^]
Everything is smooth good,but can't build Project INSTALL!
detail report

1>------ Rebuild All started: Project: ZERO_CHECK, Configuration: Debug Win32 ------
1> Checking Build System
1> CMake does not need to re-run because C:/AppOgre/CMakeFiles/generate.stamp is up-to-date.
2>------ Rebuild All started: Project: OgreApp, Configuration: Debug Win32 ------
2> Building Custom Rule C:/OgreApp1/CMakeLists.txt
2> CMake does not need to re-run because C:\AppOgre\CMakeFiles\generate.stamp is up-to-date.
2> BaseApplication.cpp
2> TutorialApplication.cpp
2> Generating Code...
2> OgreApp.vcxproj -> C:\AppOgre\Debug\OgreApp_d.exe
2> 1 file(s) copied.
3>------ Rebuild All started: Project: ALL_BUILD, Configuration: Debug Win32 ------
3> Building Custom Rule C:/OgreApp1/CMakeLists.txt
3> CMake does not need to re-run because C:\AppOgre\CMakeFiles\generate.stamp is up-to-date.
4>------ Rebuild All started: Project: INSTALL, Configuration: Debug Win32 ------
4> Building Custom Rule C:/OgreApp1/CMakeLists.txt
4> CMake does not need to re-run because C:\AppOgre\CMakeFiles\generate.stamp is up-to-date.
4> -- Install configuration: "Debug"
4> CMake Error at cmake_install.cmake:35 (FILE):
4> file INSTALL cannot find "C:/OgreApp1/dist/Media".
4>
4>
4> The system cannot find the batch label specified - VCReportError
4>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command ""C:\Program Files\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
4>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if errorlevel 1 goto VCReportError
4>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.
========== Rebuild All: 3 succeeded, 1 failed, 0 skipped ==========

I don't know to during?
thank very much for answer.
Build INSTALL can't pass. Ogre 3d in "Building Your Projects With CMake"
No tags attached.
related to 0011533closed David Cole Custom build step in MSVS 10 fails 
Issue History
2010-08-30 08:22DawnNew Issue
2010-12-15 12:00David ColeRelationship addedrelated to 0011533
2010-12-15 12:01David ColeAssigned To => David Cole
2010-12-15 12:01David ColeStatusnew => assigned
2010-12-17 11:41David ColeTarget Version => CMake 2.8.4
2010-12-17 11:44David ColeNote Added: 0024236
2010-12-17 11:44David ColeStatusassigned => resolved
2010-12-17 11:44David ColeFixed in Version => CMake 2.8.4
2010-12-17 11:44David ColeResolutionopen => fixed
2011-06-06 18:25David ColeStatusresolved => closed
2011-06-06 18:25David ColeNote Added: 0026729

Notes
(0024236)
David Cole   
2010-12-17 11:44   
This code change, just now pushed to 'next', resolves this issue:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=66e79175327249aa2f0c80f5bd4a360b5b628bff [^] [^]

The fix should appear in the CMake 2.8.4 release. (And in nightly binaries starting tonight.)

This commit fixes the part of this reported issue that reads:
"The system cannot find the batch label specified - VCReportError"

This was an error with CMake and its generated custom command steps in Visual Studio 2010. We were using the wrong goto label before this fix.

However, the remainder of this bug report, asking about the failure of the INSTALL target for the Ogre 3d project should be reported/asked-about of somebody involved with that project. You'll have to seek help elsewhere for that part of the problem.

Thanks for the report, it helped figure out the best way to fix this bug.
(0026729)
David Cole   
2011-06-06 18:25   
Closing resolved issues that have not been updated in more than 3 months.