Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't do catkin_make #57

Open
paulioceano opened this issue Sep 11, 2016 · 7 comments
Open

can't do catkin_make #57

paulioceano opened this issue Sep 11, 2016 · 7 comments

Comments

@paulioceano
Copy link

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!

@jokla
Copy link
Contributor

jokla commented Sep 12, 2016

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!

@paulioceano
Copy link
Author

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!

@jokla
Copy link
Contributor

jokla commented Sep 12, 2016

'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?

@paulioceano
Copy link
Author

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.

@jokla
Copy link
Contributor

jokla commented Sep 12, 2016

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...

@paulioceano
Copy link
Author

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

@Abduoit
Copy link

Abduoit commented Sep 23, 2017

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants