Skip to content

Instantly share code, notes, and snippets.

@hnarayanan
Created November 22, 2014 12:54
Show Gist options
  • Save hnarayanan/327611ac19cfd95eb280 to your computer and use it in GitHub Desktop.
Save hnarayanan/327611ac19cfd95eb280 to your computer and use it in GitHub Desktop.
16%] Performing configure step for 'curl-ios-simulator'
loading initial cache file /Users/harish/Projects/VES/CMake/toolchains/curl-TryRunResults.cmake
-- -- Using iOS SDK: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
-- The C compiler identification is AppleClang 6.0.0.6000054
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -- broken
CMake Error at /opt/local/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/harish/Projects/VES_build/CMakeExternals/Build/curl-ios-simulator/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec835651897/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f
CMakeFiles/cmTryCompileExec835651897.dir/build.make
CMakeFiles/cmTryCompileExec835651897.dir/build
/opt/local/bin/cmake -E cmake_progress_report
/Users/harish/Projects/VES_build/CMakeExternals/Build/curl-ios-simulator/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec835651897.dir/testCCompiler.c.o
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
-fvisibility=hidden -fvisibility-inlines-hidden
-D__PHONE_OS_VERSION_MIN_REQIORED=50000 -fvisibility=hidden
-fvisibility-inlines-hidden -D__PHONE_OS_VERSION_MIN_REQIORED=50000 -arch
i386 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
-o CMakeFiles/cmTryCompileExec835651897.dir/testCCompiler.c.o -c
/Users/harish/Projects/VES_build/CMakeExternals/Build/curl-ios-simulator/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec835651897
/opt/local/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec835651897.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
-fvisibility=hidden -fvisibility-inlines-hidden
-D__PHONE_OS_VERSION_MIN_REQIORED=50000 -fvisibility=hidden
-fvisibility-inlines-hidden -D__PHONE_OS_VERSION_MIN_REQIORED=50000 -arch
i386 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
-Wl,-headerpad_max_install_names
CMakeFiles/cmTryCompileExec835651897.dir/testCCompiler.c.o -o
cmTryCompileExec835651897
ld: building for MacOSX, but linking against dylib built for iOS Simulator
file
'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/lib/libSystem.dylib'
for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [cmTryCompileExec835651897] Error 1
make[3]: *** [cmTryCompileExec835651897/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:24 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/harish/Projects/VES_build/CMakeExternals/Build/curl-ios-simulator/CMakeFiles/CMakeOutput.log".
See also "/Users/harish/Projects/VES_build/CMakeExternals/Build/curl-ios-simulator/CMakeFiles/CMakeError.log".
make[2]: *** [CMakeExternals/Stamp/curl-ios-simulator/curl-ios-simulator-configure] Error 1
make[1]: *** [CMakeFiles/curl-ios-simulator.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment