open-webrtc-toolkit / owt-client-native

Open WebRTC Toolkit client SDK for native Windows/Linux/iOS applications.
https://01.org/open-webrtc-toolkit
Apache License 2.0
391 stars 180 forks source link

ninja sub command failed for last build_linux.py file #505

Closed Prudhvi1357 closed 3 years ago

Prudhvi1357 commented 3 years ago

Dear Team,

Getting below error for last command "python build_linux.py --gn_gen --sdk --tests --ssl_root ~/cert/" where cert is empty director.

             from ../../third_party/webrtc/test/time_controller/external_time_controller.cc:10:

/usr/include/c++/5/bits/stl_pair.h:112:26: note: candidate: constexpr std::pair<_T1, _T2>::pair(const _T1&, const _T2&) [with _T1 = webrtc::Module const; _T2 = std::unique_ptr] _GLIBCXX_CONSTEXPR pair(const _T1& __a, const _T2& __b) ^ /usr/include/c++/5/bits/stl_pair.h:112:26: note: no known conversion for argument 2 from 'webrtc::ExternalTimeController::ProcessThreadWrapper::ModuleWrapper' to 'const std::unique_ptr&' /usr/include/c++/5/bits/stl_pair.h:108:26: note: candidate: constexpr std::pair<_T1, _T2>::pair() [with _T1 = webrtc::Module* const; _T2 = std::unique_ptr] _GLIBCXX_CONSTEXPR pair() ^ /usr/include/c++/5/bits/stl_pair.h:108:26: note: candidate expects 0 arguments, 2 provided cc1plus: warning: unrecognized command line option '-Wno-class-memaccess' cc1plus: warning: unrecognized command line option '-Wno-packed-not-aligned' [1804/3769] CXX obj/third_party/webrtc/modules/congestion_controller/goog_cc/probe_controller/probe_controller.o ninja: build stopped: subcommand failed.

taste1981 commented 3 years ago

Please provide more details on the build host. (Linux distribution version & gcc/g++ version), and branch/commit id that shows this error.

Prudhvi1357 commented 3 years ago

Hi

Linux= ubuntu16.04 gcc=7.5v branch: 5.0.x

taste1981 commented 3 years ago

Please check with "python build_linux.py --gn_gen --sdk ---scheme release --arch x64" when calling the build script. As the first step please do not specify --ssl_root or --tests

Alex-YddeR commented 3 years ago

can we build IOS binary release in Linux OS

taste1981 commented 3 years ago

No we don't support build iOS in Linux. Closing this issue if no further question.