IamusTheFox
IamusTheFox

Reputation: 35

Boost.Python not the .lib

I think I have built it properly. I have other boost libraries working. I am getting the following error

Error: SNK1104 cannot open file 'boost_pythonPY_MAJOR_VERSIONPY_MINOR_VERSION-vc141-mt-x32-1_67.lib'.

I'm on windows using Visual Studios, with boost 1.67

Upvotes: 0

Views: 336

Answers (1)

kilojoules
kilojoules

Reputation: 10073

boost-python is notoriously hard to install. Make sure you specify with-python when building from source. Something like this:

Download and configure boost

cd boost_1_55_0\tools\build\v2\engine
build.bat mingw

Add this to your path

C:\boost_1_55_0\tools\build\v2\engine\bin.ntx86

Build from source

bjam toolset=gcc --with-python link=shared

Add this to your path

C:\boost_1_55_0\stage\lib

Upvotes: 1

Related Questions