[pulseaudio-discuss] modules/echo-cancel/libwebrtc

Per Gunnarsson p.gunnarsson at yahoo.com
Tue Jan 9 09:05:35 UTC 2018


Hello!

I am trying to compile the webrtc module:


Making all in src
make  all-am
   CXX      modules/echo-cancel/libwebrtc_util_la-webrtc.lo
In file included from 
/usr/local/include/webrtc/modules/audio_processing/includ/audio_processing.h:23:0,
                  from modules/echo-cancel/webrtc.cc:37:
/usr/local/include/webrtc/base/platform_file.h:27:2: error: #error 
Unsupported platform
  #error Unsupported platform
   ^~~~~
/usr/local/include/webrtc/base/platform_file.h:30:14: error: 
'PlatformFile' does not name a type
  extern const PlatformFile kInvalidPlatformFileValue;
               ^~~~~~~~~~~~
/usr/local/include/webrtc/base/platform_file.h:35:36: error: 
'PlatformFile' was not declared in this scope
  FILE* FdopenPlatformFileForWriting(PlatformFile file);
                                     ^~~~~~~~~~~~
/usr/local/include/webrtc/base/platform_file.h:40:24: error: 
'PlatformFile' was not declared in this scope
  bool ClosePlatformFile(PlatformFile file);
                         ^~~~~~~~~~~~
In file included from modules/echo-cancel/webrtc.cc:37:0:
/usr/local/include/webrtc/modules/audio_processing/include/audio_processing.h:418:55: 
error: 'rtc::PlatformFile' has not been declared
    virtual int StartDebugRecordingForPlatformFile(rtc::PlatformFile 
handle) {

*** Error code 1


What is a PlatformFile?

I am doing it on FreeBSD (amd64)


Regards,

Per Gunnarsson



More information about the pulseaudio-discuss mailing list