Upgrade python version

I am trying to use boost.python library in a C ++ project (Windows + VS9), but it always tries to link to pyton25.lib.

Can I associate python with version 2.6.x?

thanks

+2
source share
2 answers

You need to recompile the boost-python library by pointing Boost.Build to the correct python version. Postscript This heals the undefined link problem when linking to the required library. I believe that you have already disabled autorun.

+1
source

You can try putting -lpython26 at the link

0
source

Source: https://habr.com/ru/post/1444373/


All Articles