7

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
user1797612
  • 812
  • 6
  • 22
Ahmed Saad
  • 184
  • 1
  • 9

1 Answers1

4

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.

user1797612
  • 812
  • 6
  • 22
  • First of all, thanks for your reply .. I tried this but I found an error while opening the generated xcode project "project can't be opened as it failed to parse the project file" from the cmake GUI, i think that the generation step is very short and has some error but i can't know why .. can you please tell me where can i find the source code folder exactly ? as I think it's my problem – Ahmed Saad Jan 09 '13 at 16:38
  • 1
    I reached to this error after fixing the first error -------------------------------------------------- /Applications/CMake 2.8-10.app/Contents/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (message): no suitable type found Call Stack (most recent call first): CMakeLists.txt:171 (test_big_endian) --------------------------------------- any help ? – Ahmed Saad Jan 09 '13 at 18:51