Ask Your Question
0

Instalation opencv on ubuntu - inconsistent operand

asked 2015-01-01 16:40:06 -0600

updated 2015-01-02 11:31:09 -0600

Hello, I am trying to install opencv 2.4.10 on ubuntu 12.04 regard to tutorial: https://www.youtube.com/watch?v=MqQB5.... After some time when I put command "make" in 3:24 I receive error:

[ 2%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o /home/mn/Pobrane/opencv-2.4.10/modules/core/src/system.cpp: In function ‘(static initializers for /home/mn/Pobrane/opencv-2.4.10/modules/core/src/system.cpp)’: /home/mn/Pobrane/opencv-2.4.10/modules/core/src/system.cpp:280:10: error: inconsistent operand constraints in an ‘asm’

make[2]: * [modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o] Błąd 1

make[1]: * [modules/core/CMakeFiles/opencv_core.dir/all] Błąd 2

make: * [all] Błąd 2

What is wrong? what should I do fix it??

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2015-01-02 11:37:34 -0600

what should I do fix it??

You should try to use google. If you search for

inconsistent operand constraints in an ‘asm’ OpenCV

The first link is the OpenCV Bug report:

http://code.opencv.org/issues/3983

The second link leads to a very similar question here on answers.opencv.org, where there are also several possible solutions:

http://answers.opencv.org/question/45...

So first thing would be to update your compiler.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-01-01 16:40:06 -0600

Seen: 810 times

Last updated: Jan 02 '15