uzh-rpg / rpg_svo_example

Example node to use the SVO Installation.
268 stars 103 forks source link

Build for Ubuntu 18 + ROS Melodic #72

Closed thomas-kuruvila closed 3 years ago

thomas-kuruvila commented 3 years ago

I have been successful in setting up the estimator in ubuntu 16 with ROS Kinetic. However application requires dependencies on Ubuntu 18. I am trying to set it up for ubuntu 18, but facing serious dependency error. @zhangzichao Can this be successfully done?

thomas-kuruvila commented 3 years ago

I was able to successfully build svo_ros for ubuntu 18, though its not an easy task.

Abrar3616 commented 3 years ago

Hi Thomas. Hope you are well. I would also like to know how you built it for melodic with ubuntu 18 if you could please assist in this i would be very grateful. Many Thanks

Regards

thomas-kuruvila commented 3 years ago

The issues i faced were all version mismatch or absence of certain libraries. Even though i cannot point a single good happy path, clonning and building the repo, and solving for the build issues worked out for me.

Abrar3616 commented 3 years ago

Alright thanks i got everything else done but i got this error and i don't know how to deal with it. Could you please help me in this

Screenshot from 2021-01-28 13-23-25

Abrar3616 commented 3 years ago

ok so i fixed this issue by removing the -Werror flag in cmake file. now i have the following error:

Screenshot from 2021-01-28 14-42-30

thomas-kuruvila commented 3 years ago

I remember encountering the same issue, even when i had opencv3 installed. I observed that the shared object files i had were not libopencv_core3.so.3.3. Instead my system had libopencv_core.so.3.3. The path i took may not be the most ideal. I checked up with my previous machine, which was running ubuntu16.04, which had the entire shared files. I copied these to /usr/lib. Hope this works for you!