Hi Eric, Thanks for the info. With the bundles as they built from the present OSX command line build, how does one go about running these apps? We've tried running from the console as well as clicking on them but none run.
As a hack we tried switch osgviewer to build as a command line app and it run just fine. I do recall having problems with focus on osgProducer/Producer/AGL based apps, but this quick experiment doesn't seem haunted by any of this. Could it be that Stephan has indeed already added in the "magic incantation" to the GraphicsWindowCarbon, and it also OSX apps to work like any other operating system, carzy as that might be. Robert. On 6/4/07, E. Wing <[EMAIL PROTECTED]> wrote:
> Hi, > > Does anyone know how to set up CMake under Mac OS X so that it > doesn't make .app bundles out of the executable files? > > Thanks for everything, > > Martin > Unless you are using the X11 backend, 'Don't Touch!'. Generally speaking (not including X11), if you do not build a bundled .app for a windowed application on OS X, you will suffer bizarre focus problems. I think the GraphicsWindowCarbon implementation has a magic (undocumented?) incantation that can side step the problem, but I say don't use this as an excuse to not build a proper .app, otherwise you are begging for problems and confusion. Please trust me on this one. (And once you get into the mentally of thinking about how to actually ship a binary to end users, you'll find you don't want to live without the .app bundle anyway.) The current build system will not make .app bundles out of non-windowed (command-line only) applications. Supporting the X11 backend is also on my todo list, but there are a lot of other more critical things that should be done first. Thanks, Eric _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
