Boost logo

Boost :

From: Mark Rowe (bdash_at_[hidden])
Date: 2002-10-15 06:19:20


Hello,

I was thinking of moving an existing project using SWIG over to
boost::python now that version two is out. When i attempt to compile
boost::python, i get many errors, all relating to 'template with C
linkage'.

A small snippet of the build logs follows:

[mark:libs/python/build] mark% bjam -sTOOLS=gcc -sPYTHON_ROOT=/sw
...found 932 targets...
...updating 54 targets...
gcc-C++-action
../../../libs/python/build/bin/libboost_python.dylib/gcc/debug/runtime-link-dynamic/shared-linkable-true/list.o
In file included from
/Users/mark/boost_1_29_0/boost/python/object_core.hpp:9,
                 from
/Users/mark/boost_1_29_0/boost/python/object.hpp:9,
                 from /Users/mark/boost_1_29_0/boost/python/list.hpp:9,
                 from ../src/list.cpp:6:
/Users/mark/boost_1_29_0/boost/type.hpp:15: template with C linkage

I am running Mac OS X (10.1.5), with the April 2002 Developer tools
installed. Any help would be apreciated.

Thanks,
Mark Rowe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk