Re: [osg-users] Could not find plugin on Mac OS X 10.6.2
Now, i find the answer for my problem. I`ve lost so many time to install OpenSceneGraph on my system, so i vorget i have two versions now. The first version is in OS X style with Frameworks, the other in unix style. My Problem was i`ve used both. The OS X Version does not need ".so" files (see the Quick Start Guide) Now i used only the Unix style and the project finds the plugins and than it crash. Terminal *** ... ... 1266 2955980800 ./server/channel.cpp:336 1075 Channel viewport update: [ 0 0 640 400 ]:[ 0 0 1 1 ] Warping Shader enabled! CullSettings::readEnvironmentalVariables() DatabasePager::addDatabaseThread() HANDLE_NON_HTTP DatabasePager::addDatabaseThread() HANDLE_ONLY_HTTP CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() GraphicsContext::registerGraphicsContext 0x1231c010 GraphicsContext::createNewContextID() creating contextID=0 Updating the MaxNumberOfGraphicsContexts to 1 CullSettings::readEnvironmentalVariables() Falling back to drawing a quad. itr='/Developer/SDK/OSG/lib' FindFileInPath() : trying /Developer/SDK/OSG/lib/osgPlugins-2.9.6/osgdb_qt.so ... FindFileInPath() : USING /Developer/SDK/OSG/lib/osgPlugins-2.9.6/osgdb_qt.so Opened DynamicLibrary osgPlugins-2.9.6/osgdb_qt.so Quicktime initialized successfully itr='/Developer/SDK/OSG/lib' FindFileInPath() : trying /Developer/SDK/OSG/lib/osgPlugins-2.9.6/osgdb_bmp.so ... FindFileInPath() : USING /Developer/SDK/OSG/lib/osgPlugins-2.9.6/osgdb_bmp.so Opened DynamicLibrary osgPlugins-2.9.6/osgdb_bmp.so Bus error logout *** -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22329#22329 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Could not find plugin on Mac OS X 10.6.2
Now, i find the answer for my problem. I`ve lost so many time to install OpenSceneGraph on my system, so i vorget i have two versions now. The first version is in OS X style with Frameworks, the other in unix style. My Problem was i`ve used both. The OS X Version does not need ".so" files (see the Quick Start Guide) Now i used only the Unix style and the project finds the plugins and than it crash. Terminal *** ... ... 1266 2955980800 ./server/channel.cpp:336 1075 Channel viewport update: [ 0 0 640 400 ]:[ 0 0 1 1 ] Warping Shader enabled! CullSettings::readEnvironmentalVariables() DatabasePager::addDatabaseThread() HANDLE_NON_HTTP DatabasePager::addDatabaseThread() HANDLE_ONLY_HTTP CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() GraphicsContext::registerGraphicsContext 0x1231c010 GraphicsContext::createNewContextID() creating contextID=0 Updating the MaxNumberOfGraphicsContexts to 1 CullSettings::readEnvironmentalVariables() Falling back to drawing a quad. itr='/Developer/SDK/OSG/lib' FindFileInPath() : trying /Developer/SDK/OSG/lib/osgPlugins-2.9.6/osgdb_qt.so ... FindFileInPath() : USING /Developer/SDK/OSG/lib/osgPlugins-2.9.6/osgdb_qt.so Opened DynamicLibrary osgPlugins-2.9.6/osgdb_qt.so Quicktime initialized successfully itr='/Developer/SDK/OSG/lib' FindFileInPath() : trying /Developer/SDK/OSG/lib/osgPlugins-2.9.6/osgdb_bmp.so ... FindFileInPath() : USING /Developer/SDK/OSG/lib/osgPlugins-2.9.6/osgdb_bmp.so Opened DynamicLibrary osgPlugins-2.9.6/osgdb_bmp.so Bus error logout *** -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22328#22328 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Could not find plugin on Mac OS X 10.6.2
thanks for the quick answer. I think, thats not the reason. osgconv --formats run and find all the plugins Terminal looks like following lines. Here you can see OSG_PLUGIN_EXTENSION is ".so" ** ... ... FindFileInPath(/Developer/SDK/OSG/lib/osgPlugins-2.9.6/osgdb_zip.so): returning /Developer/SDK/OSG/lib/osgPlugins-2.9.6/osgdb_zip.so Opened DynamicLibrary /Developer/SDK/OSG/lib/osgPlugins-2.9.6/osgdb_zip.so Closing DynamicLibrary /Developer/SDK/OSG/lib/osgPlugins-2.9.6/osgdb_zip.so Plugin /Developer/SDK/OSG/lib/osgPlugins-2.9.6/osgdb_zip.so { ReaderWriter : ZIP Database Reader/Writer { features : readNode extensions : .zip Zip archive format } } itr='/Developer/SDK/OSG/lib/osgPlugins-2.9.6' FindFileInPath() : trying /Developer/SDK/OSG/lib/osgPlugins-2.9.6//Developer/SDK/OSG/lib/osgPlugins-2.9.6/osgdb_zipd.so ... itr='/Developer/SDK/OSG/lib' ... ... ** -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22326#22326 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Could not find plugin on Mac OS X 10.6.2
Hi, (sorry for my bad English) i am new on OSG and i have a little problem with our project on the University. My OpenScneneGraph is Version 2.9.6 and the project was created with 2.8.0, i think. I generate the project with Cmake 2.8.0 for Mac OS X 10.6.2 and build with Xcode 3.2. When i start this project from terminal it run for some seconds and after that it end with this last messages on terminal # ... ... itr='/Users/***/Library/Application Support/OpenSceneGraph/PlugIns' FindFileInPath() : trying /Users/***/Library/Application Support/OpenSceneGraph/PlugIns/osgdb_bmpOSG_PLUGIN_EXTENSION ... itr='/Library/Application Support/OpenSceneGraph/PlugIns' FindFileInPath() : trying /Library/Application Support/OpenSceneGraph/PlugIns/osgdb_bmpOSG_PLUGIN_EXTENSION ... Warning: dynamic library 'osgPlugins-2.9.6/osgdb_bmpOSG_PLUGIN_EXTENSION' does not exist (or isn't readable): dlopen(osgPlugins-2.9.6/osgdb_bmpOSG_PLUGIN_EXTENSION, 9): image not found DynamicLibrary::failed loading "osgPlugins-2.9.6/osgdb_bmpOSG_PLUGIN_EXTENSION" Warning: Could not find plugin to read objects from file "h-Map.bmp". Bus error logout # The Project search for the Plugins and find nothing. The reason for this, OSG_PLUGIN_EXTENSION is not set. WHERE I CAN DO THIS? if i run osgconv --formats on my System if find the Plugins and set the OSG_PLUGIN_EXTENSION to ".so" (thats right) LD_LIBRARY_PATH and OSG_LIBRARY_PATH are set to plugin folder with my *.so Files When i delete all parts to load some pictures from my source the project runs (black window) Can sombody help me with my problem? Any Ideas? Thank you! Cheers, Wadim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22320#22320 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org