jserv / lsd_slam

LSD-SLAM
GNU General Public License v3.0
49 stars 41 forks source link

Run Error #8

Open Zoltan3057 opened 5 years ago

Zoltan3057 commented 5 years ago

Hi: I got those errors after run ./LSD

OpenGL Error: XX (1280) In: /home/intesight/Pangolin/include/pangolin/gl/gl.hpp, line 201 LSD: /usr/include/eigen3/Eigen/src/Core/MapBase.h:168: void Eigen::MapBase<Derived, 0>::checkSanity() const [with Derived = Eigen::Map<Eigen::Matrix<double, 7, 7>, 32, Eigen::Stride<0, 0> >]: Assertion `((size_t(m_data) % (((int)1 >= (int)internal::traits::Alignment) ? (int)1 : (int)internal::traits::Alignment)) == 0) && "data is not aligned"' failed. Aborted (core dumped)

FreddyName commented 4 years ago

Hi, I also meet the same error, have you fixed it ? Looking forward to your reply. Thank you very much.

sfchng commented 3 years ago

I managed to solve the problem by appending set( CMAKE_BUILD_TYPE "Release" ) in the CMakeLists.txt. Hope it helps!

jserv commented 3 years ago

I managed to solve the problem by appending set( CMAKE_BUILD_TYPE "Release" ) in the CMakeLists.txt.

Thank @sfchng for working on lsd_slam. Can you send a pull request?