-
Notifications
You must be signed in to change notification settings - Fork 760
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 install the package #31
Comments
If you are building
Then follow instructions from here. cheers |
I tried the above the instructions,but still i'm getting the same error.Now i un-installed everything and i would like install by follwing below steps, As per the above the comment,i installed the both the RTAB and RTAB-ROS pkg in the src folder,but it didn't work! correct me,if i'm wrong! Thanks in advance. |
It is not explicitly explained in the instructions, but rtabmap library should be built outside the catkin workspace because it is not a common catkin package (it is a plain cmake package). Cloning rtabmap in src folder of catkin will result in errors. Merging all directives in one walkthrough: $ source /opt/ros/indigo/setup.bash
$ cd ~
$ git clone https://github.com/introlab/rtabmap.git rtabmap
$ cd rtabmap/build
$ cmake -DCMAKE_INSTALL_PREFIX=~/catkin_ws/devel ..
$ make -j4
$ make install
$ source ~/catkin_ws/devel/setup.bash
$ cd ~/catkin_ws
$ git clone https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros
$ catkin_make If you still have problems, a copy-paste of the catkin_make errors would be useful. cheers |
I tried to implement above mentioned method with ROS-Melodic. Following error occurred :
Add the installation prefix of "move_base_msgs" to CMAKE_PREFIX_PATH or set |
@matlabbe I tried to implement above mentioned method with ROS-Melodic. Following error occurred : move_base_msgsConfig.cmake Add the installation prefix of "move_base_msgs" to CMAKE_PREFIX_PATH or set |
|
thanks to the answer of matlabbe, my question is |
This command:
will install in your catkin workspace's devel directory. It is more for preference, if you want to install rtabmap library like any linux libraries, just do:
and it will be installed in |
@matlabbe Thanks for the walkthrough. After following the instructions and executing
Following the same logic as your answer to @walekarsayali, I tried:
which makes sense because that just installs What should I do to solve the first error I quoted here? |
Sorry the above (#31 (comment)) is a duplicate. |
hello,
I'm trying to install the rtabmap by following the instructions.Bu ti'm getting the following error
1.
CMake Error at src/rtabmap_ros/CMakeLists.txt:20 (find_package):
Could not find a configuration file for package "RTABMap" that is
compatible with requested version "0.10.5".
The following configuration files were considered but not accepted:
2.CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:283 (message):
A required package was not found
Can anyone help me to solve the issue?
Thanks in advance.
The text was updated successfully, but these errors were encountered: