Giter Site home page Giter Site logo

Comments (4)

mlopezantequera avatar mlopezantequera commented on May 17, 2024

same thing here

from mrpt.

bellonemauro avatar bellonemauro commented on May 17, 2024

As Josè Luis Blanco just told me, in cmake there is a config flag "use Embedeed Eigen" just check it and it should work for now. I've just compiled.
Then, I can suggest to who will fix this to consider the possibility of setting such flag to 1 as default, in order to avoid others the same problem (maybe just for know),
Mauro

from mrpt.

jlblancoc avatar jlblancoc commented on May 17, 2024

Hi guys,

I told @bellonemauro to upload this so @MarianoJT88 can take a look at the usage of CSparseMatrix in his class, and then:

  1. If it's not actually needed, just remove the #include of sparse matrices in the DifOdo headers.

  2. or, if they are really needed (and in the future for anything that requires Eigen/Sparse), please take a look at how the random field maps handle that:

*Header: *
https://github.com/jlblancoc/mrpt/blob/b4e802ca975eb163f31387a6eb8fa3753612299d/libs/maps/include/mrpt/slam/CRandomFieldGridMap2D.h#L23

Source
https://github.com/jlblancoc/mrpt/blob/b4e802ca975eb163f31387a6eb8fa3753612299d/libs/maps/src/maps/CRandomFieldGridMap2D.cpp#L255

Loook for every usage of EIGEN_VERSION_AT_LEAST(). I know it's tiring, but at least we assure that MRPT builds in all platforms...

Hope it helps! :-)
@MarianoJT88 : when you upload the fix, feel free to close this issue please!

@bellonemauro : It's better to leave that decision to the user, or to the automatic scripts that build mrpt for each Ubuntu distribution, so we can use the embedded version only when really necessary.

from mrpt.

MarianoJT88 avatar MarianoJT88 commented on May 17, 2024

Class "CDifodo" has already been modified to work without Eigen/sparse.
Therefore I close this issue which should be corrected now.

from mrpt.

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.