Unable to build Network Module in Linux
Hi,
Trying to build the network module in ubuntu 16.04 using cmake .. -DCMAKE_BUILD_TYPE=Release -DFORCE_RSUSB_BACKEND=ON -DBUILD_NETWORK_DEVICE=ON
Looks like the realsense2-net is building properly, but once it starts building the rs-server it spits out errors and stops the build.
Scanning dependencies of target rs-server
[ 38%] Building CXX object tools/rs-server/CMakeFiles/rs-server.dir/RsServerMediaSession.cpp.o
[ 38%] Building CXX object tools/rs-server/CMakeFiles/rs-server.dir/RsSensor.cpp.o
[ 38%] Building CXX object tools/rs-server/CMakeFiles/rs-server.dir/RsSimpleRTPSink.cpp.o
[ 38%] Building CXX object tools/rs-server/CMakeFiles/rs-server.dir/RsRTSPServer.cpp.o
/home/omribt/librealsense2/tools/rs-server/RsRTSPServer.cpp: In static member function ‘static RsRTSPServer* RsRTSPServer::createNew(UsageEnvironment&, std::shared_ptr<RsDevice>, Port, UserAuthenticationDatabase*, unsigned int)’:
/home/omribt/librealsense2/tools/rs-server/RsRTSPServer.cpp:21:52: error: no matching function for call to ‘RsRTSPServer::setUpOurSocket(UsageEnvironment&, Port&)’
int ourSocket = setUpOurSocket(t_env, t_ourPort);
^
In file included from /home/omribt/librealsense2/build/third-party/live/liveMedia/include/RTSPServer.hh:25:0,
from /home/omribt/librealsense2/tools/rs-server/RsRTSPServer.cpp:4:
/home/omribt/librealsense2/build/third-party/live/liveMedia/include/GenericMediaServer.hh:91:14: note: candidate: static int GenericMediaServer::setUpOurSocket(UsageEnvironment&, Port&, int)
static int setUpOurSocket(UsageEnvironment& env, Port& ourPort, int domain);
^
/home/omribt/librealsense2/build/third-party/live/liveMedia/include/GenericMediaServer.hh:91:14: note: candidate expects 3 arguments, 2 provided
/home/omribt/librealsense2/tools/rs-server/RsRTSPServer.cpp: In constructor ‘RsRTSPServer::RsRTSPServer(UsageEnvironment&, std::shared_ptr<RsDevice>, int, Port, UserAuthenticationDatabase*, unsigned int)’:
/home/omribt/librealsense2/tools/rs-server/RsRTSPServer.cpp:30:24: error: no matching function for call to ‘RTSPServer::RTSPServer(UsageEnvironment&, int&, Port&, UserAuthenticationDatabase*&, unsigned int&)’
, m_device(t_device)
^
In file included from /home/omribt/librealsense2/tools/rs-server/RsRTSPServer.cpp:4:0:
/home/omribt/librealsense2/build/third-party/live/liveMedia/include/RTSPServer.hh:113:3: note: candidate: RTSPServer::RTSPServer(UsageEnvironment&, int, int, Port, UserAuthenticationDatabase*, unsigned int)
RTSPServer(UsageEnvironment& env,
^
/home/omribt/librealsense2/build/third-party/live/liveMedia/include/RTSPServer.hh:113:3: note: candidate expects 6 arguments, 5 provided
In file included from /home/omribt/librealsense2/tools/rs-server/RsRTSPServer.cpp:4:0:
/home/omribt/librealsense2/build/third-party/live/liveMedia/include/RTSPServer.hh:31:7: note: candidate: constexpr RTSPServer::RTSPServer(const RTSPServer&)
class RTSPServer: public GenericMediaServer {
^
/home/omribt/librealsense2/build/third-party/live/liveMedia/include/RTSPServer.hh:31:7: note: candidate expects 1 argument, 5 provided
tools/rs-server/CMakeFiles/rs-server.dir/build.make:134: recipe for target 'tools/rs-server/CMakeFiles/rs-server.dir/RsRTSPServer.cpp.o' failed
make[2]: *** [tools/rs-server/CMakeFiles/rs-server.dir/RsRTSPServer.cpp.o] Error 1
CMakeFiles/Makefile2:2483: recipe for target 'tools/rs-server/CMakeFiles/rs-server.dir/all' failed
make[1]: *** [tools/rs-server/CMakeFiles/rs-server.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
Anyone had this issue?
I am using these installation packages:
FRAMOS_CameraSuite_4.6.1.0-Linux64_x64.deb
FRAMOS-librealsense2-2.41.12-Linux64_x64.deb
Thanks,
Omri
-
Hi Omri I note that you are using the FRAMOS version of librealsense. FRAMOS technical support should be contacted as Intel do not provide tech support for RealSense-compatible devices produced by other manufacturers.
Please sign in to leave a comment.
Comments
1 comment