Closed mikeqoo1 closed 3 years ago
WebRTC native code compiling With Custom Compiled GCC, it is currently being compiled without problems. Maybe there is a problem compiling with Ubuntu arm-linux-gnueabihf gcc-9.
^~~~~~~~~~~~~~~~~~~~~
[2868/2882] CXX obj/video/video/rtp_video_stream_receiver2.o
In file included from ../../modules/rtp_rtcp/source/rtp_sender_egress.h:21,
from ../../modules/rtp_rtcp/source/rtp_rtcp_impl2.h:36,
from ../../video/rtp_video_stream_receiver2.h:33,
from ../../video/rtp_video_stream_receiver2.cc:11:
../../api/rtc_event_log/rtc_event_log.h:49:16: warning: ‘virtual void webrtc::RtcEventLog::StopLogging(std::function<void()>)’ was hidden [-Woverloaded-virtual]
virtual void StopLogging(std::function<void()> callback) {
^~~~~~~~~~~
../../api/rtc_event_log/rtc_event_log.h:63:8: warning: by ‘virtual void webrtc::RtcEventLogNull::StopLogging()’ [-Woverloaded-virtual]
void StopLogging() override {}
^~~~~~~~~~~
[2882/2882] STAMP obj/default.stamp
RWS compiling There was a problem with RWS compilation in the latest WebRTC native code due to the recent change in MessageHandler, common_types, alsa_linux X11 dependency. Pull again, and build WebRTC native code library again by copying the args.gn file to out/arm_build.
hi @kclyu
i build webrtc is work but i make WebRTC native code have error
thank you =)
As there is a flag called -march x86_64, it seems that WebRTC native code is compiled with x86_64 arch option, it means you did build WebRTC native code without args.gn file. Make sure that the misc/webrtc_arm_build_args.gn file is properly copied to the arm_build/args.gn file and rebuild.
I can’t thank you enough!!!
thx you
build webrtc
make src
My Version