holocronweaver / ogre-procedural-old

Automatically exported from code.google.com/p/ogre-procedural
0 stars 0 forks source link

Cannot use an Ogre built against boost #59

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If you try to build OgreProcedural against an Ogre which uses Boost (optional 
dependency), it will complain it cannot find boost headers.
We should determine if it's the case for every lib built against Ogre, if 
there's a known workaround, and if it also happens with other optional deps..

Original issue reported on code.google.com by michael.broutin@gmail.com on 11 May 2011 at 9:25

GoogleCodeExporter commented 8 years ago
This is plain wrong. I could build it nicely against an Ogre built with Boost 
(Arch Linux x86_64). On Windows, you likely don't have Boost in a global 
include path which is why it complains. The solution is not to disable Boost 
but to give it the correct include paths if you use Boost. CMake already 
includes FindBoost for you to use for which you can set BOOST_ROOT.

Original comment by svenst...@gmail.com on 24 Jul 2011 at 8:02

GoogleCodeExporter commented 8 years ago
Fixed with only minor tweaking (as suggested, I'm now using FindBoost and use 
Boost_INCLUDE_DIR and Boost_LIBRARY_DIRS)

Original comment by michael.broutin@gmail.com on 16 Aug 2011 at 10:22