iris-ua / iris_lama

LaMa - A Localization and Mapping library
BSD 3-Clause "New" or "Revised" License
337 stars 72 forks source link

catkin build error Object library target "minisam" may not link to anything. #33

Closed ZOUJIASHUAI closed 2 years ago

ZOUJIASHUAI commented 2 years ago

Errors << iris_lama:cmake /home/jason/agv_ws/logs/iris_lama/build.cmake.000.log CMake Error at /home///src/iris_lama-master/vendor/minisam/CMakeLists.txt:28 (target_link_libraries): Object library target "minisam" may not link to anything.

eupedrosa commented 2 years ago

You may need to clean your build directory.

ZOUJIASHUAI commented 2 years ago

I do have clean the build dir ,I even creat a new woekspace,but still got this error

ZOUJIASHUAI commented 2 years ago

@eupedrosa

eupedrosa commented 2 years ago

That is strange, did you update both iris_lama and iris_lama_ros? What build system are you using? How can I replicate the error?

ZOUJIASHUAI commented 2 years ago

hello @eupedrosa my system is ubuntu18,I followed the instructions from iris_lama_ros,I think you may can replicate the error on a new fresh ubuntu18?maybe you have already installed something else?

below is the installation instructions I followed cd catkin_ws mkdir src cd src git clone https://github.com/iris-ua/iris_lama git clone https://github.com/iris-ua/iris_lama_ros cd .. catkin config --extend /opt/ros/melodic catkin build

eupedrosa commented 2 years ago

Hi @ZOUJIASHUAI, I hope it is now fixed. I test it on a fresh melodic install

ZOUJIASHUAI commented 2 years ago

hello @eupedrosa ,it is fixed now,Thanks a million. I really appreciate you code.