[osg-users] [osgPlugins] osgconv and collada plugin

Tony Vasile minghia at gmail.com
Fri Jul 3 06:01:04 PDT 2015


Hi,
There seems to be a problem with the Collada, boost library and osgconv. If the osgconv is not linked against libboost_system and libboost_filesystem on a linux system you get errors like:

bin/osgconv: symbol lookup error: /usr/lib/libcollada14dom.so.2: undefined symbol: _ZN5boost10filesystem6detail10status_apiERKSsRNS_6system10error_codeE

and 
Warning: dynamic library '/usr/local/lib/osgPlugins-3.2.1/osgdb_dae.so' exists, but an error occurred while trying to open it:
/usr/lib/libcollada14dom.so.2: undefined symbol: _ZN5boost6system19get_system_categoryEv
Warning: Write to "test.dae" not supported.

I was compiling and running against collada dom 2.3.1 on my Centos machine. I patched the CMakeFiles.txt to have the following lines:


Code:

IF(COLLADA_FOUND)
    SET(TARGET_LIBRARIES_VARS
        COLLADA_BOOST_FILESYSTEM_LIBRARY
        COLLADA_BOOST_SYSTEM_LIBRARY)
ENDIF()




and the problem goes away. I'm not sure if I added the lines in the right place. I put the above code before the SETUP_APPLICATION(osgconv) call.

... 

Thank you!

Cheers,
Tony[/code]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64256#64256








More information about the osg-users mailing list