Hi, I did a test with current svn and with the following settings:
> OSG_WINDOWING_SYSTEM to "Cocoa" > OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX to "imageio" > CMAKE_OSX_SYSROOT = /Developer/SDKs/MacOSX10.6.sdk it compiled fine and osgviewer is working as expected even in 64bit. What version of osg are you trying to build? Are the GraphcisWindowCocoa-files part of the xcode-project? cheers, Stephan Am 11.11.10 20:13, schrieb Luigi Calori: > Hi everybody, I' m trying to build OSG under > > Mac OS X 10.6.4 using 64 bit Xcode based build (cmake generated) > > The compilation goes well apart from QT problems. > > when running osgviewer I got the same error reported in this thread: > > View::setUpViewAcrossAllScreens() : Error, no WindowSystemInterface > available, cannot create windows. > Viewer::realize() - failed to set up any windows > View::setUpViewAcrossAllScreens() : Error, no WindowSystemInterface > available, cannot create windows. > Viewer::realize() - failed to set up any windows > > I set up cmake as suggested: > > OSG_WINDOWING_SYSTEM to "Cocoa" and > OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX to "imageio" > > Someone has succeeded in this? > > I am really a complete newbie on OSX ... sigh > > I had some system reporting: > > System Version: Mac OS X 10.6.4 (10F569) > Kernel Version: Darwin 10.4.0 > Boot Volume: Macintosh HD 106 > Boot Mode: Normal > Computer Name: Luigi Calori’s MacBook > User Name: OSGVPlugin Devel (osgvplugin) > Secure Virtual Memory: Enabled > 64-bit Kernel and Extensions: No > > can the last line have something to do with the error? > > I thought snow leopard was ready for 64 development, do I need to set > something to allow running 64 bits app? > > Really thanks a lot in advance > > > > On 03/02/2010 17.38, Stephan Maximilian Huber wrote: >> Am 03.02.10 16:13, schrieb Butler, Lee Mr CIV USA USAMC: >>> I'm trying to get a good 64bit build on Snow Leopard. >>> >>> What I've done so far: >>> >>> Per some other forum comments, I've commented out the build of >>> quicktime components in CMakeLists.txt. >> No need for that, see below. >> >>> When running ccmake, I've set the architecture to x86_64. >>> >>> This resulted in a clean compile, but osgviewer could not run. It >>> complained it couldn't find any windowing system to use. >>> >>> Can anyone tell me what steps are necessary? I've got an application >>> I really need to get running 64bit on the Mac. It builds and works >>> fine elsewhere or in 32bit mode on the Mac. >> >> Make sure you have set >> OSG_WINDOWING_SYSTEM to "Cocoa" and >> OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX to "imageio" in cmake, this should take >> care of everything. Generate your project and rebuild. >> >> >> cheers, >> Stephan >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

