akaze icon indicating copy to clipboard operation
akaze copied to clipboard

Illegal instruction

Open simon1tan opened this issue 8 years ago • 2 comments

I am getting "Illegal instruction" when I try to run the programs after successful compilation. Have opencv 3.2.0 installed. Below is the output of cmake. Am I missing something, wrong versions?

-- The C compiler identification is GNU 6.2.0 -- The CXX compiler identification is GNU 6.2.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- >>> Adding src subdirectory -- Found OpenCV: /usr/local (found version "3.2.0") -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Try OpenMP C flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Try OpenMP CXX flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Found OpenMP: -fopenmp
OpenMP found -- Configuring done -- Generating done

simon1tan avatar Jan 02 '17 23:01 simon1tan

This is a compiler issue. Try a different compiler (Clang) or older version of GCC. I would suggest compiling with OpenCV 3.1.0 and see if you the error is still appearing.

jnuevo avatar Jan 03 '17 00:01 jnuevo

From Open CV version 3.0 Akaze is integrated in the library itself.So if u r trying to integrate it from outside, it may show some errors. However the open cv can be configured without it. U can try 2.4.9 as well.

On Jan 3, 2017 5:32 AM, "Jesus Nuevo" [email protected] wrote:

This is a compiler issue. Try a different compiler (Clang) or older version of GCC. I would suggest compiling with OpenCV 3.1.0 and see if you the error is still appearing.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

amlandas78 avatar Jan 03 '17 05:01 amlandas78