开发者

boost python version

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜