wh200720041 / iscloam

Intensity Scan Context based full SLAM implementation for autonomous driving. ICRA 2020
Other
578 stars 134 forks source link

Compilation fail #14

Closed palomacf15 closed 3 years ago

palomacf15 commented 4 years ago

Hi, I'm using ROS Melodic an download the repository with git clone. When I did "catkin_make" the error said that I had to use "catkin_make_isolated". And after doing so the error says: / usr / bin / ld: cannot find -lBoost :: timer

Could you help me?

wh200720041 commented 4 years ago

Hi @pcarrascof

Did you install libboost?

You can install libboost by sudo apt-get install libboost-all-dev

Han

palomacf15 commented 4 years ago

Yes, I have libboost installed

gyzou commented 4 years ago

I had the same issue, and hand-fixed the cmake.

@wh200720041 What GTSAM version are you using?

darkdevahm commented 4 years ago

I have the same issue, how did you fix it? I already have installed libboost. Selection_058

wh200720041 commented 4 years ago

Hi

I have done some test on the GTSAM 4.0.3. The problem happens on the newer GTSAM version. I version I used is GTSAM 3.x so I did not find this issue

The problem is probably caused by an update from 4.0.2 to 4.0.3 according to the gtsam https://github.com/borglab/gtsam/pull/303

The solution is to insert find_package(Boost REQUIRED COMPONENTS timer thread) to Cmakelists.

The cmakelists.txt is also updated.