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

Gary Sherman sherman at mrcc.com
Sat Apr 26 20:33:19 EDT 2008


On Apr 26, 2008, at 4:01 PM, William Kyngesburye wrote:
> Did you try manually setting the SDK as in my config?  I have  
> noticed that automatic detection isn't explicit sometimes - it says  
> it detects the SDK but it doesn't actually add it to the compile  
> flags.


I did set it the same as you, even though it appeared to be detected.  
I compiled with "make VERBOSE=1".  Here is the failure -- doesn't  
happen until it tries to compile main:

[ 46%] Building CXX object src/app/CMakeFiles/qgis.dir/main.o
/usr/bin/c++   -arch i386 -arch ppc -isysroot /Developer/SDKs/ 
MacOSX10.4u.sdk   -I/usr/local/qgis_universal_deps/include -I/usr/ 
local/qgis_universal_deps/include/Qt3Support -I/usr/local/ 
qgis_universal_deps/include/QtSvg -I/usr/local/qgis_universal_deps/ 
include/QtGui -I/usr/local/qgis_universal_deps/include/QtXml -I/usr/ 
local/qgis_universal_deps/include/QtSql -I/usr/local/ 
qgis_universal_deps/include/QtNetwork -I/usr/local/qgis_universal_deps/ 
include/QtCore -I/Users/gsherman/development/qgis_09/build_universal - 
I/Users/gsherman/development/qgis_09/src/app -I/Users/gsherman/ 
development/qgis_09/src/app/composer -I/Users/gsherman/development/ 
qgis_09/src/app/legend -I/Users/gsherman/development/qgis_09/ 
build_universal/src/app -I/Users/gsherman/development/qgis_09/ 
build_universal/src/app/../ui -I/Users/gsherman/development/qgis_09/ 
src/app/../core -I/Users/gsherman/development/qgis_09/src/app/../core/ 
raster -I/Users/gsherman/development/qgis_09/src/app/../core/renderer - 
I/Users/gsherman/development/qgis_09/src/app/../core/symbology -I/ 
Users/gsherman/development/qgis_09/src/app/../gui -I/Users/gsherman/ 
development/qgis_09/src/app/../plugins   -F/usr/local/ 
qgis_universal_deps/lib -L/usr/local/qgis_universal_deps/lib - 
DQT_SHARED -DQT_3SUPPORT_LIB -DQT3_SUPPORT -DQT_SVG_LIB -DQT_GUI_LIB - 
DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DCORE_EXPORT=  
-DGUI_EXPORT= -F/usr/local/qgis_universal_deps/lib -F/System/Library/ 
Frameworks  -o src/app/CMakeFiles/qgis.dir/main.o -c /Users/gsherman/ 
development/qgis_09/src/app/main.cpp
/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-//cctkBcmL.out
make[2]: *** [src/app/CMakeFiles/qgis.dir/main.o] Error 1

I assume there must be something in the main method that pull in the  
IOKit headers, but I don't know why it fails.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
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