[Pythonmac-SIG] locating Python.h
jf at ai.univ-paris8.fr
Mon May 19 14:43:44 CEST 2008
>At 13:43 -0700 2008/05/14, Michael VanLandingham wrote:
>>If you're not using Xcode, and instead are using gcc on the command line or makefile, then you need to add the right flags so that it can find the framework, etc.
>The Python framework that ships with OS X is already in the search path, so all you'd need is
> -framework Python
>added to your GCC command line. I'm using Python 2.5.2 at the moment, which is built as a framework at /opt/local/lib/Python.framework, so I use
> -F/opt/local/lib -framework Python
>and I'm good.
Many thanks to Michael VanLandingham and Boyd Waters for the help: your advices worked nicely, both from Xcode and from gcc as command.
Jym Feat ~ Paris FR 75018
More information about the Pythonmac-SIG