Giter VIP home page Giter VIP logo

hesailidar_general_ros2's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hesailidar_general_ros2's Issues

'dashing-devel' branch to the default branch

Hello, @joonr7 .

It would be better if you replace the default branch from master branch to dashing-devel branch.
I think merging dashing-devel into the master branch is also a good way, if you will not create any branches.

Thanks.

Ros2 Build error

Hi, @joonr7
I try to build this driver on Ubuntu20.04 for ROS2 galactic.
Boost version is 1.71.0

$ colcon build

and get this error

/usr/bin/ld: libPandarGeneralSDK.so: undefined reference to `boost::thread::native_handle()'
/usr/bin/ld: libPandarGeneralSDK.so: undefined reference to `typeinfo for boost::detail::thread_data_base'
/usr/bin/ld: libPandarGeneralSDK.so: undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
/usr/bin/ld: libPandarGeneral.so: undefined reference to `boost::thread::detach()'
/usr/bin/ld: libPandarGeneralSDK.so: undefined reference to `boost::thread::join_noexcept()'
/usr/bin/ld: libPandarGeneralSDK.so: undefined reference to `boost::thread::start_thread_noexcept()'
/usr/bin/ld: libPandarGeneralSDK.so: undefined reference to `vtable for boost::detail::thread_data_base'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/hesai_lidar_node.dir/build.make:158: hesai_lidar_node] Error 1
make[1]: *** [CMakeFiles/Makefile2:221: CMakeFiles/hesai_lidar_node.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---
Failed   <<< hesai_lidar [1.99s, exited with code 2]

Summary: 0 packages finished [2.08s]
  1 package failed: hesai_lidar
  1 package had stderr output: hesai_lidar

I add link for libboost_thread.so and libboost_thread.a in /usr/lib/ , add this

set(CMAKE_CXX_FLAGS "${CAMKE_CXX_FLAGS} -L/usr/lib/x86_64-linux-gnu/ -lboost_thread")
or
set(CMAKE_CXX_FLAGS "${CAMKE_CXX_FLAGS} -L/usr/lib/ -lboost_thread")

both not working, still get the same error.
Is there any suggestions to build this ros2 driver correctly?

Thanks.

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.