OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

osgconv and collada plugin


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins]
View previous topic :: View next topic  
Author Message
minghia
Appreciator


Joined: 12 Dec 2011
Posts: 104
Location: Sydney, Australia

PostPosted: Fri Jul 03, 2015 1:00 pm    Post subject:
osgconv and collada plugin
Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts PLY Plugin uwew Submission 0 Sat Apr 08, 2017 6:26 am View latest post
No new posts Guidance on zip-plugin fix SMesserschmidt General 0 Thu Feb 16, 2017 1:59 pm View latest post
No new posts using osgconv with fbx? kwsteele Plugins [osgPlugins] 9 Mon Feb 13, 2017 8:22 pm View latest post
No new posts PNG plugin loaded / unloaded Steal General 3 Sun Feb 05, 2017 6:30 pm View latest post
No new posts Collada and OSG umadevi2193 General 4 Tue Jan 03, 2017 12:03 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP