导入demo TurnstileAndroid
huhongqiang030 发布于2017-12 浏览:2334 回复:2
1
收藏

导入 配置好的 demo TurnstileAndroid 报错 CMake Error: CMake can not determine linker language for target: rtsp

 

 

收藏
点赞
1
个赞
共2条回复 最后由用户已被禁言回复于2017-12
#3用户已被禁言回复于2017-12

人脸核身我跑过demo工程。闸机的还真木有。改天我试试看。

可以把你的具体环境 提交个工单。先让官方人员帮你看看

0
#2huhongqiang030回复于2017-12

报错信息: 

Build command failed.
Error while executing process C:\Android\android-sdk\sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {-HC:\Users\Stephen\Desktop\2017-12-21\TurnstileAndroid\facesdk -BC:\Users\Stephen\Desktop\2017-12-21\TurnstileAndroid\facesdk\.externalNativeBuild\cmake\debug\armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-16 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Stephen\Desktop\2017-12-21\TurnstileAndroid\facesdk\build\intermediates\cmake\debug\obj\armeabi-v7a -DCMAKE_BUILD_TYPE=Debug -DANDROID_NDK=C:\Android\android-sdk\sdk\ndk-bundle -DCMAKE_TOOLCHAIN_FILE=C:\Android\android-sdk\sdk\ndk-bundle\build\cmake\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=C:\Android\android-sdk\sdk\cmake\3.6.4111459\bin\ninja.exe -GAndroid Gradle - Ninja}
-- Check for working C compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
-- Check for working C compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe
-- Check for working CXX compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
CMake Error at CMakeLists.txt:49 (add_library):
src/main/cpp/RtspJni.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
CMake Error: CMake can not determine linker language for target: rtsp
-- Generating done
-- Build files have been written to: C:/Users/Stephen/Desktop/2017-12-21/TurnstileAndroid/facesdk/.externalNativeBuild/cmake/debug/armeabi-v7a
Build command failed.
Error while executing process C:\Android\android-sdk\sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {-HC:\Users\Stephen\Desktop\2017-12-21\TurnstileAndroid\facesdk -BC:\Users\Stephen\Desktop\2017-12-21\TurnstileAndroid\facesdk\.externalNativeBuild\cmake\release\armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-16 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Stephen\Desktop\2017-12-21\TurnstileAndroid\facesdk\build\intermediates\cmake\release\obj\armeabi-v7a -DCMAKE_BUILD_TYPE=Release -DANDROID_NDK=C:\Android\android-sdk\sdk\ndk-bundle -DCMAKE_TOOLCHAIN_FILE=C:\Android\android-sdk\sdk\ndk-bundle\build\cmake\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=C:\Android\android-sdk\sdk\cmake\3.6.4111459\bin\ninja.exe -GAndroid Gradle - Ninja}
-- Check for working C compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
-- Check for working C compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe
-- Check for working CXX compiler: C:/Android/android-sdk/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
CMake Error at CMakeLists.txt:49 (add_library):
src/main/cpp/RtspJni.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
CMake Error: CMake can not determine linker language for target: rtsp
-- Generating done
-- Build files have been written to: C:/Users/Stephen/Desktop/2017-12-21/TurnstileAndroid/facesdk/.externalNativeBuild/cmake/release/armeabi-v7a
C:\Android\android-sdk\sdk\ndk-bundle\build\cmake\android.toolchain.cmake
Warning:(63, 98) (include) CMakeLists.txt
Warning:(63, 98) (include) CMakeLists.txt

0
TOP
切换版块