Problem compiling ros plugins

Typically: "How do I... ", "How can I... " questions
Post Reply
Ahmed_Yacine
Posts: 13
Joined: 01 Oct 2014, 13:19

Problem compiling ros plugins

Post by Ahmed_Yacine »

Hi all
when trying to compile vrep ros plugins on ubuntu 64 bits, I got this error.

Linking CXX executable /home/xxxxx/catkin_ws/src/ros_bubble_rob/bin/rosBubbleRob
In file included from /home/xxxxx/catkin_ws/src/vrep_plugin/src/vrep_plugin.cpp:35:0:
/home/xxxxx/catkin_ws/src/vrep_plugin/src/../include/vrep_plugin/ROS_server.h:82:51: fatal error: vrep_common/simRosGetCollectionHandle.h: No such file or directory
#include "vrep_common/simRosGetCollectionHandle.h"
^
compilation terminated.
In file included from /home/xxxxx/catkin_ws/src/vrep_plugin/src/ROS_server.cpp:34:0:
/home/xxxxx/catkin_ws/src/vrep_plugin/src/../include/vrep_plugin/ROS_server.h:82:51: fatal error: vrep_common/simRosGetCollectionHandle.h: No such file or directory
#include "vrep_common/simRosGetCollectionHandle.h"
^
compilation terminated.
[100%] Built target rosBubbleRob
make[2]: *** [vrep_plugin/CMakeFiles/v_repExtRos.dir/src/ROS_server.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [vrep_plugin/CMakeFiles/v_repExtRos.dir/src/vrep_plugin.cpp.o] Error 1
make[1]: *** [vrep_plugin/CMakeFiles/v_repExtRos.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j4 -l4" failed


I tried to fix it, but I could not do it.

coppelia
Site Admin
Posts: 10504
Joined: 14 Dec 2012, 00:25

Re: Problem compiling ros plugins

Post by coppelia »

Hello,

yes, something was forgotten there. In file vrep_common/CMakeLists.txt, add simRosGetCollectionHandle.srv at the end of the long list of service messages.

Cheers

Ahmed_Yacine
Posts: 13
Joined: 01 Oct 2014, 13:19

Re: Problem compiling ros plugins

Post by Ahmed_Yacine »

thanks

minisch
Posts: 40
Joined: 09 Oct 2014, 11:14

Re: Problem compiling ros plugins

Post by minisch »

This was helpful for me too.

Post Reply