libwebrtc icon indicating copy to clipboard operation
libwebrtc copied to clipboard

Issue with building peerconnectionclient using libwebrtc

Open sampathkumar81293 opened this issue 8 years ago • 2 comments

Hi ,

I am building peerconnectionclient that is created in the folder libwebrtc/out/webrtc/src/webrtc/examples/peerconnection/client .

I get these errors whenever I try to build it using cmake.Trace is

Trace.txt

Here is My CmakeLists.txt is :

CMakeLists.txt

sampathkumar81293 avatar Nov 08 '17 07:11 sampathkumar81293

seems like issue#51

demobin8 avatar Jan 05 '18 10:01 demobin8

Hi @sampathkumar81293

We are facing the same linker issues:

undefined reference to typeinfo for rtc::PhysicalSocketServe
undefined reference to rtc::GetStringFromJsonObject
undefined reference to rtc::GetIntFromJsonObject
undefined reference to typeinfo for webrtc::SetSessionDescriptionObserver
undefined reference to typeinfo for webrtc::CreateSessionDescriptionObserver
undefined reference to typeinfo for rtc::AdaptedVideoTrackSource
undefined reference to typeinfo for rtc::MessageHandler

so for this we have added following source files to resolve these linker issue:

  1. physical_socket_server.cc + async_socket.cc
  2. json.cc
  3. jsep.cc
  4. adapted_video_track_source.cc
  5. message_handler.cc

After this project gets build successfully but when we try to run it it gives us an error:

Fatal error in: ../src/physical_socket_server.cc, line 1423
last system error: 11
Check failed: !processing_dispatchers_

Is this because of the mismatch sources ? but we used the sources from same webrtc cloned sources.

What is the stable latest webrtc source directory from where we can download ? and build webrtc library, so that we dont have to add above sources additionally.

Thanks in advance !

coreTechie007 avatar Aug 21 '19 07:08 coreTechie007