simed
12-03-2013 21:02:03
I did a clean build of MyGUI today and gave it my boost path, thinking this was what I normally did. It caused a bunch of problems... all the editor/demo projects are giving linker errors like:
My research suggests this is due to "boost autolinking" and I saw Ogre defines BOOST_ALL_NO_LIB which according to StackOverflow is the answer. But I don't really understand what's going on. I looked at my old MyGUI builds and I never enabled boost after all, even though Ogre is using boost, so I guess I should just do that. But then I get an error like:
Performing Pre-Link Event...The funny thing is, I can find NO reference to 'libboost_thread-vc90-mt-1_44.lib' in the .vcproj file.
Linking...
LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc90-mt-1_44.lib'
My research suggests this is due to "boost autolinking" and I saw Ogre defines BOOST_ALL_NO_LIB which according to StackOverflow is the answer. But I don't really understand what's going on. I looked at my old MyGUI builds and I never enabled boost after all, even though Ogre is using boost, so I guess I should just do that. But then I get an error like:
3>c:\programming\ogre3d\ogre_src_v1-8-1\build\sdk\include\ogre\threading\OgreThreadHeadersBoost.h(37) : fatal error C1083: Cannot open include file: 'boost/thread/tss.hpp': No such file or directory