0

I'm trying to build boost python using Python 3.2. I'm linking against python32.lib and libboost_python3-vc110-mt-gd-1_52.lib. I also definied BOOST_ALL_NO_LIB to disable boost's auto link feature.

Still I'm getting the following error:

fatal error LNK1104: cannot open file 'python27.lib'

How to tell boost to use Python 3.2?

1 Answer 1

2

Do you have multiple Python installations on your computer?

You probably have to create a user-config.jam file with content like this:

using python : 3.2 : C:\Path\To\Python\python.exe ;

See: http://www.boost.org/doc/libs/1_53_0/libs/python/doc/building.html#configuring-boost-build

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.