Giter Club home page Giter Club logo

Comments (6)

nachovizzo avatar nachovizzo commented on July 28, 2024 6

@martinlucan I anyway found a workaround, but I still would recommend upgrading the system.

The first thing to do is to upgrade cmake just follow the instructions here then patch the source code with this:

diff --git a/src/cpp/kiss_icp/3rdparty/tbb/tbb.cmake b/src/cpp/kiss_icp/3rdparty/tbb/tbb.cmake
index c9bc854..4c42802 100644
--- a/src/cpp/kiss_icp/3rdparty/tbb/tbb.cmake
+++ b/src/cpp/kiss_icp/3rdparty/tbb/tbb.cmake
@@ -34,8 +34,8 @@ ExternalProject_Add(
              ${ExternalProject_CMAKE_CXX_FLAGS}
              # custom flags
              -DTBB_BUILD_TBBMALLOC=ON
-             -DTBB_BUILD_SHARED=OFF
-             -DTBB_BUILD_STATIC=ON
+             -DTBB_BUILD_SHARED=ON
+             -DTBB_BUILD_STATIC=OFF
              -DTBB_BUILD_TESTS=OFF)
 
 # Simulate importing TBB::tbb for OpenVDBHelper target

I built it, test it, and it was actually working . I'm sorry but I will not probably provide support to make this work out of the box, if someone else needs support for ROS-MELODIC, just like this comment!

By the way, I've tried this on a docker enviroment: osrf/ros:melodic-desktop-full ,

from kiss-icp.

nachovizzo avatar nachovizzo commented on July 28, 2024 1

@martinlucan , @astronaunt This is now fixed in master automatically. Check the PR for details. If you have a modern cmake version installed, then you can build the project without having to modify the source.

from kiss-icp.

nachovizzo avatar nachovizzo commented on July 28, 2024

@martinlucan can you specify a bit more about your system, etc? In any case, one option would be to install the TBB library locally. Just do sudo apt install libtbb-dev and try to build

from kiss-icp.

ciniminis1 avatar ciniminis1 commented on July 28, 2024

@nachovizzo I run ubuntu 18.04 on x86 arch. with ROS Melodic. Unfortunately, libtbb-dev is already installed.

from kiss-icp.

nachovizzo avatar nachovizzo commented on July 28, 2024

I'm sorry, but I can't help in this case, the Operating system is 3 months away from being deprecated ("April 30, 2023") I'd suggest you upgrade to something more modern

from kiss-icp.

astronaunt avatar astronaunt commented on July 28, 2024

Thanks a lot for your excellent work! I modified the source code according to your method and successfully fixed this problem。

from kiss-icp.

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.