WebRTSP / ReStreamer

Media URLs ReStreamer and Cloud DVR
GNU General Public License v3.0
32 stars 6 forks source link

Missing modules, even when following the guide for compiling #37

Closed Alphire closed 1 year ago

Alphire commented 1 year ago

I get the following errors when arriving at the line 4: cmake ../ReStreamer of the step 3, reguarding the guide: How to build it from sources and run (Ubuntu 20.10)

alb@machine_153:~$ mkdir -p ReStreamer-build
alb@machine_153:~$ cd ReStreamer-build
alb@machine_153:~/ReStreamer-build$ cmake ../ReStreamer
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Checking for one of the modules 'libwebsockets'
-- Checking for one of the modules 'glib-2.0'
-- Checking for one of the modules 'spdlog'
-- Checking for one of the modules 'gsoap++'
**CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message):
  None of the required 'gsoap++' found
Call Stack (most recent call first):
  WebRTSP/RtStreaming/deps/ONVIF/CMakeLists.txt:7 (pkg_search_module)**

-- Checking for one of the modules 'gstreamer-1.0'
-- Checking for one of the modules 'gstreamer-sdp-1.0'
-- Checking for one of the modules 'gstreamer-webrtc-1.0'
-- Checking for one of the modules 'gstreamer-pbutils-1.0'
-- Checking for one of the modules 'nice'
**CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message):
  None of the required 'nice' found
Call Stack (most recent call first):
  WebRTSP/RtStreaming/GstRtStreaming/CMakeLists.txt:12 (pkg_search_module)**

-- Checking for one of the modules 'libmicrohttpd'
**CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message):
  None of the required 'libmicrohttpd' found
Call Stack (most recent call first):
  WebRTSP/Http/CMakeLists.txt:13 (pkg_search_module)**

-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Checking for one of the modules 'libconfig'
-- Configuring incomplete, errors occurred!
See also "/home/alberto/ReStreamer-build/CMakeFiles/CMakeOutput.log".
RSATom commented 1 year ago

Oops... code moved forward without updating Readme...

So to build it you have to install at least following additional packages: libgsoap-dev libmicrohttpd-dev libnice-dev

RSATom commented 1 year ago

and maybe gsoap

RSATom commented 1 year ago

I'll fix Readme soon. Thanks!

Alphire commented 1 year ago

Perfect i followed the addictional instruction and it works! Thanks for the help @RSATom!