Build command failed.
Error while executing process E:\SDK\cmake\3.6.4111459\bin\cmake.exe with arguments {--build E:\android\SDKsldl\webrtcApi\.externalNativeBuild\cmake\debug\armeabi-v7a --target vvroom_peerconnection_jni}
[1/1] Linking CXX shared library ..\..\..\..\build\intermediates\cmake\debug\obj\armeabi-v7a\libvvroom_peerconnection_jni.so
FAILED: cmd.exe /C "cd . && E:\android-ndk-r21e\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi16 --gcc-toolchain=E:/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -std=c++11 -frtti -fexceptions -fpermissive -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--fatal-warnings -Wl,--exclude-libs,libunwind.a -Wl,--no-undefined -Qunused-arguments -shared -Wl,-soname,libvvroom_peerconnection_jni.so -o ..\..\..\..\build\intermediates\cmake\debug\obj\armeabi-v7a\libvvroom_peerconnection_jni.so CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/vvroom/native-shinevv.cpp.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/api/androidmediadecoder_jni.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/api/androidmediaencoder_jni.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/api/androidmetrics_jni.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/api/androidnetworkmonitor_jni.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/api/androidvideotracksource.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/api/androidvideotracksource_jni.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/api/classreferenceholder.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/api/jni_helpers.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/api/jni_onload.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/api/native_handle_impl.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/api/peerconnection_jni.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/api/surfacetexturehelper_jni.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/base/adaptedvideotracksource.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/common_video/video_frame_buffer.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/media/engine/webrtcvideoencoderfactory.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/src/main/cpp/webrtc/media/base/videocapturer.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/E_/android/SDKsldl/third_party/webrtc/sfu_client/room_client.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/E_/android/SDKsldl/third_party/webrtc/sfu_client/base/BaseClass.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/E_/android/SDKsldl/third_party/webrtc/sfu_client/handles/Handler.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/E_/android/SDKsldl/third_party/webrtc/sfu_client/handles/ortc/JsonCompare.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/E_/android/SDKsldl/third_party/webrtc/sfu_client/handles/sdp/RemotePlanBSdp.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/E_/android/SDKsldl/third_party/webrtc/sfu_client/mediasoup/Consumer.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/E_/android/SDKsldl/third_party/webrtc/sfu_client/mediasoup/Device.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/E_/android/SDKsldl/third_party/webrtc/sfu_client/mediasoup/Peer.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/E_/android/SDKsldl/third_party/webrtc/sfu_client/mediasoup/Producer.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/E_/android/SDKsldl/third_party/webrtc/sfu_client/mediasoup/Room.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/E_/android/SDKsldl/third_party/webrtc/sfu_client/mediasoup/Transport.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/E_/android/SDKsldl/third_party/webrtc/sfu_client/peerconnection/peer_connection_factory_createor.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/E_/android/SDKsldl/third_party/webrtc/sfu_client/peerconnection/screen_share_capture.cc.o CMakeFiles/vvroom_peerconnection_jni.dir/E_/android/SDKsldl/third_party/webrtc/sfu_client/protoo/protooimpl.cc.o -LE:/android/SDKsldl/webrtcApi/../third_party/ndk -LE:/android/SDKsldl/webrtcApi/../third_party/openssl/libs/armeabi-v7a -LE:/android/SDKsldl/webrtcApi/../third_party/x264/libs/android -LE:/android/SDKsldl/webrtcApi/../third_party/webrtc-build-android/debug/lib -lGLESv2 -lOpenSLES -llog -latomic -lc -landroid -lm -ljingle_peerconnection -lcall_api -lcall -lvoice_engine -llevel_indicator -lrtc_stats -lrtc_pc -lrtc_p2p -lstunprober -lvideo -lvideo_processing -lvideo_processing_neon -lvideo_coding -lrtc_media -lwebrtc_vp9 -lwebrtc_vp8 -lwebrtc_i420 -lwebrtc_h264 -lencoder -lvideo_coding_utility -lvideo_capture_module -lvideo_capture_internal_impl -lvideo_quality_analysis -lutility -lrtp_rtcp -lmedia_file -lcongestion_controller -lbitrate_controller -lpacing -lremote_bitrate_estimator -laudio_processing -laudio_processing_neon -laudioproc_debug_proto -laudio_device -laudio_conference_mixer -lrent_a_codec -lred -lbuiltin_audio_decoder_factory -laudio_coding -lwebrtc_opus -lpcm16b -lneteq -lisac_fix -lisac -lisac_neon -lisac_fix -lisac_common -lilbc -laac -lg722 -lg711 -lcng -laudio_network_adaptor -laudio_format_conversion -laudio_format -laudio_encoder_interface -laudio_decoder_interface -lana_debug_dump_proto -lana_config_proto -lrtc_event_log_impl -lrtc_event_log_proto -lcommon_video -laudio -lwebrtc_common -lprotobuf_lite -lcommon_audio -lcommon_audio_neon -lopus -lwldl -lopenmax_dl_armv7 -lopenmax_dl_neon -lprocessing -ldecoder -lfield_trial_default -lsystem_wrappers -lrtc_task_queue -lrtc_base -lrtc_base_approved -lcommon -lyuv -lyuv_neon -lvpx -lvpx_assembly_arm -ljpeg -lsimd -ljsoncpp -lexpat -lssl -lcrypto -lz -lcpu_features -lcpu_features_android -ljpeg -levent -lmetrics_default -lvideo -lx264 -lvideo_mixer -lcall_api -lcall -lsrtp -lusrsctp -lresip -lffmpeg_internal ../../../../../third_party/kuma/objs/android/release/local/armeabi-v7a/libkuma.a -Wl,--no-fatal-warnings -ldl -lvoice_engine -llevel_indicator -lrtc_stats -lrtc_pc -lrtc_p2p -lstunprober -lvideo -lvideo_processing -lvideo_processing_neon -lvideo_coding -lrtc_media -lwebrtc_vp9 -lwebrtc_vp8 -lwebrtc_i420 -lwebrtc_h264 -lencoder -lvideo_coding_utility -lvideo_capture_module -lvideo_capture_internal_impl -lvideo_quality_analysis -lutility -lrtp_rtcp -lmedia_file -lcongestion_controller -lbitrate_controller -lpacing -lremote_bitrate_estimator -laudio_processing -laudio_processing_neon -laudioproc_debug_proto -laudio_device -laudio_conference_mixer -lrent_a_codec -lred -lbuiltin_audio_decoder_factory -laudio_coding -lwebrtc_opus -lpcm16b -lneteq -lisac_fix -lisac -lisac_neon -lisac_common -lilbc -laac -lg722 -lg711 -lcng -laudio_network_adaptor -laudio_format_conversion -laudio_format -laudio_encoder_interface -laudio_decoder_interface -lana_debug_dump_proto -lana_config_proto -lrtc_event_log_impl -lrtc_event_log_proto -lcommon_video -laudio -lwebrtc_common -lprotobuf_lite -lcommon_audio -lcommon_audio_neon -lopus -lwldl -lopenmax_dl_armv7 -lopenmax_dl_neon -lprocessing -ldecoder -lfield_trial_default -lsystem_wrappers -lrtc_task_queue -lrtc_base -lrtc_base_approved -lcommon -lyuv -lyuv_neon -lvpx -lvpx_assembly_arm -ljpeg -lsimd -ljsoncpp -lexpat -lssl -lcrypto -lz -lcpu_features -lcpu_features_android -levent -lmetrics_default -lx264 -lvideo_mixer -lsrtp -lusrsctp -lresip -lffmpeg_internal ../../../../../third_party/kuma/objs/android/release/local/armeabi-v7a/libkuma.a -ldl -latomic -lm && cd ."
E:/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: E:/android/SDKsldl/webrtcApi/../third_party/webrtc-build-android/debug/lib/libvideo_capture_internal_impl.a:1:1: syntax error, unexpected '!', expecting $end
E:/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: E:/android/SDKsldl/webrtcApi/../third_party/webrtc-build-android/debug/lib/libvideo_capture_internal_impl.a: not an object or archive
E:/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: E:/android/SDKsldl/webrtcApi/../third_party/webrtc-build-android/debug/lib/libvideo_capture_internal_impl.a:1:1: syntax error, unexpected '!', expecting $end
E:/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: E:/android/SDKsldl/webrtcApi/../third_party/webrtc-build-android/debug/lib/libvideo_capture_internal_impl.a: not an object or archive
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
导c的项目报错,求大佬瞅一眼
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- 雪下的回忆 2021-05-13 09:11关注
它说链接"CXX共享库..\..\..\..\build\intermediates\cmake\debug\obj\armeabi-v7a\libvvroom\u peerconnection\u jni.so"失败,你看看哪里的路径有没有问题,还是你没下对应的依赖
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥15 任意一个散点图自己下载其js脚本文件并做成独立的案例页面,不要作在线的,要离线状态。
- ¥15 各位 帮我看看如何写代码,打出来的图形要和如下图呈现的一样,急
- ¥30 c#打开word开启修订并实时显示批注
- ¥15 如何解决ldsc的这条报错/index error
- ¥15 VS2022+WDK驱动开发环境
- ¥30 关于#java#的问题,请各位专家解答!
- ¥30 vue+element根据数据循环生成多个table,如何实现最后一列 平均分合并
- ¥20 pcf8563时钟芯片不启振
- ¥20 pip2.40更新pip2.43时报错
- ¥15 换yum源但仍然用不了httpd