Menu

Error when loading an obj file under Linux

Help
2008-12-09
2012-10-10
  • Glenn Ramsey

    Glenn Ramsey - 2008-12-09

    With the svn build of Meshlab (Ubuntu 8.04 gcc 2.4.2) when I attempt to load an obj file I sometimes get this error:

    meshlab: ../../../../vcglib/vcg/math/../Eigen/src/Core/util/Memory.h:44: Eigen::ei_aligned_array<T, Size, Align>::ei_aligned_array() [with T = float, int Size = 16, bool Align = true]: Assertion `(reinterpret_cast<unsigned int>(array) & 0xf) == 0 && "this assertion is explained here: http://eigen.tuxfamily.org/api/UnalignedArrayAssert.html * READ THIS WEB PAGE !!! *"' failed.

    After it has crashed with that error then it gives the every time when I attempt to start it but if I change dir then it starts. Then it sometimes it allows me to load an obj file and sometimes it crashes while loading it.

    Glenn

     
    • Paolo Cignoni

      Paolo Cignoni - 2008-12-09

      A quick fix is to comment out the

      DEFINES += VCG_USE_EIGEN

      from the shared.pri and the meshlab.pro
      and recompile everything.

      Sometimes the interactions with the eigen lib are more complicated than we expected... :)

      cheers

      p.

       

Log in to post a comment.