Page 1 of 1

Problem compiling ros plugins

Posted: 06 Jan 2016, 19:25
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.

Re: Problem compiling ros plugins

Posted: 07 Jan 2016, 17:20
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

Re: Problem compiling ros plugins

Posted: 14 Jan 2016, 10:42
by Ahmed_Yacine
thanks

Re: Problem compiling ros plugins

Posted: 20 Jan 2016, 18:11
by minisch
This was helpful for me too.