Boost logo

Boost :

From: pbienst (Peter.Bienstman_at_[hidden])
Date: 2002-02-05 16:36:54


> 2. You're still using the old codebase. The new codebase doesn't
> include a sourcefile called extension_class.cpp. If you used Jam, you
> started the build from the wrong directory to use the new codebase.

You're right, I didn't use the jam file.

However, if I do from boost/libs/python

jam -sTOOLS="gcc" -sBOOST_ROOT=/home/pbienst/boost_cvs/boost/
-sPYTHON_VERSION=2.1 -sPYTHON_ROOT=/home/pbienst/local/

I get errors like

src/object/class.cpp:48: `Py_TPFLAGS_HAVE_GC' was not declared in this scope
src/object/class.cpp:49: `Py_TPFLAGS_BASETYPE' was not declared in this scope
src/object/class.cpp:69: excess elements in aggregate initializer
src/object/class.cpp: In function `boost::python::ref
   boost::python::objects::class_metatype()':
src/object/class.cpp:74: `struct _typeobject' has no member named `tp_dict'
src/object/class.cpp:77: `struct _typeobject' has no member named `tp_base'
src/object/class.cpp:78: `PyType_Ready' undeclared (first use this function)

(also with the intel compiler for that matter ;-) )

Am I doing something wrong?

I'd like to give feedback on the new version..

Cheers,

Peter


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