Jump to content
  • Advertisement
Sign in to follow this  

Cannot build Ogre tutorial framework

This topic is 2912 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I cannot build the INSTALL goal in the Tutorial framework project (Using MS Visual Studio 2010 on windows 7). I have done the following:

1) Downloaded and extracted the prebuild OGRE 1.7.2 SDK for Visual C++ .Net 2010 (32-bit):

2) Add an environment variable OGRE_HOME pointing to the above sdk.

3) Downloaded and added the CMakeLists.txt to the Tutorial Framework - (Windows Line-endings):

4) Downloaded and build (both for debug and release) the Dependencies for VS:

Copied the folder "Dependencies" to the src folder in the Tutorial project.

4) Downloaded and installed directX sdk:

5) build the project with CMake, opened the file: OgreApp.sln and build the ALL_BUILD target which completed with success. But when I try to build the INSTALL target I get:

1>------ Build started: Project: INSTALL, Configuration: Debug Win32 ------
1>Build started 24-12-2010 16:20:53.
1> Touching "Win32\Debug\INSTALL\INSTALL.unsuccessfulbuild".
1> CMake Error at cmake_install.cmake:35 (FILE):
1> file INSTALL cannot find "C:/local/TutorialFramework/dist/Media".
1> -- Install configuration: "Debug"
1> The system cannot find the batch label specified - VCReportError
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command ""C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if errorlevel 1 goto VCReportError
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.
1>Build FAILED.
1>Time Elapsed 00:00:00.15
========== Build: 0 succeeded, 1 failed, 3 up-to-date, 0 skipped ==========

I guess this is the problem:

file INSTALL cannot find "C:/local/TutorialFramework/dist/Media".

that does not exist on my system. The correct path is:


which exists.


The following :


is not correct. The include folder under Samples is located in:


have anyone had success building the project with the CMakeLists.txt file located at:



[Edited by - mlt on December 24, 2010 9:36:54 AM]

Share this post

Link to post
Share on other sites
You posted on Christmas Eve night; of course you haven't gotten much attention. I can't help you with your build problems (not a programmer), but the Ogre forums would be more useful than the irrlicht ones for Ogre problems. Give it some time and I'm sure a helpful programmer will come along here though.

On second thought, why don't you just put the media folder where the make file is looking for it?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!