AliceVision icon indicating copy to clipboard operation
AliceVision copied to clipboard

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

Open PPPHUB opened this issue 2 years ago • 3 comments

my system is ubuntu20.0.4. When I run sudo make it come out an error that
/AliceVision/src/nonFree/sift/vl/imopv_sse2.c:15:2: error: #error "Compiling with SSE2 enabled, but no __SSE2__ defined" and error: ‘VSIZE’ undeclared (first use in this function) what should I do? And, if I just want to run the source code of the meshroom, do I need to compiler this project or I just need to add the release version to path?

PPPHUB avatar Jul 14 '21 19:07 PPPHUB

same problem

chunibyo-wly avatar Dec 04 '21 07:12 chunibyo-wly

same problem

try to add add_definitions( -DVL_DISABLE_SSE2 ) in alicevision/cmakelists.txt

PPPHUB avatar Dec 05 '21 07:12 PPPHUB

Thanks for your reply, that is a good solution. I use virtual machine to compile this project, and it looks like vm prevent me to use sse2 instruction set.

chunibyo-wly avatar Dec 06 '21 04:12 chunibyo-wly

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 02 '22 00:12 github-actions[bot]