Ask Your Question
4

List of supported compilers

asked 2012-07-24 06:24:08 -0600

Michael Burdinov gravatar image

updated 2012-08-22 07:35:45 -0600

Is there a list of of compilers that are supported by OpenCV? Or some kind of statement that OpenCV will be able to compile on all compilers starting from compiler X? We failed to compile it on g++ 4.1.2, while it was compiled successfully on g++ 4.4.6.

Edit (24.7.12): The compilation failure is in freak.cpp when SSE2 option is ON.

Edit 2 (22.8.12): I reported this issue on DevZone and it was fixed. Fix should be part of version 2.4.3. So I assume g++ 4.1.2 is still supported (but I don't know for how long it will be supported).

edit retag flag offensive close merge delete

Comments

I think the exact compilation error would be much more helpful, although probably you'll have to move to a higher g++ version.

Gábor Bernát gravatar imageGábor Bernát ( 2012-07-24 10:02:54 -0600 )edit

What I am interested in is not to solve this specific compilation error, but to know if there intention to keep OpenCV compatible to older compilers. If yes, I will post a bug report. If no, I will find some workaround. And moving to new compiler is not always an option.

Michael Burdinov gravatar imageMichael Burdinov ( 2012-07-24 12:21:13 -0600 )edit

1 answer

Sort by » oldest newest most voted
5

answered 2012-10-23 22:00:24 -0600

AlexanderShishkov gravatar image

updated 2012-10-23 22:01:21 -0600

Now we support next compilers:

Ubuntu: GCC 4.4.3 (Ubuntu 10.04), GCC 4.6 (11.10), GCC 4.6.3(12.04)

Windows: MSVC 2008, 2010 (now we are working on support 2012), MinGW 4.5.1 x64, 4.6 x86

MacOS: GCC 4.2.1

edit flag offensive delete link more

Comments

I see. What about older compilers? Are you planning to keep OpenCV compatible with them, or this compatibility may be broken in one of future versions?

Michael Burdinov gravatar imageMichael Burdinov ( 2012-10-28 01:53:34 -0600 )edit

We don't plan to support old compilers. So you are right, compatibility may be broken. But if you know some workarounds for old compilers, we can add them to the code.

AlexanderShishkov gravatar imageAlexanderShishkov ( 2012-11-01 16:50:41 -0600 )edit

I see. Thank you.

Michael Burdinov gravatar imageMichael Burdinov ( 2012-11-02 05:58:18 -0600 )edit

Question Tools

Stats

Asked: 2012-07-24 06:24:08 -0600

Seen: 1,736 times

Last updated: Oct 23 '12