ANYbotics / rqt_multiplot_plugin

An rqt plugin for visualizing numeric values in multiple 2D plots.
GNU Lesser General Public License v3.0
125 stars 41 forks source link

rqt_multiplot_plugin catkin build error #48

Open mobiiin opened 3 years ago

mobiiin commented 3 years ago

hi. I followed all the instruction and installed the dependencies. still I get build error while running catkin build

Errors     << rqt_multiplot:make /home/mobiiin/catkin_ws/logs/rqt_multiplot/build.make.014.log
/usr/bin/ld: cannot find -lQWT_LIBRARIES-NOTFOUND
collect2: error: ld returned 1 exit status
make[2]: *** [/home/mobiiin/catkin_ws/devel/.private/rqt_multiplot/lib/librqt_multiplot.so] Error 1
make[1]: *** [CMakeFiles/rqt_multiplot.dir/all] Error 2
make: *** [all] Error 2

I also have all the libqwt.so* files in /usr/lib/

lprobsth commented 1 year ago

The problem is that QWT might have a different name on some systems.

https://github.com/ANYbotics/rqt_multiplot_plugin/blob/2a223fa614bb78e76d3d8707a80e0f9caa918cff/CMakeLists.txt#L33-L46

In my case on arch the name was "qwt5-qt5". By adding this name in the CMakeLists CMake was able to find the library and the linker was configured properly.