Created
September 4, 2018 22:12
-
-
Save amrox/522e7968c5badbb2fdd168068843e808 to your computer and use it in GitHub Desktop.
OpenCV Xcode 10 error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python platforms/ios/build_framework.py build/ios | |
Executing: ['cmake', '-GXcode', '-DAPPLE_FRAMEWORK=ON', '-DCMAKE_INSTALL_PREFIX=install', '-DCMAKE_BUILD_TYPE=Release', '-DIOS_ARCH=armv7', '-DCMAKE_TOOLCHAIN_FILE=/Users/amrox/opencv/platforms/ios/cmake/Toolchains/Toolchain-iPhoneOS_Xcode.cmake', '-DENABLE_NEON=ON', '/Users/amrox//slyce.cvlib/3rdparty/opencv'] in /Users/amrox//slyce.cvlib/3rdparty/opencv/build/ios/build/build-armv7-iphoneos | |
-- Setting up iPhoneOS toolchain for IOS_ARCH='armv7' | |
-- iPhoneOS toolchain loaded | |
-- Setting up iPhoneOS toolchain for IOS_ARCH='armv7' | |
-- iPhoneOS toolchain loaded | |
-- The CXX compiler identification is AppleClang 10.0.0.10001043 | |
-- The C compiler identification is AppleClang 10.0.0.10001043 | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - failed | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - failed | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Performing Test HAVE_CXX11 (check file: cmake/checks/cxx11.cpp) | |
-- Performing Test HAVE_CXX11 - Failed | |
-- Performing Test HAVE_CXX_FSIGNED_CHAR | |
-- Performing Test HAVE_CXX_FSIGNED_CHAR - Failed | |
-- Performing Test HAVE_C_FSIGNED_CHAR | |
-- Performing Test HAVE_C_FSIGNED_CHAR - Success | |
-- Performing Test HAVE_CXX_W | |
-- Performing Test HAVE_CXX_W - Failed | |
-- Performing Test HAVE_C_W | |
-- Performing Test HAVE_C_W - Success | |
-- Performing Test HAVE_CXX_WALL | |
-- Performing Test HAVE_CXX_WALL - Failed | |
-- Performing Test HAVE_C_WALL | |
-- Performing Test HAVE_C_WALL - Success | |
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE | |
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Failed | |
-- Performing Test HAVE_C_WERROR_RETURN_TYPE | |
-- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success | |
-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR | |
-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Failed | |
-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR | |
-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Success | |
-- Performing Test HAVE_CXX_WERROR_ADDRESS | |
-- Performing Test HAVE_CXX_WERROR_ADDRESS - Failed | |
-- Performing Test HAVE_C_WERROR_ADDRESS | |
-- Performing Test HAVE_C_WERROR_ADDRESS - Success | |
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT | |
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Failed | |
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT | |
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success | |
-- Performing Test HAVE_CXX_WFORMAT | |
-- Performing Test HAVE_CXX_WFORMAT - Failed | |
-- Performing Test HAVE_C_WFORMAT | |
-- Performing Test HAVE_C_WFORMAT - Success | |
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY | |
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Failed | |
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY | |
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success | |
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS | |
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Failed | |
-- Performing Test HAVE_C_WMISSING_DECLARATIONS | |
-- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success | |
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES | |
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed | |
-- Performing Test HAVE_C_WMISSING_PROTOTYPES | |
-- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success | |
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES | |
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed | |
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES | |
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success | |
-- Performing Test HAVE_CXX_WUNDEF | |
-- Performing Test HAVE_CXX_WUNDEF - Failed | |
-- Performing Test HAVE_C_WUNDEF | |
-- Performing Test HAVE_C_WUNDEF - Success | |
-- Performing Test HAVE_CXX_WINIT_SELF | |
-- Performing Test HAVE_CXX_WINIT_SELF - Failed | |
-- Performing Test HAVE_C_WINIT_SELF | |
-- Performing Test HAVE_C_WINIT_SELF - Success | |
-- Performing Test HAVE_CXX_WPOINTER_ARITH | |
-- Performing Test HAVE_CXX_WPOINTER_ARITH - Failed | |
-- Performing Test HAVE_C_WPOINTER_ARITH | |
-- Performing Test HAVE_C_WPOINTER_ARITH - Success | |
-- Performing Test HAVE_CXX_WSHADOW | |
-- Performing Test HAVE_CXX_WSHADOW - Failed | |
-- Performing Test HAVE_C_WSHADOW | |
-- Performing Test HAVE_C_WSHADOW - Success | |
-- Performing Test HAVE_CXX_WSIGN_PROMO | |
-- Performing Test HAVE_CXX_WSIGN_PROMO - Failed | |
-- Performing Test HAVE_C_WSIGN_PROMO | |
-- Performing Test HAVE_C_WSIGN_PROMO - Success | |
-- Performing Test HAVE_CXX_WUNINITIALIZED | |
-- Performing Test HAVE_CXX_WUNINITIALIZED - Failed | |
-- Performing Test HAVE_C_WUNINITIALIZED | |
-- Performing Test HAVE_C_WUNINITIALIZED - Success | |
-- Performing Test HAVE_CXX_WNO_NARROWING | |
-- Performing Test HAVE_CXX_WNO_NARROWING - Failed | |
-- Performing Test HAVE_C_WNO_NARROWING | |
-- Performing Test HAVE_C_WNO_NARROWING - Success | |
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR | |
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Failed | |
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR | |
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Success | |
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS | |
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed | |
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS | |
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success | |
-- Performing Test HAVE_CXX_WNO_COMMENT | |
-- Performing Test HAVE_CXX_WNO_COMMENT - Failed | |
-- Performing Test HAVE_C_WNO_COMMENT | |
-- Performing Test HAVE_C_WNO_COMMENT - Success | |
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION | |
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Failed | |
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION | |
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success | |
-- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS | |
-- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS - Failed | |
-- Performing Test HAVE_C_QUNUSED_ARGUMENTS | |
-- Performing Test HAVE_C_QUNUSED_ARGUMENTS - Success | |
-- Performing Test HAVE_CXX_WNO_SEMICOLON_BEFORE_METHOD_BODY | |
-- Performing Test HAVE_CXX_WNO_SEMICOLON_BEFORE_METHOD_BODY - Failed | |
-- Performing Test HAVE_C_WNO_SEMICOLON_BEFORE_METHOD_BODY | |
-- Performing Test HAVE_C_WNO_SEMICOLON_BEFORE_METHOD_BODY - Success | |
-- Performing Test HAVE_CXX_MFPU_VFPV3 | |
-- Performing Test HAVE_CXX_MFPU_VFPV3 - Failed | |
-- VFPV3 is not supported by C++ compiler | |
-- Performing Test HAVE_CPU_NEON_SUPPORT (check file: cmake/checks/cpu_neon.cpp) | |
-- Performing Test HAVE_CPU_NEON_SUPPORT - Failed | |
-- Performing Test HAVE_CXX_MFPU_NEON (check file: cmake/checks/cpu_neon.cpp) | |
-- Performing Test HAVE_CXX_MFPU_NEON - Failed | |
-- NEON is not supported by C++ compiler | |
-- Performing Test HAVE_CPU_FP16_SUPPORT (check file: cmake/checks/cpu_fp16.cpp) | |
-- Performing Test HAVE_CPU_FP16_SUPPORT - Failed | |
-- Performing Test HAVE_CXX_MFPU_NEON_FP16 (check file: cmake/checks/cpu_fp16.cpp) | |
-- Performing Test HAVE_CXX_MFPU_NEON_FP16 - Failed | |
-- FP16 is not supported by C++ compiler | |
CMake Error at cmake/OpenCVCompilerOptimizations.cmake:458 (message): | |
Required baseline optimization is not supported: NEON | |
(CPU_BASELINE_REQUIRE=;NEON) | |
Call Stack (most recent call first): | |
cmake/OpenCVCompilerOptions.cmake:259 (include) | |
CMakeLists.txt:555 (include) | |
-- Performing Test HAVE_CPU_BASELINE_FLAGS | |
-- Performing Test HAVE_CPU_BASELINE_FLAGS - Failed | |
CMake Error at cmake/OpenCVCompilerOptimizations.cmake:505 (message): | |
Compiler doesn't support baseline optimization flags: | |
Call Stack (most recent call first): | |
cmake/OpenCVCompilerOptions.cmake:261 (ocv_compiler_optimization_options) | |
CMakeLists.txt:555 (include) | |
-- Configuring incomplete, errors occurred! | |
See also "/Users/amrox/opencv/build/ios/build/build-armv7-iphoneos/CMakeFiles/CMakeOutput.log". | |
See also "/Users/amrox/opencv/build/ios/build/build-armv7-iphoneos/CMakeFiles/CMakeError.log". | |
============================================================ | |
ERROR: Command '['cmake', '-GXcode', '-DAPPLE_FRAMEWORK=ON', '-DCMAKE_INSTALL_PREFIX=install', '-DCMAKE_BUILD_TYPE=Release', '-DIOS_ARCH=armv7', '-DCMAKE_TOOLCHAIN_FILE=/Users/amrox/opencv/platforms/ios/cmake/Toolchains/Toolchain-iPhoneOS_Xcode.cmake', '-DENABLE_NEON=ON', '/Users/amrox//slyce.cvlib/3rdparty/opencv']' returned non-zero exit status 1 | |
============================================================ | |
Traceback (most recent call last): | |
File "platforms/ios/build_framework.py", line 112, in build | |
self._build(outdir) | |
File "platforms/ios/build_framework.py", line 104, in _build | |
self.buildOne(t[0], t[1], mainBD, cmake_flags) | |
File "platforms/ios/build_framework.py", line 189, in buildOne | |
execute(cmakecmd, cwd = builddir) | |
File "platforms/ios/build_framework.py", line 36, in execute | |
retcode = check_call(cmd, cwd = cwd) | |
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call | |
raise CalledProcessError(retcode, cmd) | |
CalledProcessError: Command '['cmake', '-GXcode', '-DAPPLE_FRAMEWORK=ON', '-DCMAKE_INSTALL_PREFIX=install', '-DCMAKE_BUILD_TYPE=Release', '-DIOS_ARCH=armv7', '-DCMAKE_TOOLCHAIN_FILE=/Users/amrox/opencv/platforms/ios/cmake/Toolchains/Toolchain-iPhoneOS_Xcode.cmake', '-DENABLE_NEON=ON', '/Users/amrox//slyce.cvlib/3rdparty/opencv']' returned non-zero exit status 1 | |
amrox at mushu in ~/opencv (tags/3.4.3) | |
$ git rev-parse HEAD | |
b38c50b3d0c31e82294315ec44b54b7ef559ef12 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment