Jump to content
  • Advertisement
Sign in to follow this  
FoxMulder900

Boost Python - unresolved externals in bjam

This topic is 3717 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I am currently working on a project using OGRE and Navi GUI. I am trying to expose a few of my classes to python so i can do some scripting. I was able to get boost and bjam set up with little problems. However when I try to run bjam on my project to expose the classes, I get 2 unresolved external symbols. I know they are both related to the Navi library but I have both the .libs and headers included. Here are my project settings in my Jamroot file: project : requirements <library>/boost/python//boost_python <library>"C:/OgreSDK/lib/OgreMain.lib" <library>"C:/OgreSDK/lib/OIS.lib" <library>"C:/OgreSDK/lib/EditableTerrainManager.lib" <library>"C:/Libs/Navi 1.61/Dependencies/win32/astral/lib/Astral.lib" <library>"C:/Libs/Navi 1.61/Navi/Lib/Navi.lib" <library>"C:/Documents and Settings/New user/Desktop/YEI3D/trunk/YEI3Dv2/releaselib/YEI3D.lib" <library>"C:/Libs/audiere-1.9.4-win32/lib/audiere.lib" <library>"C:/Libs/tinyxml/lib/tinyxml.lib" <library>"C:/Libs/Hydrax-v0.3/Hydrax/bin/release/Hydrax.lib" <library>"C:/Libs/PagedGeometry/lib/PagedGeometry.lib" <library>"C:/Libs/Caelum/trunk/Caelum/lib/release/caelum.lib" <library-path>"C:/OgreSDK/lib" <library-path>"C:/Program Files/boost/boost_1_35_0/lib" <library-path>"C:/Program Files/Microsoft Platform SDK for Windows Server 2003 R2/Lib" <include>"C:/Documents and Settings/New user/Desktop/YEI3D/trunk/YEI3Dv2/headers" <include>"C:/OgreSDK/include" <include>"C:/Libs/Navi 1.61/Navi/Include" <include>"C:/Libs/Navi 1.61/Dependencies/win32/astral/include" <include>"C:/Libs/etm-2.2/include" <include>"C:/Libs/Caelum/trunk/Caelum/main/include" <include>"C:/Libs/audiere-1.9.4-win32/include" <include>"C:/Libs/PagedGeometry/include" <include>"C:/Libs/Hydrax-v0.3/Hydrax/src/Hydrax" ; and Here are my errors when i try to run bjam: Navi.lib(NaviMouse.obj) : error LNK2001: unresolved external symbol __imp__ShowCursor@4 Astral.lib(BrowserWindowImpl.obj) : error LNK2001: unresolved external symbol __imp__GetParent@4 bin\msvc-8.0express\debug\threading-multi\pyYEI3D.pyd : fatal error LNK1120: 2 unresolved externals I am using the MSVC compiler, any suggestions would be greatly appreciated!

Share this post


Link to post
Share on other sites
Advertisement
You also need to link against user32.lib.

Also, for future reference, headers mean nothing to link errors.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!