Hi,
I'm having issues getting cmake to recognize the ogre libs when building a project. In installing Ogre, I moved the includes and libs into /usr/local as such:
/usr/local/lib/OGRE/iphoneos/Debug/libOgreMainStatic.a
/usr/local/include/OGRE/include/Ogre.h
/usr/local/include/boost_1_53_1/boost/asio.hpp
/usr/local/lib/boost_1_53_1/ios/libboost_atomic.a
I get the error:
Unable to find the requested Boost libraries.
Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:21 (find_package)
-- Looking for OGRE...
-- checking for module 'OGRE'
-- package 'OGRE' not found
-- Could not locate OGRE
CMake Error at cmake/FindPkgMacros.cmake:117 (message):
Required library OGRE not found! Install the library (including dev
packages) and try again. If the library is already installed, set the
missing variables manually in cmake.
Call Stack (most recent call first):
cmake/FindOGRE.cmake:215 (findpkg_finish)
CMakeLists.txt:27 (find_package)
Installing Ogre into /usr/local/
-
- Greenskin
- Posts: 100
- Joined: Wed Jan 25, 2012 7:50 pm
- x 1