raulmur / ORB_SLAM2

Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities
Other
9.49k stars 4.71k forks source link

orbslam2 raising static_assert when compiling with clang #114

Open OtacilioNeto opened 8 years ago

OtacilioNeto commented 8 years ago

Dears

When I try compile orbslam2 under FreeBSD 11 I'm getting a "static_assert failed". Searching the Internet I have found that this maybe can be a bug on orbslam that gcc don't catches (https://llvm.org/bugs/show_bug.cgi?id=15576).

Attached orbslam.txt is the error message:

OtacilioNeto commented 8 years ago

The compiler of FreeBSD 11 is Clang.