You are not logged in.

#1 2009-03-05 01:15:02

bgodea
Member
From: California, USA
Registered: 2006-06-27
Posts: 34

[solved] problems with opencv

I am trying to use some of the opencv libraries and seem to be unable to use opencv functions during the program execution. I built and installed opencv 1.1pre1-2 from AUR without any issue using the exact PKGBUILD. This is what happens when I run any example program:

[bgodea@totem python]$ ./houghlines.py photo.jpg
Illegal instruction

I have also compiled some 'c' sample programs using gcc fine, but I get the same message when I run the executable. I've tried a bunch of these files so I know its not the code. It seems that I can import in the libraries okay, but calling the function during execution fails. I've searched around a lot about this problem.

Any ideas? Thanks for any help. I'm using an i686 system.

Last edited by bgodea (2009-03-05 17:29:55)

Offline

#2 2009-03-05 17:32:56

bgodea
Member
From: California, USA
Registered: 2006-06-27
Posts: 34

Re: [solved] problems with opencv

It turn out that the AMD athlon processors do not support SSE/SSE2. This means I needed --disable--SSE2 to be added to the PKGBUILD. I will suggest that this be added.

Offline

Board footer

Powered by FluxBB