Hello Steven,
White Steven A wrote:
> I am working on compiling OpenSG2 for OS 10.5 and I have run across the
> following error.
>
> Linking CXX shared library ../../bin/libOSGDrawable.dylib
> [ 51%] Built target OSGDrawable
> Scanning dependencies of target OSGWindowCarbon
> [ 51%] Building CXX object
> Build/OSGWindowCarbon/CMakeFiles/OSGWindowCarbon.dir/OSGCarbonWindow.cpp.o
> /Users/~~~~//volcano/opensg/Source/WindowSystem/Carbon/OSGCarbonWindow.cpp:
> In member function ‘virtual void OSG::CarbonWindow::activate()’:
> /Users/~~~~//volcano/opensg/Source/WindowSystem/Carbon/OSGCarbonWindow.cpp:131:
> error: ‘_sfPartitionDrawMode’ was not declared in this scope
> /Users/~~~~//volcano/opensg/Source/WindowSystem/Carbon/OSGCarbonWindow.cpp:
> In member function ‘virtual void OSG::CarbonWindow::deactivate()’:
> /Users/~~~~//volcano/opensg/Source/WindowSystem/Carbon/OSGCarbonWindow.cpp:141:
> error: ‘_sfPartitionDrawMode’ was not declared in this scope
> /Users/~~~~//volcano/opensg/Source/WindowSystem/Carbon/OSGCarbonWindow.cpp:
> In member function ‘virtual bool OSG::CarbonWindow::swap()’:
> /Users/~~~~/volcano/opensg/Source/WindowSystem/Carbon/OSGCarbonWindow.cpp:151:
> error: ‘_sfPartitionDrawMode’ was not declared in this scope
> make[2]: ***
> [Build/OSGWindowCarbon/CMakeFiles/OSGWindowCarbon.dir/OSGCarbonWindow.cpp.o]
> Error 1
> make[1]: *** [Build/OSGWindowCarbon/CMakeFiles/OSGWindowCarbon.dir/all]
> Error 2
> make: *** [all] Error 2
>
> Does anyone have any experience with compiling OpenSG2 on 10.5 or possibly
> this error on any other version of XCode?
this particular error was because of a missing rename of the field
(_sfPartitionDrawMode -> _sfDrawMode) in the CarbonWindow, it was fixed
in r2052.
Cheers,
Carsten
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users