开发者

boost python version

开发者 https://www.devze.com 2022-12-26 14:49 出处:网络
I\'m trying to use boost.python library in a C++ project (Windows + VS9) but it always tries to link against pyton25.lib.

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

Is it possibl开发者_开发知识库e to link with version 2.6.x of python?

thanks


You need to recompile boost-python library pointing Boost.Build to needed python version. P.S. This heals a problem of undefined references while linking with library needed. I beleive you've already turned of autolinking.


You could try putting -lpython26 when linking

0

精彩评论

暂无评论...
验证码 换一张
取 消