[C++-sig] wrap_python.hpp errors on Mac OS X
James Mastro
jmastro at rochester.rr.com
Fri Apr 9 02:34:37 CEST 2004
I'm trying to use Boost.Python on Mac OS X 10.3.3, with boost 1.31.0. I
finally got module building working right, and my Python objects can
call into some wrapped C++ libraries of mine.
But, I want to be able to go the other way, too. Have my C++ code call
methods on the Python objects I create. But when I try to include
<boost/python.hpp>, I get errors in the wrap_python.hpp file. The
errors are:
patchlevel.h: No such file or directory
Python.h: No such file or directory
The Python.h error I can easily fix. For the other, just commenting out
the include of patchlevel.h seemed like a grand idea. But then I start
getting compile errors in convertible.hpp (which might be happening
even with my hacking in patchlevel.h) The boost.python site says it's
known to work on 10.3, but it's not for me. Any ideas? I can use the
Python/C API, of course, but Boost.Python looks much easier.
-jim
More information about the Cplusplus-sig
mailing list