
17 Jun
2011
17 Jun
'11
1:17 a.m.
At Wed, 27 Apr 2011 23:41:53 -0400, Vivek wrote:
I compiled and installed boost 1.46.1 from source recently using:
$ ./bootstrap.sh --with-python-version=3.1 $ sudo ./bjam -j4 install
I then created the following trivial python extension:
#include
struct mystruct { int i; };
BOOST_PYTHON_MODULE(test) { using namespace boost::python; class_<mystruct>("Mystruct") .def_readwrite("i", &mystruct::i) ; }
and compiled and ran it, but got an undefined symbol error:
Vivek, If this is still an issue for you, I'd appreciate it if you could file a bug in the Boost Trac at https://svn.boost.org/trac/boost Thanks, -- Dave Abrahams BoostPro Computing http://www.boostpro.com