
7 Jul
2010
7 Jul
'10
4:02 p.m.
AMDG 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 -DBOOST_PYTHON_STATIC_LIB (Boost.Python uses different auto-link conventions from the rest of Boost) In Christ, Steven Watanabe