ucla-vision / xivo

X Inertial-aided Visual Odometry
Other
857 stars 120 forks source link

fix SFINAE error; now compiles and runs with gcc-9 #28

Closed stephanietsuei closed 2 years ago

stephanietsuei commented 2 years ago

Address issue #25. @agrawalparth10, please take a look and see if you can compile on Mac OS. If you don't get this error (but still get others), I will still go ahead and merge.

agrawalparth10 commented 2 years ago

The SFINAE was fixed on clang 12.0.0.

I got the following error - no template named 'unordered_map' in namespace 'std'

This was fixed by adding #include <unordered_map> in common/timer.h