Re: [osg-users] osg-conv collada
[EMAIL PROTECTED] wrote: Also, what are the plans for the plugin now that 2.0's out? I plan on submitting a patch to bring OSG up to using DOM 2.0. That should be sometime this month. Steve I think I'll wait for that then. Thanks for your reply. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg-conv collada
Hi, I'm trying to get the collada plugin working and running into this problem too. I've tried Johan Nouvel's suggestion (a few messages later) to no avail. I'm using osg 2.3.7 and the last pre-2.0 stable release for collada, 1.4.1 DOM 3.0. Did anyone find a way around it? Also, what are the plans for the plugin now that 2.0's out? Thanks, Eduard skunkwerk wrote: thanks Jason, here's the output - it seems that it eventually finds the plugin, but dlopen complains about an undefined symbol in the osgdb_dae.so file - how can I fix this? RegisterWindowingSystemInterfaceProxy() X11WindowingSystemInterface() GraphicsContext::setWindowingSystemInterface() 0x80635200xb7f44bd0 itr='/usr/lib/' FindFileInPath() : trying /usr/lib/osgdb_dae ... itr='/usr/local/lib/' FindFileInPath() : trying /usr/local/lib/osgdb_dae ... DynamicLibrary::getLibraryHandle( osgdb_dae) - dlopen(): ./osgdb_dae: cannot open shared object file: No such file or directory DynamicLibrary::failed loading osgdb_dae itr='/usr/lib/' FindFileInPath() : trying /usr/lib/osgPlugins-2.2.0/osgdb_dae.so ... itr='/usr/local/lib/' FindFileInPath() : trying /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so ... FindFileInPath() : USING /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so DynamicLibrary::getLibraryHandle( /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so) - dlopen(): /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so: undefined symbol: _ZN15daeLIBXMLPluginC1Ev DynamicLibrary::failed loading osgPlugins-2.2.0/osgdb_dae.so Warning: Could not find plugin to read objects from file /home/imran/3d/3dwarehouse/45/models/45.dae. Error no data loaded. ~RegisterWindowingSystemInterfaceProxy() GraphicsContext::setWindowingSystemInterface() 00xb7f44bd0 appreciate it On Mon, Mar 24, 2008 at 8:28 AM, Jason Daly [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: skunkwerk wrote: thanks Jason, once I ran ccmake . I was able to configure the environment variables correctly. the plugin seems to have been installed to /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so yet I can't get osgconv to find it - i've tried -e dae, -l osgdb_dae, -l /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so but none of them work. how do i get osgconv to load the library? You might need to set your OSGNOTIFY environment variable to DEBUG and see why osgconv isn't finding it. --J ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg-conv collada
Hi Eduard, unfortunately I don't have any tips for the error you're getting. A couple months ago I tried getting OSG to use the DOM trunk code for its Collada support, and other than a few easily fixable compiler errors it worked fine. I didn't get any .so load errors. I was testing with Ubuntu. Also, what are the plans for the plugin now that 2.0's out? I plan on submitting a patch to bring OSG up to using DOM 2.0. That should be sometime this month. Steve Eduard Trulls wrote: Hi, I'm trying to get the collada plugin working and running into this problem too. I've tried Johan Nouvel's suggestion (a few messages later) to no avail. I'm using osg 2.3.7 and the last pre-2.0 stable release for collada, 1.4.1 DOM 3.0. Did anyone find a way around it? Also, what are the plans for the plugin now that 2.0's out? Thanks, Eduard skunkwerk wrote: thanks Jason, here's the output - it seems that it eventually finds the plugin, but dlopen complains about an undefined symbol in the osgdb_dae.so file - how can I fix this? RegisterWindowingSystemInterfaceProxy() X11WindowingSystemInterface() GraphicsContext::setWindowingSystemInterface() 0x80635200xb7f44bd0 itr='/usr/lib/' FindFileInPath() : trying /usr/lib/osgdb_dae ... itr='/usr/local/lib/' FindFileInPath() : trying /usr/local/lib/osgdb_dae ... DynamicLibrary::getLibraryHandle( osgdb_dae) - dlopen(): ./osgdb_dae: cannot open shared object file: No such file or directory DynamicLibrary::failed loading osgdb_dae itr='/usr/lib/' FindFileInPath() : trying /usr/lib/osgPlugins-2.2.0/osgdb_dae.so ... itr='/usr/local/lib/' FindFileInPath() : trying /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so ... FindFileInPath() : USING /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so DynamicLibrary::getLibraryHandle( /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so) - dlopen(): /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so: undefined symbol: _ZN15daeLIBXMLPluginC1Ev DynamicLibrary::failed loading osgPlugins-2.2.0/osgdb_dae.so Warning: Could not find plugin to read objects from file /home/imran/3d/3dwarehouse/45/models/45.dae. Error no data loaded. ~RegisterWindowingSystemInterfaceProxy() GraphicsContext::setWindowingSystemInterface() 00xb7f44bd0 appreciate it On Mon, Mar 24, 2008 at 8:28 AM, Jason Daly [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: skunkwerk wrote: thanks Jason, once I ran ccmake . I was able to configure the environment variables correctly. the plugin seems to have been installed to /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so yet I can't get osgconv to find it - i've tried -e dae, -l osgdb_dae, -l /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so but none of them work. how do i get osgconv to load the library? You might need to set your OSGNOTIFY environment variable to DEBUG and see why osgconv isn't finding it. --J ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg-conv collada
Hello all, I have the same problem with OSG 2.2.0 or 2.3.6, collada plugin and collada 1.4 dom 1.3. I've search on collada forum and found 2 things : 1- in the collada_dom source, dae directory, edit the Makefile_PC to add daeRawResolver.cpp and compile as usual. COLLADA_DOM/src/dae/Makefile_PC: [...] # files SRC := dae.cpp \ daeArray.cpp \ daeAtomicType.cpp \ daeDocument.cpp \ daeDom.cpp \ daeElement.cpp \ daeError.cpp \ daeErrorHandler.cpp \ daeIDRef.cpp \ daeMemorySystem.cpp \ daeMetaAny.cpp \ daeMetaAttribute.cpp \ daeMetaChoice.cpp \ daeMetaCMPolicy.cpp \ daeMetaElement.cpp \ daeMetaElementAttribute.cpp \ daeMetaGroup.cpp \ daeMetaSequence.cpp \ == file to add daeRawResolver.cpp \ daeSIDResolver.cpp \ daeStringRef.cpp \ daeStringTable.cpp \ daeURI.cpp \ domAny.cpp [...] 2- in OpenSceneGraph-build-tree/src/osgPlugins/dae/CMakeFiles/osgdb_dae.dir directory you have a file named link.txt. This file contains the link command to produce osgdb_dae.so from all object file. For some reasons all the collada the collada libraries are not here. So I modified this file and run it to produce a new osgdb_dae.so which works fine (no more undefined symbol). old build-U7.04_32/src/osgPlugins/dae/CMakeFiles/osgdb_dae.dir/link.txt: /usr/bin/c++ -fPIC -O3 -DNDEBUG -shared -Wl,-soname,osgdb_dae.so -o ../../../lib/osgPlugins-2.3.6/osgdb_dae.so CMakeFiles/osgdb_dae.dir/daeReader.o CMakeFiles/osgdb_dae.dir/daeRGeometry.o CMakeFiles/osgdb_dae.dir/daeRMaterials.o CMakeFiles/osgdb_dae.dir/daeRSceneObjects.o CMakeFiles/osgdb_dae.dir/daeRTransforms.o CMakeFiles/osgdb_dae.dir/daeWGeometry.o CMakeFiles/osgdb_dae.dir/daeWMaterials.o CMakeFiles/osgdb_dae.dir/daeWriter.o CMakeFiles/osgdb_dae.dir/daeWSceneObjects.o CMakeFiles/osgdb_dae.dir/daeWTransforms.o CMakeFiles/osgdb_dae.dir/domSourceReader.o CMakeFiles/osgdb_dae.dir/ReaderWriterDAE.o -LSOMEPATH -lOpenThreads -losg -losgDB -losgUtil -lcollada_dom -lcollada_dae -lxml2 -lpcrecpp -Wl,-Bstatic -lcollada_dom -Wl,-Bdynamic -losg -lm -lOpenThreads -lpthread -lGLU -lGL -lSM -lICE -lX11 -lXext -Wl,-rpath,SOMEPATH new command to build osgdb_dae.so: /usr/bin/c++ -fPIC -O3 -DNDEBUG -shared -Wl,-soname,osgdb_dae.so -o osgdb_dae.so *.o -LSOMEPATH -lOpenThreads -losg -losgDB -losgUtil -lcollada_dae -lcollada_dom -lcollada_dae -lcollada_STLDatabase -lcollada_stdErrPlugin -lcollada_LIBXMLPlugin -lxml2 -Wl,-Bstatic -lcollada_dom -Wl,-Bdynamic -losg -lm -lOpenThreads -lpthread -lGLU -lGL -lSM -lICE -lX11 -lXext -Wl,-rpath,SOMEPATH note that -lcollada_dae is include twice as specified in collada forum. I'm sure it is possible to modify CMAKE to do the right things, but I'm not CMAKE fluent and it is scheduled that all this will die with collada DOM 2.0 and OSG 2.4. Hope this will work for you, Johan. skunkwerk a écrit : thanks Jason, here's the output - it seems that it eventually finds the plugin, but dlopen complains about an undefined symbol in the osgdb_dae.so file - how can I fix this? RegisterWindowingSystemInterfaceProxy() X11WindowingSystemInterface() GraphicsContext::setWindowingSystemInterface() 0x80635200xb7f44bd0 itr='/usr/lib/' FindFileInPath() : trying /usr/lib/osgdb_dae ... itr='/usr/local/lib/' FindFileInPath() : trying /usr/local/lib/osgdb_dae ... DynamicLibrary::getLibraryHandle( osgdb_dae) - dlopen(): ./osgdb_dae: cannot open shared object file: No such file or directory DynamicLibrary::failed loading osgdb_dae itr='/usr/lib/' FindFileInPath() : trying /usr/lib/osgPlugins-2.2.0/osgdb_dae.so ... itr='/usr/local/lib/' FindFileInPath() : trying /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so ... FindFileInPath() : USING /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so DynamicLibrary::getLibraryHandle( /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so) - dlopen(): /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so: undefined symbol: _ZN15daeLIBXMLPluginC1Ev DynamicLibrary::failed loading osgPlugins-2.2.0/osgdb_dae.so Warning: Could not find plugin to read objects from file
Re: [osg-users] osg-conv collada
I've tried running the prebuilt binary for osgconv on Linux, but they don't come with osgdb_dae.dll - could someone please send me a copy, as I don't have visual studio? or could someone send me their osgconv_dae.so on linux to try on my system? i'll try recompiling everything again... thanks ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg-conv collada
thanks Jason, here's the output - it seems that it eventually finds the plugin, but dlopen complains about an undefined symbol in the osgdb_dae.so file - how can I fix this? RegisterWindowingSystemInterfaceProxy() X11WindowingSystemInterface() GraphicsContext::setWindowingSystemInterface() 0x80635200xb7f44bd0 itr='/usr/lib/' FindFileInPath() : trying /usr/lib/osgdb_dae ... itr='/usr/local/lib/' FindFileInPath() : trying /usr/local/lib/osgdb_dae ... DynamicLibrary::getLibraryHandle( osgdb_dae) - dlopen(): ./osgdb_dae: cannot open shared object file: No such file or directory DynamicLibrary::failed loading osgdb_dae itr='/usr/lib/' FindFileInPath() : trying /usr/lib/osgPlugins-2.2.0/osgdb_dae.so ... itr='/usr/local/lib/' FindFileInPath() : trying /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so ... FindFileInPath() : USING /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so DynamicLibrary::getLibraryHandle( /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so) - dlopen(): /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so: undefined symbol: _ZN15daeLIBXMLPluginC1Ev DynamicLibrary::failed loading osgPlugins-2.2.0/osgdb_dae.so Warning: Could not find plugin to read objects from file /home/imran/3d/3dwarehouse/45/models/45.dae. Error no data loaded. ~RegisterWindowingSystemInterfaceProxy() GraphicsContext::setWindowingSystemInterface() 00xb7f44bd0 appreciate it On Mon, Mar 24, 2008 at 8:28 AM, Jason Daly [EMAIL PROTECTED] wrote: skunkwerk wrote: thanks Jason, once I ran ccmake . I was able to configure the environment variables correctly. the plugin seems to have been installed to /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so yet I can't get osgconv to find it - i've tried -e dae, -l osgdb_dae, -l /usr/local/lib/osgPlugins-2.2.0/osgdb_dae.so but none of them work. how do i get osgconv to load the library? You might need to set your OSGNOTIFY environment variable to DEBUG and see why osgconv isn't finding it. --J ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg-conv collada
skunkwerk wrote: thanks Jason, here's the output - it seems that it eventually finds the plugin, but dlopen complains about an undefined symbol in the osgdb_dae.so file - how can I fix this? I don't know. This might require the assistance of the CMake folks. --J ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg-conv collada
thanks Jean, i don't seem to have anything defined my LD_LIBRARY_PATH - should I? After I set it to: /usr/local/lib:/home/me/Programs/OpenSceneGraph/lib I'm still getting the same error... I installed lib-xml through ubuntu's apt-get system, so don't see how I could have compiled the collada-dom with something else. any other way to figure out what's causing this? isn't there any pre-built package for openscenegraph with the collada plugin? thanks ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg-conv collada
Hello, could someone please tell me how to create the collada db so osgconv can load collada files? i can't find any documentation on this. I assume you're on Windows. From this page on the wiki: http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio you'll see a link Help for compiling specific optional plugins which leads you to this page: http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio/VisualStudioPlugins Which has info for compiling a few plugins with Visual Studio, including the COLLADA plugin. J-S -- __ Jean-Sebastien Guay[EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg-conv collada
could someone please tell me how to create the collada db so osgconv can load collada files? i can't find any documentation on this. thanks On Mon, Mar 17, 2008 at 10:14 AM, skunkwerk [EMAIL PROTECTED] wrote: hi Robert, i can install the collada dom, but how do I build the osg plugin for it? is there documentation for building it somewhere? thanks, imran HI, Have you installed the COLLADA DOM, and built the appropriate OSG plugin? Robert. On Sun, Mar 16, 2008 at 12:46 AM, skunkwerk [EMAIL PROTECTED] wrote: i'm new to openscenegraph. i tried to use osgconv to open/save a collada file, but couldn't find the correct osgdb for .dae files to allow it to work. any suggestions? is all i have to do to generate a texture atlas for the file, to do this from my command line: export OSG_OPTIMIZER=DEFAULT TEXTURE_ATLAS_BUILDER thanks ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg-conv collada
skunkwerk wrote: could someone please tell me how to create the collada db so osgconv can load collada files? i can't find any documentation on this. If you installed the COLLADA DOM, you should just need to make sure CMake can find it (run ccmake . again and specify the path, if necessary) and then re-make OSG. --J ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org