-
Notifications
You must be signed in to change notification settings - Fork 568
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
catkin_make error #273
Comments
On my system I cannot reproduce the error. The thing I see is that on my system it is linking on freenect installed by ros kinetic instead of the system one:
If I look at the system one:
They link on same libusb library. The difference is that libfreenect in kinetic path is version 0.5.1 and on system path is 0.5.3. Not sure why on your system it is not linking on libfreenect from kinetic by default, did you source setup.bash of kinetic? |
From Readmd.md of this repository:
|
This is kind of old but according to the next step you have to run catkin_make on you catkin dir after cloning it. How do I fix this? |
It is |
Hi, I encounter this error when im trying to catkin_make -j2 for step 10 building from source for jetson nano. https://github.com/introlab/rtabmap_ros#build-from-source Base path: /home/mole/catkin_ws Running command: "make cmake_check_build_system" in "/home/mole/catkin_ws/build"-- Using CATKIN_DEVEL_PREFIX: /home/mole/catkin_ws/devel The following configuration files were considered but not accepted:
-- Configuring incomplete, errors occurred! It seems like it need openCV3 but mine is openCV4. Any idea how i can force it to think that it is openCV3? or any other solutions are welcome! Thanks~ |
@CluelessIT this is what i found out worked (this is one of my projects) https://learn.todbot.co/set-up-todbot/software#installing-opencv |
@CluelessIT You may try changing 3 by 4 here: https://github.com/ros-perception/vision_opencv/blob/0bbebb73bea65eca856e732b919439853a04986b/cv_bridge/CMakeLists.txt#L16 |
had similar error, changed 3 to 4 as mentioned, it went away but still not finishing successfully. `nvidiaagx@nvidiaagx-desktop:~/catkin_ws$ catkin_make -j2 Running command: "make cmake_check_build_system" in "/home/nvidiaagx/catkin_ws/build"-- Using CATKIN_DEVEL_PREFIX: /home/nvidiaagx/catkin_ws/devel Could not find a package configuration file provided by "apriltag_ros" with
Add the installation prefix of "apriltag_ros" to CMAKE_PREFIX_PATH or set CMake Warning at rtabmap_ros/CMakeLists.txt:30 (find_package): Could not find a package configuration file provided by "find_object_2d"
Add the installation prefix of "find_object_2d" to CMAKE_PREFIX_PATH or set -- The imported target "vtkRenderingPythonTkWidgets" references the file
-- The imported target "vtk" references the file
-- RTABMAP_SYNC_MULTI_RGBD = ON Running command: "make -j2" in "/home/nvidiaagx/catkin_ws/build"[ 0%] Built target sensor_msgs_generate_messages_py |
It is a vision_opencv issue with OpenCV4. Look at this post: ros-perception/vision_opencv#272 You may try this pull request (worked for me): ros-perception/vision_opencv#288 |
Hi, I got this error even though all dependencies have been downloaded. Does anyone of you know why? How could I fix it? |
The OdomInfo msg has been updated recently. There is a mismatch between rtabmap_ros and rtabmap versions on your side. Make sure to re-update rtabmap library and reinstall it, then try rebuild rtabmap_ros. |
While doing
catkin_make
i am getting the below errorInvoking "make -j4 -l4" failed
. Please let me know what am I missing?I am using ROS Kinetic , Ubuntu 16.04, ZED Camera.
git clone https://github.com/introlab/rtabmap_ros.git
cd rtabmap_ros/
git tag -l
git checkout tags/0.17.0-kinetic -b kinetic
catkin_make --pkg rtabmap_ros
Base path: /home/hercules/robot_operating_system/first_workspace/catkin_ws
Source space: /home/hercules/robot_operating_system/first_workspace/catkin_ws/src
Build space: /home/hercules/robot_operating_system/first_workspace/catkin_ws/build
Devel space: /home/hercules/robot_operating_system/first_workspace/catkin_ws/devel
Install space: /home/hercules/robot_operating_system/first_workspace/catkin_ws/install
Running command: "make cmake_check_build_system" in "/home/hercules/robot_operating_system/first_workspace/catkin_ws/build"
Running command: "make -j4 -l4" in "/home/hercules/robot_operating_system/first_workspace/catkin_ws/build/rtabmap_ros"
[ 0%] Built target std_msgs_generate_messages_py
[ 0%] Built target sensor_msgs_generate_messages_py
[ 0%] Built target geometry_msgs_generate_messages_py
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_NodeData
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_ListLabels
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_SetLabel
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_MapGraph
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_RGBDImage
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_MapData
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_Link
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_Point3f
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_UserData
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_SetGoal
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_Goal
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_Point2f
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_ResetPose
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_GetMap
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_KeyPoint
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_GPS
[ 0%] Built target _rtabmap_ros_generate_messages_check_deps_OdomInfo
[ 1%] Built target rtabmap_ros_gencfg
[ 1%] Built target _rtabmap_ros_generate_messages_check_deps_Info
[ 1%] Built target std_msgs_generate_messages_lisp
[ 1%] Built target _rtabmap_ros_generate_messages_check_deps_PublishMap
[ 1%] Built target sensor_msgs_generate_messages_lisp
[ 1%] Built target geometry_msgs_generate_messages_lisp
[ 1%] Built target std_msgs_generate_messages_cpp
[ 1%] Built target geometry_msgs_generate_messages_cpp
[ 1%] Built target sensor_msgs_generate_messages_cpp
[ 1%] Built target std_msgs_generate_messages_eus
[ 1%] Built target sensor_msgs_generate_messages_eus
[ 1%] Built target geometry_msgs_generate_messages_eus
[ 1%] Built target std_msgs_generate_messages_nodejs
[ 1%] Built target geometry_msgs_generate_messages_nodejs
[ 1%] Built target sensor_msgs_generate_messages_nodejs
[ 1%] Linking CXX executable /home/hercules/robot_operating_system/first_workspace/catkin_ws/devel/lib/rtabmap_ros/icp_odometry
[ 1%] Linking CXX executable /home/hercules/robot_operating_system/first_workspace/catkin_ws/devel/lib/rtabmap_ros/stereo_odometry
[ 1%] Linking CXX executable /home/hercules/robot_operating_system/first_workspace/catkin_ws/devel/lib/rtabmap_ros/rgbd_odometry
[ 1%] Linking CXX executable /home/hercules/robot_operating_system/first_workspace/catkin_ws/devel/lib/rtabmap_ros/rtabmap
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreenect.so: undefined reference to
libusb_get_parent' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreenect.so: undefined reference to
libusb_error_name'collect2: error: ld returned 1 exit status
rtabmap_ros/CMakeFiles/rtabmap.dir/build.make:1349: recipe for target '/home/hercules/robot_operating_system/first_workspace/catkin_ws/devel/lib/rtabmap_ros/rtabmap' failed
make[2]: *** [/home/hercules/robot_operating_system/first_workspace/catkin_ws/devel/lib/rtabmap_ros/rtabmap] Error 1
CMakeFiles/Makefile2:7290: recipe for target 'rtabmap_ros/CMakeFiles/rtabmap.dir/all' failed
make[1]: *** [rtabmap_ros/CMakeFiles/rtabmap.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreenect.so: undefined reference to
libusb_get_parent' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreenect.so: undefined reference to
libusb_error_name'collect2: error: ld returned 1 exit status
rtabmap_ros/CMakeFiles/icp_odometry.dir/build.make:1349: recipe for target '/home/hercules/robot_operating_system/first_workspace/catkin_ws/devel/lib/rtabmap_ros/icp_odometry' failed
make[2]: *** [/home/hercules/robot_operating_system/first_workspace/catkin_ws/devel/lib/rtabmap_ros/icp_odometry] Error 1
CMakeFiles/Makefile2:6892: recipe for target 'rtabmap_ros/CMakeFiles/icp_odometry.dir/all' failed
make[1]: *** [rtabmap_ros/CMakeFiles/icp_odometry.dir/all] Error 2
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreenect.so: undefined reference to
libusb_get_parent' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreenect.so: undefined reference to
libusb_error_name'collect2: error: ld returned 1 exit status
rtabmap_ros/CMakeFiles/rgbd_odometry.dir/build.make:1349: recipe for target '/home/hercules/robot_operating_system/first_workspace/catkin_ws/devel/lib/rtabmap_ros/rgbd_odometry' failed
make[2]: *** [/home/hercules/robot_operating_system/first_workspace/catkin_ws/devel/lib/rtabmap_ros/rgbd_odometry] Error 1
CMakeFiles/Makefile2:7221: recipe for target 'rtabmap_ros/CMakeFiles/rgbd_odometry.dir/all' failed
make[1]: *** [rtabmap_ros/CMakeFiles/rgbd_odometry.dir/all] Error 2
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreenect.so: undefined reference to
libusb_get_parent' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreenect.so: undefined reference to
libusb_error_name'collect2: error: ld returned 1 exit status
rtabmap_ros/CMakeFiles/stereo_odometry.dir/build.make:1349: recipe for target '/home/hercules/robot_operating_system/first_workspace/catkin_ws/devel/lib/rtabmap_ros/stereo_odometry' failed
make[2]: *** [/home/hercules/robot_operating_system/first_workspace/catkin_ws/devel/lib/rtabmap_ros/stereo_odometry] Error 1
CMakeFiles/Makefile2:7088: recipe for target 'rtabmap_ros/CMakeFiles/stereo_odometry.dir/all' failed
make[1]: *** [rtabmap_ros/CMakeFiles/stereo_odometry.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
hercules@hercules:~/robot_operating_system/first_workspace/catkin_ws$
The text was updated successfully, but these errors were encountered: