GNOME Bugzilla – Bug 723641
error compiling via cerbero - taglib wants LLVM-GCC but Xcode 5 doesn't have it
Last modified: 2014-11-08 14:15:02 UTC
It looks as though taglib wants LLVM to compile. LLVM-GCC is not included in Xcode 5. [(36/68) taglib -> fetch ] [(36/68) taglib -> extract ] [(36/68) taglib -> configure ] CMake Error: your C compiler: "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2" was not found. Please set CMAKE_C_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-g++-4.2" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Ensure you cppunit installed version is at least 1.12.0 -- Configuring incomplete, errors occurred! See also "/Users/mike/cerbero/sources/ios_universal/x86/taglib-1.7.2/CMakeFiles/CMakeOutput.log". See also "/Users/mike/cerbero/sources/ios_universal/x86/taglib-1.7.2/CMakeFiles/CMakeError.log". Running command 'cmake -DCMAKE_INSTALL_PREFIX=/Users/mike/cerbero/dist/ios_universal -DCMAKE_LIBRARY_OUTPUT_PATH=/Users/mike/cerbero/dist/ios_universal/lib -DWITH_MP4=ON -DWITH_ASF=ON -DENABLE_STATIC=1 -DZLIB_ROOT=/Users/mike/cerbero/dist/ios_universal -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -DCMAKE_C_FLAGS=" -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -miphoneos-version-min=5.1 -D__IPHONE_OS_VERSION_MIN_REQUIRED=510000 -Wno-error=format-nonliteral " -DCMAKE_CXX_FLAGS=" -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -miphoneos-version-min=5.1 -D__IPHONE_OS_VERSION_MIN_REQUIRED=510000 -Wno-error=format-nonliteral " -DLIB_SUFFIX= -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_ROOT_PATH=$CERBERO_PREFIX ' Recipe 'taglib' failed at the build step 'configure'
Having both Xcode 4.6.x and Xcode 5 installed may be a workaround.
What version of the compiler is available on xcode 4.6? We use "clang" for iOS 7.0 SDK and llvm-gcc-4.2 otherwise on iOS.
Created attachment 268165 [details] [review] cmake: set CMAKE_C_COMPILER and CMAKE_CXX_COMPILER
commit 595a664170e9d2ea9763c5585ad19374aa6d8bcf Author: Andoni Morales Alastruey <ylatuya@gmail.com> Date: Wed Feb 5 13:57:37 2014 +0100 cmake: set CC and CXX compiler variables for all platforms https://bugzilla.gnome.org/show_bug.cgi?id=723641