sourcey / libsourcey

C++14 evented IO libraries for high performance networking and media based applications
https://sourcey.com/libsourcey
GNU Lesser General Public License v2.1
1.31k stars 347 forks source link

Error building LibSourcey - videocapturer.h #226

Closed xCausxn closed 6 years ago

xCausxn commented 6 years ago

Hey All,

Command: cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DWITH_WEBRTC=ON -DWEBRTC_ROOT_DIR=/root/tmp/webrtc -DWITH_FFMPEG=ON

In file included from /root/tmp/libsourcey/src/webrtc/src/util.cpp:12:0:
/root/tmp/libsourcey/src/webrtc/include/scy/webrtc/util.h:18:45: fatal error: webrtc/media/base/videocapturer.h: No such file or directory
compilation terminated.
webrtc/CMakeFiles/webrtc.dir/build.make:62: recipe for target 'webrtc/CMakeFiles/webrtc.dir/src/util.cpp.o' failed
make[2]: *** [webrtc/CMakeFiles/webrtc.dir/src/util.cpp.o] Error 1
CMakeFiles/Makefile2:478: recipe for target 'webrtc/CMakeFiles/webrtc.dir/all' failed
make[1]: *** [webrtc/CMakeFiles/webrtc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

LibSourcey: Latest LibSourcey Clone WebRTC Prebuild: https://github.com/sourcey/webrtc-precompiled-builds/raw/master/webrtc-18252-6294a7e-linux-x64.tar.gz

OS:

Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:        16.04
Codename:       xenial

Any help getting this working would be much appreciated?

auscaster commented 6 years ago

Revision 19846 moved src/webrtc to src/ which broke webrtc for everyone on the planet. https://webrtc.googlesource.com/src/+/92ea95e34af5966555903026f45164afbd7e2088

It's now fixed in the latest libsourcey build.