[C++-sig] using BOOST_PYTHON_STATIC_LIB
Achim Domma (ProCoders)
domma at procoders.net
Sun May 25 12:59:06 CEST 2003
Hello,
is it still possible to use boost_python as static library? In config.hpp I
found BOOST_PYTHON_STATIC_LIB, but it seems not to be mentioned anywhere in
the documentation. I defined it like this in my Jamfile:
<vc7><*><define>BOOST_PYTHON_STATIC_LIB
Bjam is linking with libboost_python.lib then, but I get a lot of unresolved
externals, all refering to boost.python functions using
__declspec(dllimport) which seems wrong to me. Is it my fault or do I have
to use the shared library?
regards,
Achim
More information about the Cplusplus-sig
mailing list