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

Unable to compile mrpt_graphslam_2d #69

Closed
zhimouliang opened this issue Oct 18, 2022 · 3 comments
Closed

Unable to compile mrpt_graphslam_2d #69

zhimouliang opened this issue Oct 18, 2022 · 3 comments

Comments

@zhimouliang
Copy link

Hi,
I am trying to run the whole slam process in mrpt_graph_slam_2d, however, this package depends on a specific version of mrpt since I found some APIs are different than latest mrpt, and I tried mrpt 2.3.0 and 2.5.0, which failed after I try a different combination of mrpt related package and some of the APIs doesn't match.
In order to make mrpt_graphslam_2d work, which version of mrpt should I build? Is there any guide I can follow to get the corresponding version for other mrpt related packages?
Appreciate the help!

@jlblancoc
Copy link
Member

Hi @zhimouliang ! Have you tried the latest mrpt2 version from the ros distribution you are using? That is:

sudo apt remove libmrpt*
sudo apt install ros-$ROS_DISTRO-mrpt2

and rebuild using catkin or colcon as usual?

The mrpt_slam package is in the wait for a complete reorganization and port to ros2, anyway... but we don't have a timeline for it yet. However, the current version should build and pass the tests, according to the ROS1 build farm Jenkins jobs here

@zhimouliang
Copy link
Author

Hi @jlblancoc
I tried your suggestion and make some tuning and finally make it compiled! Firstly I use apt install as much as possible(catkin_make sometimes fails even if they are in the same version with apt install). Secondly I checkout mrpt_msgs into 0.4.3 (ros1 is not compatible).
Thank you!

@zhimouliang
Copy link
Author

Hi @jlblancoc
However, while I try to run it an error pop up: "(MRPT:5786): Gtk-ERROR **: 11:21:32.975: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported".
Are there any way to fix it?

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

2 participants