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: 109
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 building the fbx plugin Tare Plugins [osgPlugins] 2 Wed Oct 10, 2018 3:04 pm View latest post
No new posts TIFF plugin reader does not handle im... Eric Sokolowsky Submission 0 Sat Sep 29, 2018 2:30 am View latest post
No new posts osgconv osgjs bug file not found memory_thrasher Plugins [osgPlugins] 2 Tue Jul 31, 2018 5:21 pm View latest post
No new posts decent font without free type plugin OmegaDoom General 0 Mon Jun 25, 2018 12:12 pm View latest post
No new posts Support for paletted images in dds pl... psi29a Plugins [osgPlugins] 1 Fri Jun 22, 2018 10:14 am 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