Bruce Wheaton wrote:
On the Mac Xcode project, the Cocoa viewer works, but on the osgviewer and osgmovie targets, they don't run.

I've tried the Carbon 32-bit and Cocoa 32-bit versions.

I linked to Carbon, Cocoa, OpenGl and Quicktime Frameworks.
osgViewer, OpenThreads, osg, osgDB, osgText, osgUtil, osgGA Frameworks are copied into the bundle's Frameworks folder
All plugins are copied into the bundle's Plugins folder

But when the apps try to make a window, they fail with:

View::setUpViewAcrossAllScreens() : Error, no WindowSystemInterface available, cannot create windows.

As I recall, this used to be enough. Did the introduction of the Cocoa viewer change something? Is there an environment variable that needs to be set? Since I intend to make a Mac bundle, I'd rather not have any user installation steps.

Thanks for the issue report. I'm not encountering any such issues when I build with CMake / makefiles / gcc on OS X 10.5, and I have offline emails indicating this same build configuration works for 10.6. It seems to be XCode-only. Stephan Huber contributed the XCode project files, perhaps you two can work together to resolve the issue?

It'd be nice to have this resolved prior to release, so anything you guys can come up with would be greatly appreciated.====
--
  -Paul Martz      Skew Matrix Software
                   http://www.skew-matrix.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to