lucasw / rviz_camera_stream

Custom rviz camera plugin that published rendered camera video stream
BSD 3-Clause "New" or "Revised" License
59 stars 47 forks source link

Cmake error in 18.04 #46

Open augad17 opened 2 years ago

augad17 commented 2 years ago

Hello, I installed the package and after catkin_make it shows this error in the end

[ 25%] Generating include/rviz_camera_stream/moc_camera_display.cpp make[2]: No rule to make target '/usr/lib/x86_64-linux-gnu/libGL.so', needed by '/home/adsafe/rosboard_ws/devel/lib/librviz_camera_stream.so'. Stop. make[2]: Waiting for unfinished jobs.... [ 75%] Building CXX object rviz_camera_stream/CMakeFiles/rviz_camera_stream.dir/src/camera_display.cpp.o [ 75%] Building CXX object rviz_camera_stream/CMakeFiles/rviz_camera_stream.dir/include/rviz_camera_stream/moc_camera_display.cpp.o CMakeFiles/Makefile2:1490: recipe for target 'rviz_camera_stream/CMakeFiles/rviz_camera_stream.dir/all' failed make[1]: [rviz_camera_stream/CMakeFiles/rviz_camera_stream.dir/all] Error 2 Makefile:145: recipe for target 'all' failed make: [all] Error 2 Invoking "make -j4 -l4" failed

lucasw commented 2 years ago

No rule to make target '/usr/lib/x86_64-linux-gnu/libGL.so' is the important line- do you have libgl-dev installed?