Boost logo

Boost Users :

From: Nat Goodspeed (ngoodspeed_at_[hidden])
Date: 2005-11-08 21:36:27


> -----Original Message-----
> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
> bounces_at_[hidden]] On Behalf Of Noel Yap
> Sent: Tuesday, November 08, 2005 9:14 PM
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] boost::python and Python 2.4
>
> I see the problem. Since the location of pyconfig.h depends upon
> which compiler was used, it's not located in the same directory as the
> rest of the Python header files.

[Nat] ? Sorry, I don't understand you at all. On my Windows system I
installed Python 2.3 into the default directory, c:\Python23. Likewise
Python 2.4 is installed in c:\Python24. The only pyconfig.h files on my
system are in 'include' subdirectories of those two directories. They
don't seem to be in compiler-dependent locations, and those 'include'
subdirs ARE where 300+ other Python header files live.

It's worth noting that we build the Boost libraries we use as MSVC 7.1
projects. Those projects (and others) look for a PYTHONDIR environment
variable whose value used to be c:\Python23 and is now c:\Python24.
 
> I've tried passing a ':'-separated path as PYTHON_INCLUDES, but that
> doesn't work. Anyone have any thoughts on this? I suppose I /could/
> hack around this by using symlinks, but I'd rather find a less hacky
> solution.

[Nat] So, maybe the reason I don't understand the problem you're having
is because you're on a different system with a different compiler.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net