I'm looking for some help on getting osgviewer working under OS X. Specifically, osgviewer doesn't open a window and display the specified osg (cow.osg).
I've read through the FAQ on this question and have set DYNLD_BIND_AT_LAUNCH environment variable. I've also set OSG_NOTIFY_LEVEL=INFO and now OSG_NOTIFY_LEVEL=DEBUG but don't see anything obvious (output below). It looks like it is loading the .osg file, but then just hangs w/o an error. I installed OSG via MacPorts. Debug output indicates that it's finding the libraries and plugins. I'm brand new to OSG. Any suggestions you might have on where to go next in the debugging process would be very helpful and welcome. Regards, Craig ----- Here's my environment: $ env M_PROGRAM=Apple_Terminal TERM=xterm-256color SHELL=/bin/bash CLICOLOR=1 OSG_NOTIFY_LEVEL=DEBUG TMPDIR=/var/folders/v9/bl613v9x5zl88dz2903f12g80000gn/T/ Apple_PubSub_Socket_Render=/tmp/launch-gQxK5Z/Render TERM_PROGRAM_VERSION=309 OLDPWD=/Users/craig TERM_SESSION_ID=EF6EC728-4691-44D5-8B23-4CA05679414F USER=craig DYLD_BIND_AT_LAUNCH=1 COMMAND_MODE=unix2003 SSH_AUTH_SOCK=/tmp/launch-HgX6z2/Listeners __CF_USER_TEXT_ENCODING=0x1F5:0:0 Apple_Ubiquity_Message=/tmp/launch-kdkoC6/Apple_Ubiquity_Message LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx PATH=/Users/craig/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin PWD=/Users/craig/OpenSceneGraph-Data JAVA_HOME=/Library/java/home LANG=en_US.UTF-8 PS1=\e[0;34m\h \W> \e[0m SHLVL=1 HOME=/Users/craig LOGNAME=craig SECURITYSESSIONID=186a5 _=/usr/bin/env ---- Here's the output of the osgviewer command: $ osgviewer --display MONITOR cow.osg CullSettings::readEnvironmentalVariables() DatabasePager::addDatabaseThread() HANDLE_NON_HTTP DatabasePager::addDatabaseThread() HANDLE_ONLY_HTTP Render::Render() 0x7fa8eab13ca0 CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() ShaderComposer::ShaderComposer() 0x7fa8eab15000 CullSettings::readEnvironmentalVariables() ShaderComposer::ShaderComposer() 0x7fa8eab16eb0 _availableQueue.size()=2 DriveManipulator::_height set to ==1.5 getCoordinateFrame(0 -1 0) no coordinate system found, using default orientation View::requestWarpPointer(0,0) View::requestWarpPointer failed no camera containing pointer View::requestWarpPointer(0,0) View::requestWarpPointer failed no camera containing pointer getCoordinateFrame(0 0 0) no coordinate system found, using default orientation getCoordinateFrame(0 -1 0) no coordinate system found, using default orientation CullSettings::readEnvironmentalVariables() Render::Render() 0x7fa8eab1cc70 CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() ShaderComposer::ShaderComposer() 0x7fa8eab1e120 ShaderComposer::ShaderComposer() 0x7fa8eab1fb00 _availableQueue.size()=2 CullSettings::readEnvironmentalVariables() Render::Render() 0x7fa8eab221b0 CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() ShaderComposer::ShaderComposer() 0x7fa8eab23640 ShaderComposer::ShaderComposer() 0x7fa8eab25020 _availableQueue.size()=2 itr='/opt/local/lib/osgPlugins-3.0.1' FindFileInPath() : trying /opt/local/lib/osgPlugins-3.0.1/osgPlugins-3.0.1/osgdb_osg.so ... itr='/Users/craig/Library/Application Support/OpenSceneGraph/PlugIns' FindFileInPath() : trying /Users/craig/Library/Application Support/OpenSceneGraph/PlugIns/osgPlugins-3.0.1/osgdb_osg.so ... itr='/Library/Application Support/OpenSceneGraph/PlugIns' FindFileInPath() : trying /Library/Application Support/OpenSceneGraph/PlugIns/osgPlugins-3.0.1/osgdb_osg.so ... itr='/opt/local/lib/osgPlugins-3.0.1' FindFileInPath() : trying /opt/local/lib/osgPlugins-3.0.1/osgdb_osg.so ... FindFileInPath() : USING /opt/local/lib/osgPlugins-3.0.1/osgdb_osg.so Opened DynamicLibrary osgPlugins-3.0.1/osgdb_osg.so FindFileInPath(cow.osg): returning cow.osg Craig Miller http://spatialminds.com _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

