Robotics StackExchange | Archived questions

build fail rviz 1.3.94

Maybe someone can help me with following error.

[ 73%] Building CXX object src/rviz/defaultplugin/CMakeFiles/defaultplugin.dir/mocrangedisplay.cxx.o In file included from /usr/include/boost/signals.hpp:9:0, from /opt/ros/groovy/include/messagefilters/subscriber.h:40, from /home/alejandro/Downloads/rviz-1.9.34/src/rviz/messagefilterdisplay.h:36, from /home/alejandro/Downloads/rviz-1.9.34/build/src/rviz/defaultplugin/../../../../src/rviz/defaultplugin/rangedisplay.h:35, from /home/alejandro/Downloads/rviz-1.9.34/build/src/rviz/defaultplugin/mocrangedisplay.cxx:9: /usr/include/boost/signal.hpp:17:4: Warnung: #warning "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOSTSIGNALSNODEPRECATIONWARNING." [-Wcpp] # warning "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOSTSIGNALSNODEPRECATIONWARNING." ^ Linking CXX shared library ../../../devel/lib/libdefaultplugin.so [ 93%] Built target default_plugin Makefile:126: recipe for target 'all' failed make: *** [all] Error 2

Asked by mealejan on 2014-02-13 07:05:31 UTC

Comments

There was a error in a library path. Solved it.

Asked by mealejan on 2014-02-18 07:24:54 UTC

Please could you explain what you did? I am having the same error

Asked by rohan on 2014-02-21 11:42:05 UTC

I am very sorry but I can't remember it. I think you had to inlcude the path of your pcl instalation manualy in the CMakeLists.txt.
Normaly it is installed outside the opt/ros directory. Search it and add it:
link_directories ([dir to lib])
Then insert
target_link_libraries ([programm] [library])

Asked by mealejan on 2014-02-24 04:42:21 UTC

Answers