Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to build (OpenGL Engine Ogre) SDK on Mac ?

Tags:

macos

opengl

ogre

I'm getting familiar with Ogre openGL engine on mac. I followed this steps to setup the SDK version 1.8.0 on mac

  1. Go to http://www.ogre3d.org and click on Download.
  2. Next click on Download a Prebuilt SDK.
  3. Download the latest OSX SDK.
  4. Double-click the .dmg to mount it
  5. Drag & drop the OgreSDK folder wherever you like to install the SDK
  6. Start up Xcode and load the OgreSDK/Samples/Samples.xcodeproj to build the samples

I have a problem in last step, when I opened the .xcodeproj file and tried to build the All_Build target, it gives this error:

make -f /Applications/OgreSDK/CMakeScripts/ReRunCMake.make
make[1]: *** No rule to make target `/Applications/CMake 2.8-8.app/Contents/share/cmake-2.8/Modules/CMakeCCompiler.cmake.in', needed by `CMakeFiles/cmake.check_cache'.  Stop.
make: *** [/Applications/OgreSDK/CMakeFiles/ZERO_CHECK] Error 2
Command /bin/sh failed with exit code 2
like image 736
Ahmed Saad Avatar asked Jan 09 '13 11:01

Ahmed Saad


1 Answers

Here it is a guide that can help you with this.

In a nutshell your problem is that you haven't configured the build yet, you can generate a makefile and configure your build with cmake, everything is described in the linked guide.

like image 66
user1797612 Avatar answered Oct 21 '22 03:10

user1797612