-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 in ROS Noetic [Error] #206
Comments
For me on Melodic with Opencv4.5 installed I had the change the line in utility.h to opencv2/opencv.hpp. |
Hi @Rotoslider Thanks for the info. @TixiaoShan Step 2: Configure the utility.h to use Step 3: Configure CMakeLists.txt to use With these 3 modifications, LIO-SAM is able to be installed on Ubuntu 20.04 and ROS Noetic. You may try it out. Best, |
@HappySamuel this was very helpful. @TixiaoShan Can this be added to the documentation? |
@HappySamuel Thanks for the post! Supper helpful! |
I created a fork that compiles on Ubuntu 20.04 with ROS Noetic |
Even with @HappySamuel's changes, I still encountered a strange error:
which was resolved by moving This appears to be caused by a incompatibility between FLANN and OpenCV, whereby the Also the stable |
Thanks for providing information for Noetic compiling. To summarize HappySamuel and willat343's comments:
|
According to this all that has to be done to fix the |
There are still some compilations issues with this now and ROS Noetic. Can anyone please help me? |
参考一下链接修改: 1. LIO-SAM issue TixiaoShan#206 2. 知乎文章: LIO-SAM源码解析:准备篇 (https://zhuanlan.zhihu.com/p/352039509) 具体步骤: 1. sudo add-apt-repository ppa:borglab/gtsam-release-4.1 2. sudo apt-get update 3. sudo apt install libgtsam-dev libgtsam-unstable-dev 4. catkin_make 5. 添加 ros 环境变量到终端 6. 运行
把flann移到opencv前面 |
I am trying to install the LIO-SAM in Ubuntu 20.04 and ROS Noetic. However i couldn't get it catkin_make.
Error 1:
![Screenshot from 2021-02-23 18-03-08](https://user-images.githubusercontent.com/18137963/108828398-c067b900-7601-11eb-838b-1243af124a85.png)
GTSAM version: ppa gtsam (4.0.3)
Reason of using ppa GTSAM (4.0.3) is because failed to build GTSAM (4.0.2) from source. It failed at
cmake -DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF ..
Is there any solution to this error?
Error 2:
![Screenshot from 2021-02-23 18-03-08](https://user-images.githubusercontent.com/18137963/108828111-66ff8a00-7601-11eb-891b-b91fc4203917.png)
catkin_make ERROR
What's the opencv version needed for LIO-SAM?
Best,
Samuel
The text was updated successfully, but these errors were encountered: