Boost logo

Boost Users :

Subject: Re: [Boost-users] Newbie: Building boost with Visual Studio 2008
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-07-07 12:02:14


David Aldrich wrote:
> When I build it I get error:
> LINK : fatal error LNK1104: cannot open file 'boost_python-vc90-mt-gd-1_43.lib'
> Why does the linker want a library file beginning 'boost_python' when bjam has generated library files beginning 'libboost_python' ?

The linker is looking for the import library for a DLL.

You can build this with
bjam --with-python link=shared
or you can compile your project with

(Boost.Python uses different auto-link conventions from the
rest of Boost)

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at