Giter VIP home page Giter VIP logo

Comments (10)

pomerlef avatar pomerlef commented on May 19, 2024

I suspect that your CMake is not pointing to libnabo or something related. Did you follow this:
https://github.com/ethz-asl/libpointmatcher/blob/master/doc/Compilation.md

If it doesn't work, could you post your CMakeCache.txt?

from libpointmatcher.

simonlynen avatar simonlynen commented on May 19, 2024

Libpoint matcher has to compile with openmp. @pomerlef you need to add the openmp flag to pointmatcher's cmakelist.

from libpointmatcher.

simonlynen avatar simonlynen commented on May 19, 2024

@pomerlef Preferably copy this: https://github.com/ethz-asl/libnabo/blob/master/CMakeLists.txt#L51

from libpointmatcher.

pomerlef avatar pomerlef commented on May 19, 2024

@simonlynen Any ways to have those flags optional? There are quite some code relying on libnabo...

from libpointmatcher.

stephanemagnenat avatar stephanemagnenat commented on May 19, 2024

If the flag is required, shouldn't it be provided in the link flags for nabo through the generated libnaboConfig.cmake?

from libpointmatcher.

simonlynen avatar simonlynen commented on May 19, 2024

@pomerlef it is optional https://github.com/ethz-asl/libnabo/blob/master/CMakeLists.txt#L51 if the user has openmp it is activated.
@stephanemagnenat yes I will try to export that properly.

from libpointmatcher.

simonlynen avatar simonlynen commented on May 19, 2024

@stephanemagnenat I will investigate why my previous approach: https://github.com/ethz-asl/libnabo/blob/master/libnaboConfig.cmake.in#L16 doesn't seem to work

from libpointmatcher.

pmolina7 avatar pmolina7 commented on May 19, 2024

Thanks @simonlynen
Adding this: https://github.com/ethz-asl/libnabo/blob/master/CMakeLists.txt#L51 to the libpointmatcher CMakeLists.txt file solves the issue.
Once you resolve it permanently, I can try this all again.

from libpointmatcher.

pomerlef avatar pomerlef commented on May 19, 2024

This should be fix with the commit 790f2b5

@pmolina7 Could you update you libnabo repository, clean your build files and rebuild libnabo and libpointmatcher? Everything should work now.

from libpointmatcher.

pmolina7 avatar pmolina7 commented on May 19, 2024

Thank you @pomerlef - it all builds correctly now :)

from libpointmatcher.

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.