Giter VIP home page Giter VIP logo

Comments (3)

josefgraus avatar josefgraus commented on June 10, 2024

This is a roadblock for me in using this library. I'm currently using the cmake generator for Visual Studio 17 2022 with dependencies being gathered, as much as possible, via Conan v2.0 from ConanCenter. I'm able to satisfy all the external dependencies specified in the Windows Compilation docs (except for grep but that is resolved with no issue via the installer).

I'm sure you're already aware, but it appears that the main issue holding back compiling for C++20 is the version of yaml-cpp expected. I hacked in a newer version (yaml-cpp 0.7.0) and made fairly decent progress getting libpointmatcher nearly compiled but there are a number of spots where the interface for yaml-cpp has changed since the point where they removed std::auto_ptr from their codebase to support newer versions of C++. The issues I've discovered so far include:

  1. YAML text files are being loaded with a deprecated interface: https://stackoverflow.com/a/41430777/1279176
  2. YAML node traversal uses iterators in a way that is no longer supported
  3. As far as I can tell, there is no longer a YAML_PM namespace, so all the conditional compilation directives differentiating system vs packaged yaml-cpp can be removed.

I'm uncertain if that's all the issues, but those are the biggest ones I ran into before pausing.

As an aside, the version of gtest included in contrib/ was also giving me trouble so for purposes of my attempts to get something built I kept the tests disabled and just didn't add the gtest subdirectory via cmake.

Looking forward to updates if you have the time, and I hope it's a fairly easy task? Famous last words haha.

from libpointmatcher.

boxanm avatar boxanm commented on June 10, 2024

I recently merged #450, which removes the dependency on the old yaml-cpp API. This puts us one step closer to supporting a more modern C++ version. @josefgraus , can you expand on what were the other issues encountered, especially with gtest?

from libpointmatcher.

boxanm avatar boxanm commented on June 10, 2024

We've just released libpointmatcher 1.4.0 which supports C++17!

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.