Unable to compile trunk against ogre 1.7 branch w/boost

thegeek

18-02-2010 00:01:52

I'm trying to compile latest mygui trunk against ogre 1.7 branch with boost enabled on windows.
I can build ogre just fine after configuring all the proper directories(dependencies, boost etc).
However after having used cmake to configure mygui I get an error about missing boost when i try to compile...
How do i "tell" the mygui cmake where to find boost?
(and yes I did add OGRE_CONFIG_THREAD_PROVIDER like the previous thread said)..

ZealAddon

18-02-2010 01:13:57

Are you saying cmake is failing? Cmake shouldnt need boost to generate your project. If you got cmake to create your project, and its the project itself that wont build without boost, you may have to manually add the boost include directories to your 'Additional include directories' (I had to add them manually).

thegeek

18-02-2010 01:35:43

Yes I don't have a problem with compiling, though I have to add the include directories manually.. which is quite frankly a big pain in the ass... which is why I posted in the first place;P
The issue is that cmake does not build project files that reference the boost paths, and there is no way to tell cmake to add these paths.

ZealAddon

18-02-2010 01:56:00

The cmake scripts need a lot of work no doubt. There are several things you need to manually include when building for mac/iphone in addition to boost.