[gtk-osx-users] CMake issue when building latest GTK+.
- From: Pascal <p p14 orange fr>
- To: gtk-osx-users-list gnome org
- Subject: [gtk-osx-users] CMake issue when building latest GTK+.
- Date: Thu, 14 Jul 2016 18:58:15 +0200
Hello,
I'm using MacOS 10.11 with XCode 7.3.1.
I've got CMake issue when building latest GTK+:
cmd$ jhbuild bootstrap
<...>
loading initial cache file /usr/local/src-gtk-osx/cmake-3.2.1/Bootstrap.cmk/InitialCacheFlags.cmake
CMake Warning at Modules/Platform/Darwin-Initialize.cmake:128 (message):
Ignoring CMAKE_OSX_SYSROOT value:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
because the directory does not exist.
Call Stack (most recent call first):
Modules/CMakeSystemSpecificInitialize.cmake:18 (include)
CMakeLists.txt:16 (project)
CMake Error at Modules/Platform/Darwin.cmake:76 (message):
CMAKE_OSX_DEPLOYMENT_TARGET is '10.7' but CMAKE_OSX_SYSROOT:
""
is not set to a MacOSX SDK with a recognized version. Either set
CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to
empty.
Call Stack (most recent call first):
Modules/CMakeSystemSpecificInformation.cmake:36 (include)
CMakeLists.txt:16 (project)
-- Configuring incomplete, errors occurred!
See also "/usr/local/src-gtk-osx/cmake-3.2.1/CMakeFiles/CMakeOutput.log".
See also "/usr/local/src-gtk-osx/cmake-3.2.1/CMakeFiles/CMakeError.log".
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
*** Error during phase configure of cmake: ########## Error running ./bootstrap
--prefix=/usr/local/xnadalib-2016 *** [8/23]
[1] Rerun phase configure
[2] Ignore error and continue to build
[3] Give up on module
[4] Start shell
[5] Reload configuration
[6] Go to phase "wipe directory and start over"
[7] Go to phase "clean"
[8] Go to phase "distclean"
choice: 4
exit shell to continue with build
[JH] cmd$ env | grep -i cmake
PWD=/usr/local/src-gtk-osx/cmake-3.2.1
CMAKE_PREFIX_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr
The only relevant Internet pointer I've found is not exactly my case as CMAKE_OSX_DEPLOYMENT_TARGET is not
defined.
https://mail.gnome.org/archives/gtk-osx-users-list/2013-October/msg00004.html
Any idea?
Thanks, Pascal.
http://blady.pagesperso-orange.fr
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]