Hello,
I'm trying osgEarth but I've got trouble to run it.
I compile without any trouble but when i do :
osgviewer simple_cache.earth (or another .earth example)
I've got seg fault. I'm in osg 2.6.1 but same thing appears in osg 2.7.8, on Ubuntu 8.04 32 bits. And I'm up to date
with osgEarth trunk.
Running osgviewer in gdb (with OSG_NOTIFY_LEVEL=DEBUG, and with osg2.6.1 or osg
2.7.8) give :
...
itr='/usr/local/lib/osgPlugins-2.7.8'
FindFileInPath() : trying
/usr/local/lib/osgPlugins-2.7.8/osgPlugins-2.7.8/osgdb_earth.so ...
itr='/usr/lib/'
FindFileInPath() : trying /usr/lib/osgPlugins-2.7.8/osgdb_earth.so ...
itr='/usr/local/lib/'
FindFileInPath() : trying /usr/local/lib/osgPlugins-2.7.8/osgdb_earth.so ...
itr='/usr/local/lib'
FindFileInPath() : trying /usr/local/lib/osgdb_earth.so ...
FindFileInPath() : USING /usr/local/lib/osgdb_earth.so
[New Thread 0xb63fc6e0 (LWP 28463)]
Opened DynamicLibrary osgPlugins-2.7.8/osgdb_earth.so
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb63fc6e0 (LWP 28463)]
0xb7cd9010 in std::_Rb_tree<std::string, std::pair<std::string const, std::string>,
std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>,
std::allocator<std::pair<std::string const, std::string> > >::_M_begin () from /usr/local/lib/libosg.so.53
I have try to put osgdb_earth.so in /usr/local/lib/osgPlugins-2.7.8 instead of
/usr/local/lib, but whitout success.
I don't know what I can do. As someone an idea ?
Cheers,
Johan.
--
Johan Nouvel, R&D Engineer
http://www.archivideo.com
tel : +33 (0)2 99 86 30 20
ARCHIVIDEO, 40 rue des Veyettes, 35000 RENNES, FRANCE
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org