[C++-sig] Re: boost.python with cygwin

David Abrahams dave at boost-consulting.com
Tue Sep 14 16:31:55 CEST 2004


"Achim Domma" <achim.domma at syynx.de> writes:

> Hi,
>
> I try to compile boost.python using cygwin without success. I have an
> up-to-date cygwin installation and a python 2.3.4 which I have compiled and
> installed under cygwin. I set PYTHON_VERSION to 2.3 and
> PYTHON_ROOT=/usr/local, which seems to be ok. If I set PYTHON_ROOT to
> another value, bjam complains as usual.
>
> Excecuting bjam I get errors like this:
>
> /home/..../detail/wrap_python.hpp:41:24: patchlevel.h : No such file or
> directory
> /home/..../detail/wrap_python.hpp:121:21: Python.h : No such file or
> directory
>
> Looks like the include pathes are wrong, but why? Any idea?

I don't know; it's working perfectly for me.  Do you have a
non-standard Python installation?

What do you see in /usr/local/include/python2.3/
??

You might have to set PYTHON_INCLUDES.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com




More information about the Cplusplus-sig mailing list