Closed headupinclouds closed 5 years ago
TOOLCHAIN=android-ndk-r17-api-24-arm64-v8a-clang-libcxx14 CONFIG=Release INSTALL=--strip TEST=--test GPU=OFF BUILD_SHARED=OFF
2: Run command on Android device: 2: [/data/local/tmp/acf/android-ndk-r17-api-24-arm64-v8a-clang-libcxx14]> "/data/local/tmp/acf/android-ndk-r17-api-24-arm64-v8a-clang-libcxx14/bin/test-acf-unit" "/data/local/tmp/acf/android-ndk-r17-api-24-arm64-v8a-clang-libcxx14/data/lena512color.png" 2: Command output (with exit code): 2: *** BEGIN *** 2: "/data/local/tmp/acf/android-ndk-r17-api-24-arm64-v8a-clang-libcxx14/bin/test-acf-unit": error: only position independent executables (PIE) are supported. 2: Aborted 2: 134 2: *** END *** 2: CMake Error at _3rdParty/gauze_test/ACFTest_unit.cmake:263 (message): 2: Command exits with error code: 134 2: 2: Errors while running CTest 2/2 Test #2: ACFTest_unit .....................***Failed 1.90 sec
TOOLCHAIN=osx-10-12-sanitize-address-hid-sections CONFIG=Release INSTALL=--install TEST=--test GPU=OFF BUILD_SHARED=ON
hid-sections/src/lib/Release/libacf..dylib Undefined symbols for architecture x86_64: "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::operator=(char const*)", referenced from: cv::ocl::get_platform_name(_cl_platform_id*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in libopencv_world.a(ocl.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
TOOLCHAIN=android-ndk-r17-api-24-arm64-v8a-clang-libcxx14 CONFIG=Release INSTALL=--strip TEST=--test GPU=OFF BUILD_SHARED=OFF
TOOLCHAIN=osx-10-12-sanitize-address-hid-sections CONFIG=Release INSTALL=--install TEST=--test GPU=OFF BUILD_SHARED=ON