Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 85

How to build a package from source?

$
0
0
Hi! I've recently installed the ROS indigo desktop version in my raspberry PI 2, running the last version of Raspbian (following the tutorial http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Indigo%20on%20Raspberry%20Pi). I've installed all properly. Now I'm trying to install new packages from source in the ROS file system, but I don't understand exactly what I have to do to get it. The package I'm trying to install is ros3djs (http://wiki.ros.org/ros3djs). The steps I've followed are the next: 1- `$ cd ~/ros_catkin_ws/src` 2- `$ git clone https://github.com/RobotWebTools/ros3djs.git` Once I have the package downloaded in the src folder, I don't know exactly what I should do. In the installation of ROS tutorial comes the next command to invoke catkin_make_isolated: `$ sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo` but it makes all the workspace to be compiled again and it takes a lot of time, so what I should do? I want to compile only the new packages I add. Being on the ros_catkin_ws folder, I've tried the next: 3- `$ catkin_make --pkg ros3djs` But I get the next message: > Packages "ros3djs" not found in the workspace I've also tried the catkin_make_isolated: 3- `$ catkin_make_isolated --pkg ros3djs` > Packages not found in the workspace:> ros3djs I don't understand very well the structure ROS have to add new packages. Could someone give me any suggestion? Thank you very much!

Viewing all articles
Browse latest Browse all 85

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>