[Bf-committers] cmake Xcode question

Chris Want cwant at ualberta.ca
Fri Dec 1 21:51:54 CET 2006


trip somewhere wrote:
> quick cmake question
> ​Xcode is looking for Python.h, my .h file is here
> /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/ 
> 
> but no matter how I config it it wont see it
> 
> Of these, what do I edit to fix this ?
> //Path to a program.
> PYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python2.5
> 
> PYTHON_INC:STRING=/Library/Frameworks/Python.framework/Headers
> 
> //Path to a file.
> PYTHON_INCLUDE_PATH:PATH=/Library/Frameworks/Python.framework/Headers
> 
> 
> Also since it is in xcode, why is their no zero linking ??

I'm not familiar with your setup, but I would guess that if the python
executable is in /usr/local/bin, then the header you will want will be 
in /usr/local/include, and the python library will be in /usr/local/lib.
(So, don't use that framework stuff in your cmake config).

Chris



More information about the Bf-committers mailing list