Jump to content
  • Advertisement
Sign in to follow this  
Jnz86

boost:python

This topic is 4833 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

Hi, I have downloaded boost library and compiled it with bjam.(For projects I am use Microsoft Visual C++ 2003). I want to emmbed Python into my app, and i have trouble building dll. When i compile it says "unresolved external ...". The tutorials says i need to include a dependency to other project file(which is in boost/libs/python/build/VisualStudio. But, hell, i want my project to only depend on it's own. So what thing do you include when you build your boost::python projects? it's hard to explain, i hope i explained everything clear...

Share this post


Link to post
Share on other sites
Advertisement
I link to boost_python-vc71-mt.lib. Remember to also select the multithreaded DLL runtime.

Share this post


Link to post
Share on other sites
Quote:
Original post by Fruny
I link to boost_python-vc71-mt.lib. Remember to also select the multithreaded DLL runtime.


I cant find that lib in my boost dir. Do you get it by compiling boost::python libary or from elsewere?

Share this post


Link to post
Share on other sites
I had to build the dll from the project provided in the boost directory tree. I think I just compiled the project in boost/libs/python/build/VisualStudio and took the outputted dll. Now I just have that dll in my project directory and everything's a go. If it doesn't work I can send you mine if you want.

Share this post


Link to post
Share on other sites
perfectly_dark: it would be great if you could send me your DLL/example project file to JonasJnz@gmail.com :)

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!