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

Gary Sherman sherman at mrcc.com
Sat Apr 26 17:44:34 EDT 2008


Mac gurus,
I'm trying to build a universal binary for QGIS that will run on both  
Leopard and Tiger. If I build using the 10.5 SDK it doesn't run on  
Tiger. If I attempt to build using the 10.4 SDK, the build fails with:

/System/Library/Frameworks/IOKit.framework/Headers/ 
OSMessageNotification.h:85: error: ‘io_user_reference_t’ was not  
declared in this scope
/System/Library/Frameworks/IOKit.framework/Headers/ 
OSMessageNotification.h:87: error: ‘io_user_reference_t’ does not name  
a type
/System/Library/Frameworks/IOKit.framework/Headers/ 
OSMessageNotification.h:92: error: ‘OSAsyncReference64’ does not name  
a type
/System/Library/Frameworks/IOKit.framework/Headers/ 
OSMessageNotification.h:103: error: ‘io_user_reference_t’ does not  
name a type
/System/Library/Frameworks/IOKit.framework/Headers/ 
OSMessageNotification.h:85: error: ‘io_user_reference_t’ was not  
declared in this scope
/System/Library/Frameworks/IOKit.framework/Headers/ 
OSMessageNotification.h:87: error: ‘io_user_reference_t’ does not name  
a type
/System/Library/Frameworks/IOKit.framework/Headers/ 
OSMessageNotification.h:92: error: ‘OSAsyncReference64’ does not name  
a type
/System/Library/Frameworks/IOKit.framework/Headers/ 
OSMessageNotification.h:103: error: ‘io_user_reference_t’ does not  
name a type
lipo: can't figure out the architecture type of: /var/folders/v-/ 
v-30qCWIFX0akWgqelP9lk+++TI/-Tmp-//ccKA5jqP.out


I've passed -mmacosx-version-min=10.4  as a CXX flag during the  
configuration process.

Ideas?

-gary
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Gary Sherman
Chair, QGIS Project Steering Committee
-Micro Resources: http://mrcc.com
   *Geospatial Hosting
   *Web Site Hosting
-Desktop GIS Book:
   *http://desktopgisbook.com
"We work virtually everywhere"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-








More information about the Qgis-developer mailing list