vrep_ros_bridge icon indicating copy to clipboard operation
vrep_ros_bridge copied to clipboard

can't do catkin_make

Open paulioceano opened this issue 9 years ago • 7 comments

Hi, I have this problem.

I've been following the tutorial and already install ROS-Kinetic and V-REP pro edu, version 3.3.1 in Ubuntu 16.06 x64

When I install vrep-ros-bridge i do catkin_make and do it fine, then I add:

catkin_make --pkg vrep_ros_bridge --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo

And have the error: Packages "vrep_ros_bridge" not found in the workspace

in the step where I go to gedit ~/.bashrc I added this at the end of the file:

export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:/home/paulioceano/catkin_ws/src source /opt/ros/kinetic/setup.bash source /home/paulioceano/catkin_ws/devel/setup.bash

V-REP

export VREP_ROOT_DIR=/home/paulioceano/Escritorio/V-REP.

What can I do? Thanks!

paulioceano avatar Sep 11 '16 21:09 paulioceano

Hi,

If $ roscd vrep-ros-bridge working?

I have this in my bashrc (maybe you can try to use the same order?):

source /opt/ros/indigo/setup.bash source /home/gclaudio/catkin_ws/devel/setup.bash export ROS_PACKAGE_PATH=/home/gclaudio/catkin_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks

Anyway the command catkin_make --pkg vrep_ros_bridge --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo

is used only to build the package in RelWithDebInfo. The bridge should work just with a catkin_make. If you want to change the CMAKE_BUILD_TYPE you can do it in another way:

$ cd build/
$ ccmake ../src/

After look for CMAKE_BUILD_TYPE and type RelWithDebInfo.

Let me know!

jokla avatar Sep 12 '16 07:09 jokla

Hi!

In the terminal when I type: $ roscd vrep-ros-bridge it shows me:

$ roscd vrep-ros-bridge roscd: No such package/stack 'vrep-ros-bridge'

I change the bashrc, do cakin_make and when go to de command

catkin_make --pkg vrep_ros_bridge --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo

I have the same problem:

paulioceano@Jarvis:~/catkin_ws$ catkin_make --pkg vrep_ros_bridge --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo Base path: /home/paulioceano/catkin_ws Source space: /home/paulioceano/catkin_ws/src Build space: /home/paulioceano/catkin_ws/build Devel space: /home/paulioceano/catkin_ws/devel Install space: /home/paulioceano/catkin_ws/install Packages "vrep_ros_bridge" not found in the workspace

I go with the next step in the tutorial: In the folder catkin_ws/devel/lib/ you will find the main library (libv_repExtRosBridge.so) and the others libraries (libcamera_handler.so, libmanipulator_handler.so, libquadrotor_handler.so, librigid_body_handler.so ).

But the folder catkin_ws/devel/lib/ is empty.

What else can I do? Thank you!

paulioceano avatar Sep 12 '16 12:09 paulioceano

'roscd vrep-ros-bridge' should work if you have set correctly the environment variables. Just to be sure, did you do a source of the bashrc? Or tried opening a new terminal? Try to delete the build and devel folder before calling catkin_make (only catkin_make the first time). Do you have this problem only with our package or also with other ones?

jokla avatar Sep 12 '16 12:09 jokla

I did not do a source of the bashrc, I've tries opening a new terminal.

Everytime I call catkin_make, I delete the build and devel folder before.

I have this problem only with your package.

paulioceano avatar Sep 12 '16 12:09 paulioceano

mmm, I think the package was never tested with ROS Kinetic. We are using it on Indigo. Could it be the reason? When I have time, I can check if something is changed in the pkg structure...

jokla avatar Sep 12 '16 13:09 jokla

It could be the reason... In the meantime I'll try to install Indigo. Thanks :)

paulioceano avatar Sep 12 '16 13:09 paulioceano

@paulioceano I did successfully build v-rep with ROS Kinetic and ubuntu 16.04

Please check this link

If u solve it plz close the issue

Abduoit avatar Sep 23 '17 21:09 Abduoit