{"action":"created","issue":{"url":"https://api.github.com/repos/BelledonneCommunications/linphone-iphone/issues/67","repository_url":"https://api.github.com/repos/BelledonneCommunications/linphone-iphone","labels_url":"https://api.github.com/repos/BelledonneCommunications/linphone-iphone/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/BelledonneCommunications/linphone-iphone/issues/67/comments","events_url":"https://api.github.com/repos/BelledonneCommunications/linphone-iphone/issues/67/events","html_url":"https://github.com/BelledonneCommunications/linphone-iphone/issues/67","id":154523437,"number":67,"title":"Build SDK on step 5 failed!","user":{"login":"LiangyongFShen","id":9392024,"avatar_url":"https://avatars.githubusercontent.com/u/9392024?v=3","gravatar_id":"","url":"https://api.github.com/users/LiangyongFShen","html_url":"https://github.com/LiangyongFShen","followers_url":"https://api.github.com/users/LiangyongFShen/followers","following_url":"https://api.github.com/users/LiangyongFShen/following{/other_user}","gists_url":"https://api.github.com/users/LiangyongFShen/gists{/gist_id}","starred_url":"https://api.github.com/users/LiangyongFShen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiangyongFShen/subscriptions","organizations_url":"https://api.github.com/users/LiangyongFShen/orgs","repos_url":"https://api.github.com/users/LiangyongFShen/repos","events_url":"https://api.github.com/users/LiangyongFShen/events{/privacy}","received_events_url":"https://api.github.com/users/LiangyongFShen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-05-12T16:17:10Z","updated_at":"2016-05-25T15:06:29Z","closed_at":null,"body":"# I try to run the step4 and the step5, but there was some errors\r\n\r\n**Step 4**\r\nyesdeMacBook-Pro-2:linphone-iphone hanzimacbook-pro$ export PATH=/usr/local/bin:$PATH\r\n\r\n**Step 5**\r\n```\r\nyesdeMacBook-Pro-2:linphone-iphone hanzimacbook-pro$ ./prepare.py i386 && make\r\n\r\nWARNING: Working directory WORK already exists. Please remove it (option -C or -c) before re-executing CMake to avoid conflicts between executions, or force execution (option -f) if you are aware of consequences.\r\nprepare.py was previously executed with the following options:\r\n   ./prepare.py\r\n/Applications/Xcode.app/Contents/Developer/usr/bin/make -C WORK/ios-x86_64/cmake\r\nScanning dependencies of target EP_antlr3c\r\n[  0%] Creating directories for 'EP_antlr3c'\r\n[  1%] No download step for 'EP_antlr3c'\r\n[  2%] No patch step for 'EP_antlr3c'\r\n[  2%] No update step for 'EP_antlr3c'\r\n[  3%] Performing configure step for 'EP_antlr3c'\r\nloading initial cache file /Users/hanzimacbook-pro/linphone-iphone/WORK/ios-x86_64//tmp/EP_antlr3c/EP_antlr3c-cache-Release.cmake\r\n-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk\r\n-- Using sdk version: 8.4\r\n-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk\r\n-- Using sdk version: 8.4\r\n-- Looking for arpa/nameser.h\r\n-- Looking for arpa/nameser.h - found\r\n-- Looking for ctype.h\r\n......\r\n-- Installing: /Users/hanzimacbook-pro/linphone-iphone/liblinphone-sdk/x86_64-apple-darwin.ios/include/ortp/telephonyevents.h\r\n-- Installing: /Users/hanzimacbook-pro/linphone-iphone/liblinphone-sdk/x86_64-apple-darwin.ios/lib/libortp.a\r\n[ 37%] Completed 'EP_ortp'\r\n[ 37%] Built target EP_ortp\r\nScanning dependencies of target EP_vpx\r\n[ 38%] Creating directories for 'EP_vpx'\r\n[ 39%] No download step for 'EP_vpx'\r\n[ 40%] No patch step for 'EP_vpx'\r\n[ 40%] No update step for 'EP_vpx'\r\n[ 40%] Performing configure step for 'EP_vpx'\r\n  disabling shared\r\n  enabling error_concealment\r\n  enabling realtime_only\r\n  enabling vp8\r\n  disabling vp9\r\n  disabling install_docs\r\n  disabling debug_libs\r\n  disabling examples\r\n  disabling unit_tests\r\nConfiguring selected codecs\r\nConfiguring for target 'x86_64-iphonesimulator-gcc'\r\n  enabling x86_64\r\n  enabling runtime_cpu_detect\r\n  using yasm\r\n  enabling use_x86inc\r\n  enabling postproc\r\n  enabling webm_io\r\n  enabling libyuv\r\nUnable to invoke compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -arch x86_64 -mios-simulator-version-min=6.0 -DTARGET_OS_IPHONE=1 -D__IOS -fms-extensions   -miphoneos-version-min=6.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk -m64 -arch x86_64\r\n\r\nConfiguration failed. This could reflect a misconfiguration of your\r\ntoolchains, improper options selected, or another problem. If you\r\ndon't see any useful error messages above, the next step is to look\r\nat the configure error log file (config.log) to determine what\r\nconfigure was trying to do when it died.\r\nmake[3]: *** [/Users/hanzimacbook-pro/linphone-iphone/WORK/ios-x86_64/Stamp/EP_vpx/EP_vpx-configure] Error 1\r\nmake[2]: *** [CMakeFiles/EP_vpx.dir/all] Error 2\r\nmake[1]: *** [all] Error 2\r\nmake: *** [x86_64-build] Error 2\r\n```\r\n# Try it also\r\n```\r\nAlso I tried to run $./prepare.py -c && ./prepare.py && make\r\noutput:\r\n cmake /Users/hanzimacbook-pro/linphone-iphone/submodules/cmake-builder -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/Users/hanzimacbook-pro/linphone-iphone/liblinphone-sdk/x86_64-apple-darwin.ios -DCMAKE_INSTALL_PREFIX=/Users/hanzimacbook-pro/linphone-iphone/liblinphone-sdk/x86_64-apple-darwin.ios -DLINPHONE_BUILDER_WORK_DIR=/Users/hanzimacbook-pro/linphone-iphone/WORK/ios-x86_64 -DCMAKE_TOOLCHAIN_FILE=toolchains/toolchain-ios-x86_64.cmake -DLINPHONE_BUILDER_CONFIG_FILE=configs/config-ios-x86_64.cmake -DCMAKE_INSTALL_MESSAGE=LAZY -DLINPHONE_BUILDER_EXTERNAL_SOURCE_PATH=/Users/hanzimacbook-pro/linphone-iphone/submodules -G \"Unix Makefiles\" -DLINPHONE_IOS_DEPLOYMENT_TARGET=6.0 \"-DLINPHONE_BUILDER_DUMMY_LIBRARIES=libopenh264 libcunit libavcodec libspeex libbelr libpolarssl libswresample libmediastreamer_voip libopus libmbedtls libbellesip libopencore-amrwb libsrtp libvo-amrwbenc libmbedx509 libbzrtp libgsm libtunnel libmsbcg729 liblinphonetester libswscale libvpx libmsamr libbcg729 libspeexdsp liblinphone libx264 libortp libmsopenh264 libebml2 libmediastreamer_base libbelcard libmbedcrypto libavutil libmssilk libbctoolbox-tester libopencore-amrnb libmatroska2 libmswebrtc libantlr3c libmsx264 libcorec libbctoolbox\"\r\n-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk\r\n-- Using sdk version: 8.4\r\n-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk\r\n-- Using sdk version: 8.4\r\n-- Found PythonInterp: /usr/bin/python (found version \"2.7.10\") \r\n-- Using toolchain file '/Users/hanzimacbook-pro/linphone-iphone/submodules/cmake-builder/toolchains/toolchain-ios-x86_64.cmake'\r\n-- Using configuration file '/Users/hanzimacbook-pro/linphone-iphone/submodules/cmake-builder/configs/config-ios-x86_64.cmake'\r\n-- Including builder mbedtls\r\n-- Including builder cunit\r\n-- Including builder bctoolbox\r\n......\r\n-- Installing: /Users/hanzimacbook-pro/linphone-iphone/liblinphone-sdk/x86_64-apple-darwin.ios/lib/libmatroska2.a\r\n[ 58%] Completed 'EP_matroska2'\r\n[ 58%] Built target EP_matroska2\r\nScanning dependencies of target EP_vpx\r\n[ 59%] Creating directories for 'EP_vpx'\r\n[ 60%] No download step for 'EP_vpx'\r\n[ 61%] No patch step for 'EP_vpx'\r\n[ 61%] No update step for 'EP_vpx'\r\n[ 61%] Performing configure step for 'EP_vpx'\r\n  disabling shared\r\n  enabling error_concealment\r\n  enabling realtime_only\r\n  enabling vp8\r\n  disabling vp9\r\n  disabling install_docs\r\n  disabling debug_libs\r\n  disabling examples\r\n  disabling unit_tests\r\nConfiguring selected codecs\r\nConfiguring for target 'x86_64-iphonesimulator-gcc'\r\n  enabling x86_64\r\n  enabling runtime_cpu_detect\r\n  using yasm\r\n  enabling use_x86inc\r\n  enabling postproc\r\n  enabling webm_io\r\n  enabling libyuv\r\nUnable to invoke compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -arch x86_64 -mios-simulator-version-min=6.0 -DTARGET_OS_IPHONE=1 -D__IOS -fms-extensions   -miphoneos-version-min=6.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk -m64 -arch x86_64\r\n\r\nConfiguration failed. This could reflect a misconfiguration of your\r\ntoolchains, improper options selected, or another problem. If you\r\ndon't see any useful error messages above, the next step is to look\r\nat the configure error log file (config.log) to determine what\r\nconfigure was trying to do when it died.\r\nmake[3]: *** [/Users/hanzimacbook-pro/linphone-iphone/WORK/ios-x86_64/Stamp/EP_vpx/EP_vpx-configure] Error 1\r\nmake[2]: *** [CMakeFiles/EP_vpx.dir/all] Error 2\r\nmake[1]: *** [all] Error 2\r\nmake: *** [x86_64-build] Error 2\r\nyesdeMacBook-Pro-2:linphone-iphone hanzimacbook-pro$ \r\n```\r\nHow to fix it , thanks?\r\n"},"comment":{"url":"https://api.github.com/repos/BelledonneCommunications/linphone-iphone/issues/comments/221606071","html_url":"https://github.com/BelledonneCommunications/linphone-iphone/issues/67#issuecomment-221606071","issue_url":"https://api.github.com/repos/BelledonneCommunications/linphone-iphone/issues/67","id":221606071,"user":{"login":"LiangyongFShen","id":9392024,"avatar_url":"https://avatars.githubusercontent.com/u/9392024?v=3","gravatar_id":"","url":"https://api.github.com/users/LiangyongFShen","html_url":"https://github.com/LiangyongFShen","followers_url":"https://api.github.com/users/LiangyongFShen/followers","following_url":"https://api.github.com/users/LiangyongFShen/following{/other_user}","gists_url":"https://api.github.com/users/LiangyongFShen/gists{/gist_id}","starred_url":"https://api.github.com/users/LiangyongFShen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiangyongFShen/subscriptions","organizations_url":"https://api.github.com/users/LiangyongFShen/orgs","repos_url":"https://api.github.com/users/LiangyongFShen/repos","events_url":"https://api.github.com/users/LiangyongFShen/events{/privacy}","received_events_url":"https://api.github.com/users/LiangyongFShen/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T15:06:28Z","updated_at":"2016-05-25T15:06:28Z","body":"My current OS X is 10.11.4 and my Xcode is 7.3.1\r\n\r\nWhen I run step4  and step5\r\n\r\nyesdeMBP-2:—recursive hanzimacbook-pro$ `export PATH=/usr/local/bin:$PATH`\r\nyesdeMBP-2:—recursive hanzimacbook-pro$ `./prepare.py all && make`\r\n cmake /Users/xxxx/—recursive/submodules/cmake-builder -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/Users/xxx/—recursive/liblinphone-sdk/arm64-apple-darwin.ios -DCMAKE_INSTALL_PREFIX=/Users/xxx/—recursive/liblinphone-sdk/arm64-apple-darwin.ios -DCMAKE_NO_SYSTEM_FROM_IMPORTED=YES -DLINPHONE_BUILDER_WORK_DIR=/Users/xxx/—recursive/WORK/ios-arm64 -DCMAKE_TOOLCHAIN_FILE=toolchains/toolchain-ios-arm64.cmake -DLINPHONE_BUILDER_CONFIG_FILE=configs/config-ios-arm64.cmake -DCMAKE_INSTALL_MESSAGE=LAZY -DLINPHONE_BUILDER_EXTERNAL_SOURCE_PATH=/Users/xxx/—recursive/submodules -G \"Unix Makefiles\" -DLINPHONE_IOS_DEPLOYMENT_TARGET=6.0 \"-DLINPHONE_BUILDER_DUMMY_LIBRARIES=libopenh264 libcunit libavcodec libspeex libbelr libpolarssl libswresample libmediastreamer_voip libopus libmbedtls libbellesip libopencore-amrwb libsrtp libvo-amrwbenc libmbedx509 libbzrtp libgsm libtunnel libmsbcg729 liblinphonetester libswscale libvpx libmsamr libbcg729 libspeexdsp liblinphone libx264 libortp libmsopenh264 libebml2 libmediastreamer_base libbelcard libmbedcrypto libavutil libmssilk libbctoolbox-tester libopencore-amrnb libmatroska2 libmswebrtc libantlr3c libmsx264 libcorec libbctoolbox\"\r\n-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk\r\n-- Using sdk version: 9.3\r\n-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk\r\n-- Using sdk version: 9.3\r\n-- Using toolchain file '/Users/xxx/—recursive/submodules/cmake-builder/toolchains/toolchain-ios-arm64.cmake'\r\n-- Using configuration file '/Users/xxx/—recursive/submodules/cmake-builder/configs/config-ios-arm64.cmake'\r\nCMake Error at configs/config-ios.cmake:60 (message):\r\n  You need at least CMake version 3.3.20150815 but you are currently using\r\n  3.3.2.  There is no Cmake release available for it yet, so you must either\r\n  compile it manually or revert to XCode6 temporary.\r\nCall Stack (most recent call first):\r\n  configs/config-ios-arm64.cmake:24 (include)\r\n  CMakeLists.txt:67 (include)\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/Users/xxx/—recursive/WORK/ios-arm64/cmake/CMakeFiles/CMakeOutput.log\".\r\nERROR: Configuration failed, please check errors and rerun prepare.py.\r\nERROR: Aborting now.\r\n\r\nAs the out put message show ：\r\n```\r\nThere is no Cmake release available for it yet, so you must either\r\n  compile it manually or revert to XCode6 temporary.\r\n```\r\n\r\n```\r\n1.How can I install cmake version > 3.3.2 ?\r\n2.How can I compile it manually?\r\n```\r\n\r\n"}}
{"actor":{"display_login":"LiangyongFShen"}}