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
4

1 回答 1

4

这是一个可以帮助你的指南。

简而言之,您的问题是您尚未配置构建,您可以生成makefile并配置您的构建cmake,链接指南中描述了所有内容。

于 2013-01-09T11:57:09.717 回答