When I do
export OSG_NOTIFY_LEVEL=DEBUG
osgviewer cube.dae
I get that :
CullSettings::readEnvironmentalVariables()
DriveManipulator::_height set to ==1.5
itr='/usr/local/lib'
FindFileInPath() : trying /usr/local/lib/osgdb_dae.so ...
itr='/usr/local/lib/osgPlugins'
FindFileInPath() : trying /usr/local/lib/osgPlugins/osgdb_dae.so ...
FindFileInPath() : USING /usr/local/lib/osgPlugins/osgdb_dae.so
DynamicLibrary::getLibraryHandle(
/usr/local/lib/osgPlugins/osgdb_dae.so) - dlopen():
/usr/local/lib/osgPlugins/osgdb_dae.so: undefined symbol:
_ZN14daeRawResolverC1Ev
DynamicLibrary::failed loading "osgdb_dae.so"
Warning: Could not find plugin to read objects from file "cube.dae".
osgviewer: No data loaded
zsh: exit 1 osgviewer cube.dae
I think the file "osgdb_dae.so" doesn't work. Did you make it work under
linux ?
Hi Philippe,
The plugins should be installed under /usr/local/lib/osgPlugins. To
see where the OSG is looking for the plugins enable verbose debug
messages via:
export OSG_NOTIFY_LEVEL=DEBUG
osgviewer myfile.dae
And have a look at the results.
On 5/2/07, *Philippe Apéry* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:
Hello,
I compiled with success OSG1.2 under Linux Ubuntu Edgy. The Collada
Plugins compiled with success (I used COLLADA_DOM) and I have the file
"/osgdb_dae.so/" in //usr/local/lib/osgPlugins/. But when I try to
read
a Collada file with OSG, it doesn't work.
When I try to execute "/osgviewer cube_triangulate.dae/" I get this
message :
Warning: Could not find plugin to read objects from file
"cube_triangulate.dae".
When I do a "/strace -o out.txt osgviewer cube_triangulate.dae ; cat
cout.txt | grep -i dae/" I get :
execve("/usr/local/share/OpenSceneGraph/bin/osgviewer", ["osgviewer",
"cube_triangulate.dae"], [/* 37 vars */]) = 0
access("/usr/local/lib/osgdb_dae.so", F_OK) = -1 ENOENT (No such
file or
directory)
access("/usr/local/lib/osgPlugins/osgdb_dae.so", F_OK) = 0
open("/usr/local/lib/osgPlugins/osgdb_dae.so", O_RDONLY) = 4
Did someone try to read a Collada file under linux by using OSG ?
Cheers
Philippe Apéry
_______________________________________________
osg-users mailing list
[email protected] <mailto:[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/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/