Build Error #error "Compiling with SSE2 enabled, but no __SSE2__ defined"

303 views
Skip to first unread message

Sezai Sablak

unread,
Mar 5, 2015, 7:59:01 PM3/5/15
to theia-visi...@googlegroups.com
Did anybody see the following error while building TheiaSfM? Am I missing any parameters or packages to be installed?
Thanks,
-Steve

[ 12%] Building C object libraries/vlfeat/CMakeFiles/vlfeat.dir/vl/imopv_sse2.c.o
/home/il/SfM/TheiaSfM/libraries/vlfeat/vl/imopv_sse2.c:15:2: error: #error "Compiling with SSE2 enabled, but no __SSE2__ defined"
 #error "Compiling with SSE2 enabled, but no __SSE2__ defined"
  ^
In file included from /home/il/SfM/TheiaSfM/libraries/vlfeat/vl/imopv_sse2.c:22:0:
/usr/lib/gcc/i686-linux-gnu/4.8/include/emmintrin.h:31:3: error: #error "SSE2 instruction set not enabled"
 # error "SSE2 instruction set not enabled"
 

Pierre Moulon

unread,
Mar 6, 2015, 2:53:59 AM3/6/15
to Sezai Sablak, theia-visi...@googlegroups.com
Hi,

In order to build VLFEAT without SSE2 instruction you have to activate the VL_DISABLE_SSE2 preprocessor.

Regards/Cordialement,
Pierre M

--
You received this message because you are subscribed to the Google Groups "Theia Vision Library" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theia-vision-lib...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages