[Qgis-developer] Building universal binary on Leopard for Tiger

William Kyngesburye woklist at kyngchaos.com
Wed Apr 30 00:06:54 EDT 2008

On Apr 29, 2008, at 10:57 PM, Gary Sherman wrote:

> On Apr 29, 2008, at 7:37 PM, Tom Elwertowski wrote:
>> This appears to be a CMake bug in the root CMakeLists.txt caused by  
>> If you add the prefix /Developer/SDKs/MacOSX10.4u.sdk to the path
>> APP_SERVICES_LIBRARY:FILEPATH=/System/Library/Frameworks/ 
>> ApplicationServices.framework
>> in CMakeCache.txt, the IOKit header errors go away. CMake adds the  
>> path to CXX_FLAGS using -F; this seems to turn the boot /System/ 
>> Library into another directory to search before the -sysroot paths.
> By adding the prefix do you mean the line should look like:
> APP_SERVICES_LIBRARY:FILEPATH=/Developer/SDKs/MacOSX10.4u.sdk/System/ 
> Library/Frameworks/ApplicationServices.framework
> or ??
Ack!  This may seem logical, but that's what the -isysroot flag  
(CMAKE_OSX_SYSROOT) takes care of behind the scenes.  You may just end  
up with GCC looking for headers in /Developer/SDKs/MacOSX10.4u.sdk/ 
ApplicationServices.framework/Headers, and still fail.

> -gary

So, did the symlink for /usr/local/qgis_universal_deps in the SDK not  

William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>

"History is an illusion caused by the passage of time, and time is an  
illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy

More information about the Qgis-developer mailing list