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

Version Compatibility #54

Open
Yigit-Kuyu opened this issue Jun 13, 2023 · 3 comments
Open

Version Compatibility #54

Yigit-Kuyu opened this issue Jun 13, 2023 · 3 comments

Comments

@Yigit-Kuyu
Copy link

Can this algorithm be implemented with Ubuntu 20.04, ROS neotic?

@PauloBarbosa15
Copy link

Hello, I managed to implement the code of the indicated versions, but you have to make some changes:

  • In CMakeLists.txt, you have to change the CMAKE_CXX_FLAGS to "-std=c++14";
  • Frames_id in all codes .cpp, remove the / (in camera ,camera_init , laser_odom and aft_mapped);
  • Swap " #include <opencv/cv.h> " to " #include <opencv2/opencv.hpp> " in scanRegistration.cpp;
  • In kittiHelper.cpp, swap " CV_LOAD_IMAGE_GRAYSCALE " to " cv::IMREAD_GRAYSCALE ".

If this doesn't work, check the version of Eigen, Ceres and PCL.

@Yigit-Kuyu
Copy link
Author

Thank you, I will try.

@minglok943
Copy link

I followed. But I met with this error.
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libcudart_static.a', needed by '/home/####/catkin_ws/devel/lib/aloam_velodyne/alaserOdometry'. Stop.
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libcudart_static.a', needed by '/home/####/catkin_ws/devel/lib/aloam_velodyne/alaserMapping'. Stop.

my gpu is GTX-1660ti
I installed cuda 11.8 toolkit and nvidia 520 driver following https://developer.nvidia.com/cuda-11-8-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=deb_local

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