Ask Your Question

MinGW vs. MinGW-64

asked 2015-09-09 06:51:15 -0500

peter_cz gravatar image

updated 2015-09-09 09:46:37 -0500

pklab gravatar image


I'm building latest opencv 3.0 under Win 7 64b using Eclipse & gcc. I noticed there is MinGW & MinGW-w64 tools for gcc and Cygwin as well. Which one to preferably use Cygwin, MinGW, MinGW-w64? Is there tutorial on how to get OpenCV build under Eclipse/gcc under Windows somewhere? I'm googling it but majority infos are individual posts and outdated.

Thank you for your advice.


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-09 09:42:37 -0500

pklab gravatar image

Relevant part of your question is " to get OpenCV 3.0 build under ..." I think you won't find an updated installation guide so download binaries or try it yourself starting from the Quick Start.

About residual (and OT) question: Did you search "Cygwin vs MinGW" on the net ?

  • Using Cygwin your applications will have POSIX substrate with pros and cons.
  • MinGW is suitable for the development of native MS-Windows applications.
  • MinGW-w64 is a build env for 64bit and/or 32bit Windows application.

Finally, may be you will need of a GUI. For OpenCV you can use wxWidgets , Qt or Microsoft Foundation Class (MFC)

edit flag offensive delete link more


I'm following QuickStart and building it accordingly with MinGW taken from link text but I see Mingw-w64 exists @ link text therefore question what preferably to use to build it. looking for recommendation.

peter_cz gravatar imagepeter_cz ( 2015-09-09 09:51:17 -0500 )edit

at another post link text showing problems with Qt.

peter_cz gravatar imagepeter_cz ( 2015-09-09 09:53:21 -0500 )edit

OpenCv and Qt works perfectly together. I prefer wxWidgets or MFC. Definitely it's up to you because all of those are OK. If you have/want to develop at 64bit you need 64bit compiler like MinGW-w64

pklab gravatar imagepklab ( 2015-09-09 10:15:49 -0500 )edit

I want to use Qt but up-to-now I couldn't build OpenCV WITH_QT - I installed Qt binaries but I read in Quick Start I should build Qt my own. Hopefully this causing a problem... need to find-out.

peter_cz gravatar imagepeter_cz ( 2015-09-09 10:21:26 -0500 )edit

@pklab have you try wxOpenCV

LBerger gravatar imageLBerger ( 2015-09-09 11:45:53 -0500 )edit

@LBerger Yes I'm trying it since few weeks ago... I think it's very interesting.

I'm having some errors with binary distro. I'm trying to build it from source with some effort because of dependencies (openscenegraph and plplot). In the next future I would like to extract some core functions to show how to use wxWidget with OpenCV.

I'm looking for a GUI interface to OpenCV like Harpia (is dead?) or Cassandra (Qt based)... and now wxOpencv is a rising star

But maybe itsn't right place here to talk about wxOpencv :)

pklab gravatar imagepklab ( 2015-09-10 02:48:39 -0500 )edit

Yes that's not the good place. If you want you can send @mail. Just write Berger in box nom

LBerger gravatar imageLBerger ( 2015-09-10 03:12:06 -0500 )edit

Question Tools

1 follower


Asked: 2015-09-09 06:51:15 -0500

Seen: 760 times

Last updated: Sep 09 '15