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 generate project 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:32 am    Post subject:
CMake fails to generate project for iOS
Reply with quote

Hi,
when trying to generate a valid Xcode project to build OSG for iOS I noticed that even if we follow the platform specific instructions available on the OSG website, one has to manually modify the path to many iOS frameworks that are not set correctly by CMake using the current version of the CMakeLists.txt file.

Specifically I tried with CMake 3.6.2, 3.9.6 and the latest 3.10.2. Xcode is version 9.2 and I am targeting iOS 11.0 as minimum deployment target.

Based on my experience the following frameworks are not set correctly and consequently the Xcode project fails to build:

    OpenGLES.framework
    AVFoundation.framework
    CoreMedia.framework
    CoreVideo.framework
    QuartzCore.framework
    SystemConfiguration.framework


Also zlib is not set correctly to the iOS SDK specific path. Since the official version of CMake's find does not manage to set those paths correctly I'm proposing to modify the OSG's CMakeLists.txt file. To this regards, is there anyone out there that is experiencing the same issue?

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 Advice requested: Is OSG what I need ... Slickriptide General 3 Wed Sep 05, 2018 5:55 pm View latest post
No new posts getWindowingSystemInterface() fails o... Omar Álvarez General 14 Wed Sep 05, 2018 10:43 am View latest post
No new posts Enable Qt5Widgets_DIR into cmake (GUI) Andrea74 General 2 Wed Sep 05, 2018 7:40 am View latest post
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 Self provide osg related cmake find_p... Ralf Habacker General 0 Thu Apr 26, 2018 7:11 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