<div dir="ltr">I haven't switched to the 10.9 yet but I may have experienced similar issues. We are hoping to push a fix today. <div><br></div><div>You are using Master branch I guess? <br><div><br></div><div><br></div>
<div>- Aashish</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 7, 2014 at 2:33 AM, Benedikt Huss <span dir="ltr"><<a href="mailto:benedikt.huss@gmail.com" target="_blank">benedikt.huss@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Hi,</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm trying to compile VES for iOS including arm64 with iOS 7.0 SDK on OS X 10.9.1, CMake 2.8-12 - but it always fails.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I've changed the toolchains-files like this:</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">diff --git a/CMake/toolchains/toolchain-ios-device.cmake b/CMake/toolchains/toolchain-ios-device.cmake</div><div style="font-family:arial,sans-serif;font-size:13px">
index af6aedf..c11069f 100644</div><div style="font-family:arial,sans-serif;font-size:13px">--- a/CMake/toolchains/toolchain-ios-device.cmake</div><div style="font-family:arial,sans-serif;font-size:13px">+++ b/CMake/toolchains/toolchain-ios-device.cmake</div>
<div style="font-family:arial,sans-serif;font-size:13px">@@ -1,24 +1,19 @@</div><div style="font-family:arial,sans-serif;font-size:13px"> set(CMAKE_SYSTEM_NAME Darwin)</div><div style="font-family:arial,sans-serif;font-size:13px">
</div><div style="font-family:arial,sans-serif;font-size:13px">-exec_program(/usr/bin/xcode-select ARGS -print-path OUTPUT_VARIABLE XCODE_DEVELOPER_DIR)</div><div style="font-family:arial,sans-serif;font-size:13px">+# Force the compilers to gcc for iOS</div>
<div style="font-family:arial,sans-serif;font-size:13px">+INCLUDE (CMakeForceCompiler)</div><div style="font-family:arial,sans-serif;font-size:13px">+CMAKE_FORCE_C_COMPILER (gcc gcc)</div><div style="font-family:arial,sans-serif;font-size:13px">
+CMAKE_FORCE_CXX_COMPILER (g++ g++)</div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">-find_program(CMAKE_C_COMPILER NAME gcc</div><div style="font-family:arial,sans-serif;font-size:13px">
- PATHS</div><div style="font-family:arial,sans-serif;font-size:13px">- "${XCODE_DEVELOPER_DIR}/Platforms/iPhoneOS.platform/Developer/usr/bin/"</div><div style="font-family:arial,sans-serif;font-size:13px">- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/</div>
<div style="font-family:arial,sans-serif;font-size:13px">- /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/</div><div style="font-family:arial,sans-serif;font-size:13px">- NO_DEFAULT_PATH)</div><div style="font-family:arial,sans-serif;font-size:13px">
+# Skip the platform compiler checks for cross compiling</div><div style="font-family:arial,sans-serif;font-size:13px">+set (CMAKE_CXX_COMPILER_WORKS TRUE)</div><div style="font-family:arial,sans-serif;font-size:13px">+set (CMAKE_C_COMPILER_WORKS TRUE)</div>
<div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">-find_program(CMAKE_CXX_COMPILER NAME g++</div><div style="font-family:arial,sans-serif;font-size:13px">
- PATHS</div><div style="font-family:arial,sans-serif;font-size:13px">- "${XCODE_DEVELOPER_DIR}/Platforms/iPhoneOS.platform/Developer/usr/bin/"</div><div style="font-family:arial,sans-serif;font-size:13px">- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/</div>
<div style="font-family:arial,sans-serif;font-size:13px">- /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/</div><div style="font-family:arial,sans-serif;font-size:13px">- NO_DEFAULT_PATH)</div><div style="font-family:arial,sans-serif;font-size:13px">
+exec_program(/usr/bin/xcode-select ARGS -print-path OUTPUT_VARIABLE XCODE_DEVELOPER_DIR)</div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">-set(CMAKE_OSX_ARCHITECTURES "armv7;armv7s")</div>
<div style="font-family:arial,sans-serif;font-size:13px">-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -miphoneos-version-min=5.0 -fvisibility=hidden -fvisibility-inlines-hidden")</div><div style="font-family:arial,sans-serif;font-size:13px">
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -miphoneos-version-min=5.0 -fvisibility=hidden -fvisibility-inlines-hidden")</div><div style="font-family:arial,sans-serif;font-size:13px">+set(CMAKE_OSX_ARCHITECTURES "armv7" "armv7s" "arm64")</div>
<div style="font-family:arial,sans-serif;font-size:13px">+#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -miphoneos-version-min=6.0 -fvisibility=hidden -fvisibility-inlines-hidden")</div><div style="font-family:arial,sans-serif;font-size:13px">
+#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -miphoneos-version-min=6.0 -fvisibility=hidden -fvisibility-inlines-hidden")</div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">
# Set the CMAKE_OSX_SYSROOT to the latest SDK found</div><div style="font-family:arial,sans-serif;font-size:13px"> set(CMAKE_OSX_SYSROOT)</div><div style="font-family:arial,sans-serif;font-size:13px">@@ -28,7 +23,7 @@ set(possible_sdk_roots</div>
<div style="font-family:arial,sans-serif;font-size:13px"> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs</div><div style="font-family:arial,sans-serif;font-size:13px"> )</div><div style="font-family:arial,sans-serif;font-size:13px">
foreach(sdk_root ${possible_sdk_roots})</div><div style="font-family:arial,sans-serif;font-size:13px">- foreach(sdk iPhoneOS4.3.sdk iPhoneOS5.0.sdk iPhoneOS5.1.sdk iPhoneOS6.0.sdk iPhoneOS6.1.sdk iPhoneOS7.0.sdk)</div>
<div style="font-family:arial,sans-serif;font-size:13px">
+ foreach(sdk iPhoneOS6.0.sdk iPhoneOS6.1.sdk iPhoneOS7.0.sdk)</div><div style="font-family:arial,sans-serif;font-size:13px"> if (EXISTS ${sdk_root}/${sdk} AND IS_DIRECTORY ${sdk_root}/${sdk})</div><div style="font-family:arial,sans-serif;font-size:13px">
set(CMAKE_OSX_SYSROOT ${sdk_root}/${sdk})</div><div style="font-family:arial,sans-serif;font-size:13px"> endif()</div><div style="font-family:arial,sans-serif;font-size:13px">@@ -39,11 +34,13 @@ if (NOT CMAKE_OSX_SYSROOT)</div>
<div style="font-family:arial,sans-serif;font-size:13px"> endif()</div><div style="font-family:arial,sans-serif;font-size:13px"> message(STATUS "-- Using iOS SDK: ${CMAKE_OSX_SYSROOT}")</div><div style="font-family:arial,sans-serif;font-size:13px">
</div><div style="font-family:arial,sans-serif;font-size:13px">+SET (CMAKE_C_FLAGS "-arch armv7 -arch armv7s -arch arm64 -isysroot ${CMAKE_OSX_SYSROOT} -std=c99 -x objective-c -DNDEBUG=1")</div><div style="font-family:arial,sans-serif;font-size:13px">
+SET (CMAKE_CXX_FLAGS "-arch armv7 -arch armv7s -arch arm64 -isysroot ${CMAKE_OSX_SYSROOT} -x objective-c++ -DNDEBUG=1")</div><div style="font-family:arial,sans-serif;font-size:13px">+</div><div style="font-family:arial,sans-serif;font-size:13px">
+SET (CMAKE_EXE_LINKER_FLAGS "-miphoneos-version-min=6.0")</div><div style="font-family:arial,sans-serif;font-size:13px">+SET (CMAKE_SHARED_LINKER_FLAGS "-miphoneos-version-min=6.0")</div><div style="font-family:arial,sans-serif;font-size:13px">
+SET (CMAKE_MODULE_LINKER_FLAGS "-miphoneos-version-min=6.0")</div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">-set(CMAKE_OSX_ARCHITECTURES "${CMAKE_OSX_ARCHITECTURES}" CACHE STRING "osx architectures")</div>
<div style="font-family:arial,sans-serif;font-size:13px">-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" CACHE STRING "c++ flags")</div><div style="font-family:arial,sans-serif;font-size:13px">-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}" CACHE STRING "c flags")</div>
<div style="font-family:arial,sans-serif;font-size:13px">-set(CMAKE_OSX_SYSROOT "${CMAKE_OSX_SYSROOT}" CACHE PATH "osx sysroot")</div><div style="font-family:arial,sans-serif;font-size:13px"> set(MACOSX_BUNDLE_GUI_IDENTIFIER CACHE STRING "com.kitware.\${PRODUCT_NAME:identifier}")</div>
<div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">diff --git a/CMake/toolchains/toolchain-ios-simulator.cmake b/CMake/toolchains/toolchain-ios-simulator.cmake</div>
<div style="font-family:arial,sans-serif;font-size:13px">index 2ab3e7d..ef4baa2 100644</div><div style="font-family:arial,sans-serif;font-size:13px">--- a/CMake/toolchains/toolchain-ios-simulator.cmake</div><div style="font-family:arial,sans-serif;font-size:13px">
+++ b/CMake/toolchains/toolchain-ios-simulator.cmake</div><div style="font-family:arial,sans-serif;font-size:13px">@@ -1,34 +1,29 @@</div><div style="font-family:arial,sans-serif;font-size:13px"> set(CMAKE_SYSTEM_NAME Darwin)</div>
<div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">-exec_program(/usr/bin/xcode-select ARGS -print-path OUTPUT_VARIABLE XCODE_DEVELOPER_DIR)</div><div style="font-family:arial,sans-serif;font-size:13px">
+# Force the compilers to gcc for iOS</div><div style="font-family:arial,sans-serif;font-size:13px">+INCLUDE (CMakeForceCompiler)</div><div style="font-family:arial,sans-serif;font-size:13px">+CMAKE_FORCE_C_COMPILER (gcc gcc)</div>
<div style="font-family:arial,sans-serif;font-size:13px">+CMAKE_FORCE_CXX_COMPILER (g++ g++)</div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">-find_program(CMAKE_C_COMPILER NAME gcc</div>
<div style="font-family:arial,sans-serif;font-size:13px">- PATHS</div><div style="font-family:arial,sans-serif;font-size:13px">- "${XCODE_DEVELOPER_DIR}/Platforms/iPhoneSimulator.platform/Developer/usr/bin/"</div>
<div style="font-family:arial,sans-serif;font-size:13px">- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/</div><div style="font-family:arial,sans-serif;font-size:13px">- /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/</div>
<div style="font-family:arial,sans-serif;font-size:13px">- NO_DEFAULT_PATH)</div><div style="font-family:arial,sans-serif;font-size:13px">+# Skip the platform compiler checks for cross compiling</div><div style="font-family:arial,sans-serif;font-size:13px">
+set (CMAKE_CXX_COMPILER_WORKS TRUE)</div><div style="font-family:arial,sans-serif;font-size:13px">+set (CMAKE_C_COMPILER_WORKS TRUE)</div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">
-find_program(CMAKE_CXX_COMPILER NAME g++</div><div style="font-family:arial,sans-serif;font-size:13px">- PATHS</div><div style="font-family:arial,sans-serif;font-size:13px">- "{XCODE_DEVELOPER_DIR}/Platforms/iPhoneSimulator.platform/Developer/usr/bin/"</div>
<div style="font-family:arial,sans-serif;font-size:13px">- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/</div><div style="font-family:arial,sans-serif;font-size:13px">- /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/</div>
<div style="font-family:arial,sans-serif;font-size:13px">- NO_DEFAULT_PATH)</div><div style="font-family:arial,sans-serif;font-size:13px">+exec_program(/usr/bin/xcode-select ARGS -print-path OUTPUT_VARIABLE XCODE_DEVELOPER_DIR)</div>
<div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">-set(CMAKE_OSX_ARCHITECTURES i386)</div><div style="font-family:arial,sans-serif;font-size:13px">-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")</div>
<div style="font-family:arial,sans-serif;font-size:13px">-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")</div><div style="font-family:arial,sans-serif;font-size:13px">+set(CMAKE_OSX_ARCHITECTURES "i386" "x86_64")</div>
<div style="font-family:arial,sans-serif;font-size:13px">+#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -miphoneos-version-min=6.0 -fvisibility=hidden -fvisibility-inlines-hidden")</div><div style="font-family:arial,sans-serif;font-size:13px">
+#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -miphoneos-version-min=6.0 -fvisibility=hidden -fvisibility-inlines-hidden")</div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">
# Set the CMAKE_OSX_SYSROOT to the latest SDK found</div><div style="font-family:arial,sans-serif;font-size:13px"> set(CMAKE_OSX_SYSROOT)</div><div style="font-family:arial,sans-serif;font-size:13px"> set(possible_sdk_roots</div>
<div style="font-family:arial,sans-serif;font-size:13px">- "${XCODE_DEVELOPER_DIR}/Platforms/iPhoneSimulator.platform/Developer/SDKs"</div><div style="font-family:arial,sans-serif;font-size:13px">- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs</div>
<div style="font-family:arial,sans-serif;font-size:13px">- /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs</div><div style="font-family:arial,sans-serif;font-size:13px">+ "${XCODE_DEVELOPER_DIR}/Platforms/iPhoneOS.platform/Developer/SDKs"</div>
<div style="font-family:arial,sans-serif;font-size:13px">+ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs</div><div style="font-family:arial,sans-serif;font-size:13px">+ /Developer/Platforms/iPhoneOS.platform/Developer/SDKs</div>
<div style="font-family:arial,sans-serif;font-size:13px"> )</div><div style="font-family:arial,sans-serif;font-size:13px"> foreach(sdk_root ${possible_sdk_roots})</div><div style="font-family:arial,sans-serif;font-size:13px">
- foreach(sdk iPhoneSimulator4.3.sdk iPhoneSimulator5.0.sdk iPhoneSimulator5.1.sdk iPhoneSimulator6.0.sdk iPhoneSimulator6.1.sdk iPhoneSimulator7.0.sdk)</div><div style="font-family:arial,sans-serif;font-size:13px">+ foreach(sdk iPhoneOS6.0.sdk iPhoneOS6.1.sdk iPhoneOS7.0.sdk)</div>
<div style="font-family:arial,sans-serif;font-size:13px"> if (EXISTS ${sdk_root}/${sdk} AND IS_DIRECTORY ${sdk_root}/${sdk})</div><div style="font-family:arial,sans-serif;font-size:13px"> set(CMAKE_OSX_SYSROOT ${sdk_root}/${sdk})</div>
<div style="font-family:arial,sans-serif;font-size:13px"> endif()</div><div style="font-family:arial,sans-serif;font-size:13px">@@ -39,21 +34,14 @@ if (NOT CMAKE_OSX_SYSROOT)</div><div style="font-family:arial,sans-serif;font-size:13px">
endif()</div><div style="font-family:arial,sans-serif;font-size:13px"> message(STATUS "-- Using iOS SDK: ${CMAKE_OSX_SYSROOT}")</div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">
-# If the we are on 7.0 or higher SDK we should add simulator version min to get</div><div style="font-family:arial,sans-serif;font-size:13px">-# things to compile. This is probably more properly handled with a compiler version</div>
<div style="font-family:arial,sans-serif;font-size:13px">-# check but this works for now.</div><div style="font-family:arial,sans-serif;font-size:13px">-if(CMAKE_OSX_SYSROOT MATCHES iPhoneSimulator7.0.sdk)</div><div style="font-family:arial,sans-serif;font-size:13px">
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mios-simulator-version-min=5.0")</div><div style="font-family:arial,sans-serif;font-size:13px">- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mios-simulator-version-min=5.0")</div>
<div style="font-family:arial,sans-serif;font-size:13px">-else()</div><div style="font-family:arial,sans-serif;font-size:13px">- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000")</div>
<div style="font-family:arial,sans-serif;font-size:13px">- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__PHONE_OS_VERSION_MIN_REQIORED=50000") </div><div style="font-family:arial,sans-serif;font-size:13px">-endif()</div>
<div style="font-family:arial,sans-serif;font-size:13px">+SET (CMAKE_C_FLAGS "-arch i386 -arch x86_64 -isysroot ${CMAKE_OSX_SYSROOT} -std=c99 -x objective-c -DNDEBUG=1")</div><div style="font-family:arial,sans-serif;font-size:13px">
+SET (CMAKE_CXX_FLAGS "-arch i386 -arch x86_64 -isysroot ${CMAKE_OSX_SYSROOT} -x objective-c++ -DNDEBUG=1")</div><div style="font-family:arial,sans-serif;font-size:13px">+</div><div style="font-family:arial,sans-serif;font-size:13px">
+SET (CMAKE_EXE_LINKER_FLAGS "-miphoneos-version-min=6.0")</div><div style="font-family:arial,sans-serif;font-size:13px">+SET (CMAKE_SHARED_LINKER_FLAGS "-miphoneos-version-min=6.0")</div><div style="font-family:arial,sans-serif;font-size:13px">
+SET (CMAKE_MODULE_LINKER_FLAGS "-miphoneos-version-min=6.0")</div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">-set(CMAKE_OSX_ARCHITECTURES "${CMAKE_OSX_ARCHITECTURES}" CACHE STRING "osx architectures")</div>
<div style="font-family:arial,sans-serif;font-size:13px">-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" CACHE STRING "c++ flags")</div><div style="font-family:arial,sans-serif;font-size:13px">-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}" CACHE STRING "c flags")</div>
<div style="font-family:arial,sans-serif;font-size:13px">-set(CMAKE_OSX_SYSROOT "${CMAKE_OSX_SYSROOT}" CACHE PATH "osx sysroot")</div><div style="font-family:arial,sans-serif;font-size:13px">+set(MACOSX_BUNDLE_GUI_IDENTIFIER CACHE STRING "com.kitware.\${PRODUCT_NAME:identifier}")</div>
<div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px"> set(CMAKE_FIND_ROOT_PATH ${CMAKE_OSX_SYSROOT})</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">When I configure a superbuild and run make, the following errors occur:</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">[ 13%] Performing build step for 'curl-ios-device'</div><div style="font-family:arial,sans-serif;font-size:13px">Scanning dependencies of target libcurl</div>
<div style="font-family:arial,sans-serif;font-size:13px">[ 1%] Building C object lib/CMakeFiles/libcurl.dir/file.c.o</div><div style="font-family:arial,sans-serif;font-size:13px">[ 2%] Building C object lib/CMakeFiles/libcurl.dir/timeval.c.o</div>
<div style="font-family:arial,sans-serif;font-size:13px">[ 3%] Building C object lib/CMakeFiles/libcurl.dir/base64.c.o</div><div style="font-family:arial,sans-serif;font-size:13px">[ 4%] Building C object lib/CMakeFiles/libcurl.dir/hostip.c.o</div>
<div style="font-family:arial,sans-serif;font-size:13px">[ 5%] Building C object lib/CMakeFiles/libcurl.dir/progress.c.o</div><div style="font-family:arial,sans-serif;font-size:13px">[ 6%] Building C object lib/CMakeFiles/libcurl.dir/formdata.c.o</div>
<div style="font-family:arial,sans-serif;font-size:13px">In file included from /Volumes/iOS/KiwiGit/build/CMakeExternals/Source/curl/lib/formdata.c:39:</div><div style="font-family:arial,sans-serif;font-size:13px">/Volumes/iOS/KiwiGit/build/CMakeExternals/Source/curl/lib/strequal.h:33:8: error: </div>
<div style="font-family:arial,sans-serif;font-size:13px"> expected parameter declarator</div><div style="font-family:arial,sans-serif;font-size:13px">size_t strlcat(char *dst, const char *src, size_t siz);</div><div style="font-family:arial,sans-serif;font-size:13px">
^</div><div style="font-family:arial,sans-serif;font-size:13px">/usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'</div><div style="font-family:arial,sans-serif;font-size:13px"> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))</div>
<div style="font-family:arial,sans-serif;font-size:13px"> ^</div><div style="font-family:arial,sans-serif;font-size:13px">/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'</div>
<div style="font-family:arial,sans-serif;font-size:13px">#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIF...</div><div style="font-family:arial,sans-serif;font-size:13px"> ^</div>
<div style="font-family:arial,sans-serif;font-size:13px">/usr/include/secure/_common.h:30:32: note: expanded from macro</div><div style="font-family:arial,sans-serif;font-size:13px"> '_USE_FORTIFY_LEVEL'</div>
<div style="font-family:arial,sans-serif;font-size:13px"># define _USE_FORTIFY_LEVEL 2</div><div style="font-family:arial,sans-serif;font-size:13px"> ^</div><div style="font-family:arial,sans-serif;font-size:13px">
In file included from /Volumes/iOS/KiwiGit/build/CMakeExternals/Source/curl/lib/formdata.c:39:</div><div style="font-family:arial,sans-serif;font-size:13px">/Volumes/iOS/KiwiGit/build/CMakeExternals/Source/curl/lib/strequal.h:33:8: error: </div>
<div style="font-family:arial,sans-serif;font-size:13px"> expected ')'</div><div style="font-family:arial,sans-serif;font-size:13px">/usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'</div>
<div style="font-family:arial,sans-serif;font-size:13px"> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))</div><div style="font-family:arial,sans-serif;font-size:13px"> ^</div>
<div style="font-family:arial,sans-serif;font-size:13px">/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'</div><div style="font-family:arial,sans-serif;font-size:13px">#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIF...</div>
<div style="font-family:arial,sans-serif;font-size:13px"> ^</div><div style="font-family:arial,sans-serif;font-size:13px">/usr/include/secure/_common.h:30:32: note: expanded from macro</div>
<div style="font-family:arial,sans-serif;font-size:13px"> '_USE_FORTIFY_LEVEL'</div><div style="font-family:arial,sans-serif;font-size:13px"># define _USE_FORTIFY_LEVEL 2</div><div style="font-family:arial,sans-serif;font-size:13px">
^</div><div style="font-family:arial,sans-serif;font-size:13px">/Volumes/iOS/KiwiGit/build/CMakeExternals/Source/curl/lib/strequal.h:33:8: note: </div><div style="font-family:arial,sans-serif;font-size:13px">
to match this '('</div><div style="font-family:arial,sans-serif;font-size:13px">/usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'</div><div style="font-family:arial,sans-serif;font-size:13px">
__builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))</div><div style="font-family:arial,sans-serif;font-size:13px"> ^</div><div style="font-family:arial,sans-serif;font-size:13px">
/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz'</div><div style="font-family:arial,sans-serif;font-size:13px">#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIF...</div>
<div style="font-family:arial,sans-serif;font-size:13px"> ^</div><div style="font-family:arial,sans-serif;font-size:13px">In file included from /Volumes/iOS/KiwiGit/build/CMakeExternals/Source/curl/lib/formdata.c:39:</div>
<div style="font-family:arial,sans-serif;font-size:13px">/Volumes/iOS/KiwiGit/build/CMakeExternals/Source/curl/lib/strequal.h:33:8: warning: </div><div style="font-family:arial,sans-serif;font-size:13px"> type specifier missing, defaults to 'int' [-Wimplicit-int]</div>
<div style="font-family:arial,sans-serif;font-size:13px">size_t strlcat(char *dst, const char *src, size_t siz);</div><div style="font-family:arial,sans-serif;font-size:13px"> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div>
<div style="font-family:arial,sans-serif;font-size:13px">/usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'</div><div style="font-family:arial,sans-serif;font-size:13px"> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))</div>
<div style="font-family:arial,sans-serif;font-size:13px"> ^~~~~~~~~~~~~~~~~~~~</div><div style="font-family:arial,sans-serif;font-size:13px">/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz'</div>
<div style="font-family:arial,sans-serif;font-size:13px">#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIF...</div><div style="font-family:arial,sans-serif;font-size:13px"> ^~~~~~~~~~~~~~~~~~~~~</div>
<div style="font-family:arial,sans-serif;font-size:13px">In file included from /Volumes/iOS/KiwiGit/build/CMakeExternals/Source/curl/lib/formdata.c:39:</div><div style="font-family:arial,sans-serif;font-size:13px">/Volumes/iOS/KiwiGit/build/CMakeExternals/Source/curl/lib/strequal.h:33:8: error: </div>
<div style="font-family:arial,sans-serif;font-size:13px"> conflicting types for '__builtin___strlcat_chk'</div><div style="font-family:arial,sans-serif;font-size:13px">/usr/include/secure/_string.h:111:3: note: expanded from macro 'strlcat'</div>
<div style="font-family:arial,sans-serif;font-size:13px"> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))</div><div style="font-family:arial,sans-serif;font-size:13px"> ^</div><div style="font-family:arial,sans-serif;font-size:13px">
/Volumes/iOS/KiwiGit/build/CMakeExternals/Source/curl/lib/strequal.h:33:8: note: </div><div style="font-family:arial,sans-serif;font-size:13px"> '__builtin___strlcat_chk' is a builtin with type 'unsigned long (char *,</div>
<div style="font-family:arial,sans-serif;font-size:13px"> const char *, unsigned long, unsigned long)'</div><div style="font-family:arial,sans-serif;font-size:13px">/usr/include/secure/_string.h:111:3: note: expanded from macro 'strlcat'</div>
<div style="font-family:arial,sans-serif;font-size:13px"> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))</div><div style="font-family:arial,sans-serif;font-size:13px"> ^</div><div style="font-family:arial,sans-serif;font-size:13px">
1 warning and 3 errors generated.</div><div style="font-family:arial,sans-serif;font-size:13px">make[5]: *** [lib/CMakeFiles/libcurl.dir/formdata.c.o] Error 1</div><div style="font-family:arial,sans-serif;font-size:13px">
make[4]: *** [lib/CMakeFiles/libcurl.dir/all] Error 2</div><div style="font-family:arial,sans-serif;font-size:13px">make[3]: *** [all] Error 2</div><div style="font-family:arial,sans-serif;font-size:13px">make[2]: *** [CMakeExternals/Stamp/curl-ios-device/curl-ios-device-build] Error 2</div>
<div style="font-family:arial,sans-serif;font-size:13px">make[1]: *** [CMakeFiles/curl-ios-device.dir/all] Error 2</div><div style="font-family:arial,sans-serif;font-size:13px">make: *** [all] Error 2</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Best regards,</div><div style="font-family:arial,sans-serif;font-size:13px">Benedikt</div></div>
<br>_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&D Engineer <br>| Kitware Inc. <br>| <a href="http://www.kitware.com">www.kitware.com</a>
</div>