Robert Osfield schrieb:
> Hi All,
>
> Hiccups under OSX/Cmake and Windows/FreeType builds have held back
> making 2.4 today, I haven't yet received any update on the
> Windows/FreeType but on the OSX/Cmake side we "may" have a bit of
> progress.  However, this progress was made via tweaks to the core osg
> libs' CMakeLists.txt, while in theory nothing should change on other
> platforms, we cannot assume this.  So far my linux build looks OK, and
> Stephan suggests that the changes should work under OSX, but under
> other platforms we need feedback, in particular Windows as this is
> very different in needs to unices.

OS X cmake with unix makefiles does not compile when using the 10.4u sdk 
(on 10.5):

[ 17%] Building CXX object src/osgDB/CMakeFiles/osgDB.dir/FileUtils.o
/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/FI/FIKjn7B7E5Ki2YvG6bwbwU+++TM/-Tmp-//ccDqI0iR.out
make[2]: *** [src/osgDB/CMakeFiles/osgDB.dir/FileUtils.o] Error 1
make[1]: *** [src/osgDB/CMakeFiles/osgDB.dir/all] Error 2
make: *** [all] Error 2


I suspect the include of AvailabilityMacros.h in FileUtils.cpp, where a 
wrong version (from the 10.5 sdk) is picked up. Don't know how to fix 
this, this is not an issue, when using cmake for Xcode.

Still compiling the other variations ...

cheers,
Stephan



_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to