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 

CMake fails to find latest FBX SDK for iOS


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Build system [build]
View previous topic :: View next topic  
Author Message
a.terenzi (Alessandro Terenzi)
Appreciator


Joined: 03 Sep 2009
Posts: 250

PostPosted: Fri Jan 19, 2018 9:45 am    Post subject:
CMake fails to find latest FBX SDK for iOS
Reply with quote

Hi,
found out that current version of FindFBX.cmake does not manage to find the FBX SDK version 2018.1.1 specifically for iOS.

To my understanding the reasons are:

    1) the FBX_LIBDIR is not set to any of the real folders used for the iOS/simulator distribution, which are "ios-armv7" and "ios-386"

    2) if we search for FBX_LIBNAME such as "libfbxsdk" (without ".a") CMake fails to find the library (I'm using CMake version 3.10.2) even if I explicitly set the extensions that it should look for

    3) the FBX_SEARCH_PATH is missing "/Applications/Autodesk/FBX SDK/2018.1.1"


My proposal:

    A) add the correct folders to search into
    B) add the ".a" extension at least for iOS to the lib base name
    C) add the missing "/Applications/Autodesk/FBX SDK/2018.1.1" to FBX_SEARCH_PATH


I've already my modifications ready, if you agree I can send a pull request.

Cheers,
Alessandro
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Build system [build] 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 CMake can not find include files peter_k Build system [build] 8 Sun Jun 03, 2018 10:51 am View latest post
No new posts Where can i find the windows binaries peter_k General 2 Thu May 31, 2018 12:19 pm View latest post
No new posts Self provide osg related cmake find_p... Ralf Habacker General 0 Thu Apr 26, 2018 7:11 am View latest post
No new posts Messages when trying to cmake of OSX ... minghia Build system [build] 0 Sat Apr 21, 2018 1:49 pm View latest post
No new posts osgWidget Visual Studio project is in... Jiri_Patrak Build system [build] 1 Sat Mar 31, 2018 4:26 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