JakobEngel / dso

Direct Sparse Odometry
GNU General Public License v3.0
2.3k stars 910 forks source link

#error you must enable NEON instruction (ODROID) #190

Open buemi opened 5 years ago

buemi commented 5 years ago

Hi. I'm compiling the project on ODROID UX4. I followed the instrucion to include sse2neon, but when I run the command make j4 I receive the following error at 16%:

_Building CXX object CMakeFiles/dso.dir/src/FullSystem/FullSystemOptPoint.cpp.o In file included from /home/odroid/SLAM/dso/thirdparty/sse2neon/SSE2NEON.h:123:0, from /home/odroid/SLAM/dso/src/OptimizationBackend/MatrixAccumulators.h:29, from /home/odroid/SLAM/dso/src/FullSystem/CoarseTracker.h:32, from /home/odroid/SLAM/dso/src/FullSystem/FullSystem.cpp:47: /usr/lib/gcc/arm-linux-gnueabihf/5/include/arm_neon.h:31:2: error: #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) t ^ In file included from /home/odroid/SLAM/dso/src/OptimizationBackend/MatrixAccumulators.h:29:0, from /home/odroid/SLAM/dso/src/FullSystem/CoarseTracker.h:32, from /home/odroid/SLAM/dso/src/FullSystem/FullSystem.cpp:47: /home/odroid/SLAM/dso/thirdparty/sse2neon/SSE2NEON.h:143:9: error: ‘float32x4_t’ does not name a type typedef float32x4_t m128; ^ /home/odroid/SLAM/dso/thirdparty/sse2neon/SSE2NEON.h:144:9: error: ‘int32x4_t’ does not name a type typedef int32x4_t m128i;_

How I can #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) t