Qt5 and Ogre3D
-
Hi all!
I know that many threads are already talking about that, but I still didn't find any solution... And I know i'm close to it.
I made a very simple Qt Project to run an Ogre3D rendered frame through a Qt Widget. I made all I could, and the only thing that misses is including Boost, and I don't know how to do that in the .pro file.
My error messages are:
@C:\OgreSDK\boost\boost\system\error_code.hpp:214: erreur : undefined reference toboost::system::generic_category()' C:\OgreSDK\boost\boost\system\error_code.hpp:216: erreur : undefined reference to
boost::system::system_category()'@According to my researches, those errors are dues to a non-linked dll... If someone is able to give me some help, I'll be grateful :)
Best regards
Nihilivin
-
Hi and welcome to devnet,
You need to link to the boost system library, add
@LIBS += -lboost_system@
To your pro file. If it complains it can't be found add
@LIBS += -LC:/OgreSDK/path/to/boost/lib_files@
Hope it helps
-
Strange, did you try doing a complete rebuild ?
-
-
You should use forward slashes for all platforms when using Qt.
Can you check the various boost libraries to see if any contains that missing symbol ?
-
-
Looks like static library, try to link to it directly