GithubHelp home page GithubHelp logo

catkin_make error about livox-mapping HOT 18 CLOSED

pjlab-adg avatar pjlab-adg commented on September 29, 2024
catkin_make error

from livox-mapping.

Comments (18)

SiyuanHuang95 avatar SiyuanHuang95 commented on September 29, 2024

Hi, thanks for your interest in our project!

From the terminal information, it seems that the CustumMessage.h header in livox_driver cannot be found. As:

#include <livox_ros_driver/CustomMsg.h>

I would recommend you first check the build status " livox_ros_driver" of and source the livox_ros_driver before building (follow livox_ros_driver) our project.

Bests,

from livox-mapping.

geoarch2021 avatar geoarch2021 commented on September 29, 2024

/usr/bin/ld : ne peut trouver -lBoost::timer
collect2: error: ld returned 1 exit status
Livox-Mapping/SC-PGO/CMakeFiles/livox_mapping.dir/build.make:479: recipe for target '/home/glic/catkin_ws/devel/lib/livox_mapping/livox_mapping' failed
make[2]: *** [/home/glic/catkin_ws/devel/lib/livox_mapping/livox_mapping] Error 1
CMakeFiles/Makefile2:7372: recipe for target 'Livox-Mapping/SC-PGO/CMakeFiles/livox_mapping.dir/all' failed
make[1]: *** [Livox-Mapping/SC-PGO/CMakeFiles/livox_mapping.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j12 -l12" failed

i think i resolved the error of sourcing livox_ros_driver but still have the error of -lboost::timer
how can i solve it?

from livox-mapping.

SiyuanHuang95 avatar SiyuanHuang95 commented on September 29, 2024

You need to install iboost related.

Did you test on our docker?

from livox-mapping.

geoarch2021 avatar geoarch2021 commented on September 29, 2024

when i check the version of boost librery with "dpkg -s libboost-dev | grep 'Version'" i have this result "Version: 1.65.1.0ubuntu1"
sorry but i'm a beginner. how can i test on your docker?

from livox-mapping.

SiyuanHuang95 avatar SiyuanHuang95 commented on September 29, 2024

First of all, I cannot understand your terminal information with “/usr/bin/ld : ne peut trouver -lBoost::timer”. So no further help could be offer.

For the docker usage, please take a look at: https://github.com/PJLab-ADG/Livox-Mapping#23-docker

from livox-mapping.

geoarch2021 avatar geoarch2021 commented on September 29, 2024

if i use docker to run the test with docker , do i need to build the project with catkin_make?
thanks for your time.

from livox-mapping.

SiyuanHuang95 avatar SiyuanHuang95 commented on September 29, 2024

Yes, you need

pull the docker -> get into the docker -> pull the project -> build the project

Bests

from livox-mapping.

geoarch2021 avatar geoarch2021 commented on September 29, 2024

hi, i still have the same problem. can you provide me more informations or tutorial for docker build project please?
Thanks a lot

from livox-mapping.

SiyuanHuang95 avatar SiyuanHuang95 commented on September 29, 2024

Hi,

I would recommend you the official tutorial: https://docs.docker.com/get-started/

Since the docker part is not our main focus, I would suggest you go for help in the docker-related forum, where the people there are more professional than us.

Bests,
Siyuan

from livox-mapping.

SiyuanHuang95 avatar SiyuanHuang95 commented on September 29, 2024

Since no more active comments, I will close this issue. You can re-open it when needed.

from livox-mapping.

BrightSoulXYHY avatar BrightSoulXYHY commented on September 29, 2024

I have the same problem

from livox-mapping.

BrightSoulXYHY avatar BrightSoulXYHY commented on September 29, 2024

I fix it try add next line at src\Livox-Mapping\SC-PGO\CMakeLists.txt
it seems livox_mapping need boost::timer but compiler does not find it

# src\Livox-Mapping\SC-PGO\CMakeLists.txt
find_package(Boost REQUIRED COMPONENTS timer)

from livox-mapping.

SiyuanHuang95 avatar SiyuanHuang95 commented on September 29, 2024

Can you try it in our docker?

from livox-mapping.

geoarch2021 avatar geoarch2021 commented on September 29, 2024

I installed docker and followed the instructions but seems it doesn’t work 😅
Someone can provide us a tutorial of the installation? Do we need to install Gtsam?

from livox-mapping.

BrightSoulXYHY avatar BrightSoulXYHY commented on September 29, 2024

Can you try it in our docker?

I using it on WSL and VM
I am unfamiliar to docker , I may learn docker if I have some leisure time next weekend hhhh

from livox-mapping.

SiyuanHuang95 avatar SiyuanHuang95 commented on September 29, 2024

I installed docker and followed the instructions but seems it doesn’t work 😅 Someone can provide us a tutorial of the installation? Do we need to install Gtsam?

Hi @geoarch2021 , if you use the docker, I guess no more installation is needed since we have pre-installed everything we need in the docker environment.

For GTSAM, one possible reference would be: gisbi-kim/FAST_LIO_SLAM#8.

For docker usage, please check the official guidance and tutorial.

Best

from livox-mapping.

SiyuanHuang95 avatar SiyuanHuang95 commented on September 29, 2024

Can you try it in our docker?

I using it on WSL and VM I am unfamiliar to docker , I may learn docker if I have some leisure time next weekend hhhh

@BrightSoulXYHY It definitely worth it using docker to try out the slam algorithms.

Best

from livox-mapping.

SiyuanHuang95 avatar SiyuanHuang95 commented on September 29, 2024

Since no further questions, I will close this issue.

from livox-mapping.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.