Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux errors when running test #91

Open
BenHamrick opened this issue Oct 25, 2018 · 0 comments
Open

Linux errors when running test #91

BenHamrick opened this issue Oct 25, 2018 · 0 comments

Comments

@BenHamrick
Copy link

Currently I am getting this output when trying to run the test on Ubuntu 16.04

ben@ben-ubuntu16:~/src/webrtcbuilds/test$ ./run_tests.sh /home/ben/src/webrtcbuilds/out/webrtcbuilds-25370-359d60a-linux-x64 /home/ben/src/webrtcbuilds/test/simple_app.cc: In function ‘int main(int, char**)’: /home/ben/src/webrtcbuilds/test/simple_app.cc:38:11: error: too few arguments to function ‘rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> webrtc::CreatePeerConnectionFactory(rtc::Thread*, rtc::Thread*, rtc::Thread*, rtc::scoped_refptr<webrtc::AudioDeviceModule>, rtc::scoped_refptr<webrtc::AudioEncoderFactory>, rtc::scoped_refptr<webrtc::AudioDecoderFactory>, std::unique_ptr<webrtc::VideoEncoderFactory>, std::unique_ptr<webrtc::VideoDecoderFactory>, rtc::scoped_refptr<webrtc::AudioMixer>, rtc::scoped_refptr<webrtc::AudioProcessing>)’ NULL); ^ In file included from /home/ben/src/webrtcbuilds/test/simple_app.cc:6:0: /home/ben/src/webrtcbuilds/out/webrtcbuilds-25370-359d60a-linux-x64/include/api/peerconnectioninterface.h:1424:1: note: declared here CreatePeerConnectionFactory( ^ In file included from /usr/include/c++/5/memory:81:0, from /home/ben/src/webrtcbuilds/out/webrtcbuilds-25370-359d60a-linux-x64/include/rtc_base/thread.h:16, from /home/ben/src/webrtcbuilds/test/simple_app.cc:4: /usr/include/c++/5/bits/unique_ptr.h: In instantiation of ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = webrtc::VideoEncoderFactory]’: /usr/include/c++/5/bits/unique_ptr.h:236:17: required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = webrtc::VideoEncoderFactory; _Dp = std::default_delete<webrtc::VideoEncoderFactory>]’ /usr/include/c++/5/bits/unique_ptr.h:200:61: required from ‘constexpr std::unique_ptr<_Tp, _Dp>::unique_ptr(std::nullptr_t) [with _Tp = webrtc::VideoEncoderFactory; _Dp = std::default_delete<webrtc::VideoEncoderFactory>; std::nullptr_t = std::nullptr_t]’ /home/ben/src/webrtcbuilds/test/simple_app.cc:38:11: required from here /usr/include/c++/5/bits/unique_ptr.h:74:22: error: invalid application of ‘sizeof’ to incomplete type ‘webrtc::VideoEncoderFactory’ static_assert(sizeof(_Tp)>0, ^ /usr/include/c++/5/bits/unique_ptr.h: In instantiation of ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = webrtc::VideoDecoderFactory]’: /usr/include/c++/5/bits/unique_ptr.h:236:17: required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = webrtc::VideoDecoderFactory; _Dp = std::default_delete<webrtc::VideoDecoderFactory>]’ /usr/include/c++/5/bits/unique_ptr.h:200:61: required from ‘constexpr std::unique_ptr<_Tp, _Dp>::unique_ptr(std::nullptr_t) [with _Tp = webrtc::VideoDecoderFactory; _Dp = std::default_delete<webrtc::VideoDecoderFactory>; std::nullptr_t = std::nullptr_t]’ /home/ben/src/webrtcbuilds/test/simple_app.cc:38:11: required from here /usr/include/c++/5/bits/unique_ptr.h:74:22: error: invalid application of ‘sizeof’ to incomplete type ‘webrtc::VideoDecoderFactory’

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant