You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At first glance, it might be that the wiki guide instructions may have gotten out of date, I'm seeing a message about Variable 'WEBRTC_LOCAL' not defined in '.../libwebrtc_full.pc'
Hi,
When I try to build example that guide in https://github.com/vsimon/webrtcbuilds/wiki/Building-the-peerconnection-example I get a failed message.
hq@hq:~/buildwebrtc/webrtcbuilds/out/src/examples/peerconnection/server$ g++ -o peerconnection_server main.cc data_socket.cc peer_channel.cc utils.cc -I/home/hq/buildwebrtc/webrtcbuilds/out/webrtcbuilds-23375-cefc465-linux-x64/include -I/home/hq/buildwebrtc/webrtcbuilds/out/src -DWEBRTC_POSIX -DWEBRTC_LINUX $(pkg-config --cflags --libs --define-variable=prefix=$WEBRTCBUILDS_FOLDER libwebrtc_full) -L/home/hq/buildwebrtc/webrtcbuilds/out/webrtcbuilds-23375-cefc465-linux-x64/lib/Release -std=c++11 -lwebrtc_full -lpthread
Variable 'WEBRTC_LOCAL' not defined in '/home/hq/buildwebrtc/webrtcbuilds/out/webrtcbuilds-23375-cefc465-linux-x64/lib/Release/pkgconfig/libwebrtc_full.pc'
/tmp/ccX18aQA.o: In function
main': main.cc:(.text+0x7bb): undefined reference to
webrtc::test::CommandLineParser::SetUsageMessage(std::__cxx11::basic_string<char, std::char_traits, std::allocator >)'main.cc:(.text+0x83e): undefined reference to
webrtc::test::CommandLineParser::SetFlag(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)' main.cc:(.text+0x8ee): undefined reference to
webrtc::test::CommandLineParser::SetFlag(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >)'main.cc:(.text+0x983): undefined reference to
webrtc::test::CommandLineParser::GetFlag(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)' main.cc:(.text+0xa2d): undefined reference to
webrtc::test::CommandLineParser::GetFlag(std::__cxx11::basic_string<char, std::char_traits, std::allocator >)'/tmp/ccj2g8Hf.o: In function
rtc::s_url_decode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': peer_channel.cc:(.text._ZN3rtc12s_url_decodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN3rtc12s_url_decodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x33): undefined reference to
rtc::s_transform(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned long ()(char, unsigned long, char const*, unsigned long))'collect2: error: ld returned 1 exit status
Any suggest for this issue ?
Thanks.
The text was updated successfully, but these errors were encountered: