Re: [osg-users] Cocoa, ImageIO help needed

2010-03-31 Thread stefan nortd
Hi stephan,

Nice, this totally took care of the Carbon referencing issues. I ran into a 
couple of Cocoa related linking errors but only because I forgot to link to the 
cocoa framework. Just a heads up for people following this path.


Thank you!
stefan

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=26290#26290





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Cocoa, ImageIO help needed

2010-03-30 Thread Stephan Huber
Am 30.03.10 17:27, schrieb stefan nortd:
 Code:
 
   _graphicswindow_Carbon, referenced from:
   _graphicswindow_Carbon$non_lazy_ptr in main.o
   _graphicswindow_Carbon$non_lazy_ptr in MyApp.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 


are you using static libs? I haven't tested the 2.8x branch with static
libs and there seems that USE_GRAPICSWINDOW is hardcoded to
GraphicsWindowCarbon. Replace your usage of USE_GRAPHICSWINDOW with

#if defined(__APPLE__)
USE_GRAPICSWINDOW_IMPLEMENTATION(Cocoa)
#else
USE_GRAPHICSWINDOW()
#endif

I am out of ideas how to fix this simple and fast.

cheers,
Stephan
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org