Ask Your Question
1

Where can I find prebuilt libraries for Cygwin gcc compiler?

asked 2012-10-04 22:10:15 -0500

tonga gravatar image

updated 2012-10-04 22:13:32 -0500

I downloaded OpenCV and tried to compile an example code using my Cygwin gcc complier. But I couldn't find any prebuilt libraries (such as libopencv_highgui) for Cygwin under opencv/build/x86 directory. There is a Mingw directory which contains the libraries for Mingw GCC. But I have only Cygwin GCC installed. So where is the prebuilt library directory for Cygwin GCC? Thanks.

By the way, the OpenCV version I downloaded is the Windows version. Should I download the Linux version if I use Cygwin GCC as my compiler even if I work under Windows?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-10-05 01:29:16 -0500

Daniil Osokin gravatar image

Hi! OpenCV version for Windows has no pre-built libs for Cygwin gcc. You can build OpenCV from sources. Furthermore, OpenCV's documentation has a set of tutorials with installation process and examples of usage on different platforms. You can check it.

edit flag offensive delete link more

Comments

Hi, thanks for your answer. The Cygwin GCC version is GCC 3.4.4. But I looked at the OpenCV GCC requirement is GCC 4.4 or later. So I cannot build OpenCV from sources using my Cygwin GCC 3.4.4. So does that mean I can only switch to Visual Studio to compile OpenCV? Many thanks.

tonga gravatar imagetonga ( 2012-10-05 16:55:29 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-10-04 22:10:15 -0500

Seen: 2,211 times

Last updated: Oct 05 '12