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


[osg-users] Cocoa, ImageIO help needed

2010-03-30 Thread stefan nortd
Hi,

I am trying to move to imageio and cocoa but am still unclear how to do this.  
I just downloaded the 2.8.3-rc2 and build everything fine with imageio and 
cocoa enabled. Only when I try to use the new libs with my apps I get a linker 
error that indicates that Carbon is still configured:


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




Am I missing a definition or something?

Help appreciated,
Best,
stefan

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





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