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 

fbx plugin compile error


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





PostPosted: Tue Jun 21, 2016 12:39 pm    Post subject:
fbx plugin compile error
Reply with quote

Hi Robert, I grabbed the latest master today and I got this compilation error
on xubuntu 14.04, g++ 4.8.4


[ 83%] Building CXX object src/osgPlugins/fbx/CMakeFiles/osgdb_fbx.dir/ReaderWriterFBX.o
/home/simuser/Downloads/OpenSceneGraph-master/src/osgPlugins/fbx/ReaderWriterFBX.cpp: In member function ‘virtual osgDB::ReaderWriter::WriteResult ReaderWriterFBX::writeNode(const osg::Node&, const string&, const Options*) const’:
/home/simuser/Downloads/OpenSceneGraph-master/src/osgPlugins/fbx/ReaderWriterFBX.cpp:602:75: error: cannot convert ‘const char* const*’ to ‘const char*’ in initialization
             char const * versions = lExporter->GetCurrentWritableVersions();


I think I dropped into this #ifdef branch due to an older fbx SDK installed,
anyway I simply changed the offending line to
const char* const* versions = lExporter->GetCurrentWritableVersions();



I attached the updated file for review.


Cheers,


/Per

------------------
Post generated by Mail2Forum
Back to top
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 osg plugin couldn't load an osgb or i... first_gle General 2 Sat May 27, 2017 3:52 am View latest post
No new posts OpenGL error when using TextureBuffer MariusD General 1 Mon May 22, 2017 1:40 pm View latest post
No new posts Having an issue with OSG plugins error. Brigham Keys, Esq. General 2 Wed Apr 12, 2017 5:24 am View latest post
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


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