[osg-users] [build] CMake fails to generate project for iOS

Alessandro Terenzi a.terenzi at gmail.com
Fri Jan 19 01:32:47 PST 2018


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

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72787#72787







More information about the osg-users mailing list