Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9294399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T21:21:48+00:00 2026-06-18T21:21:48+00:00

Before I get any down votes, I would like to say that I am

  • 0

Before I get any down votes, I would like to say that I am a Mechanical guy with avid interest in C++ programming. Until today I have used VS 2010 Express & Qt Creator to suffice my needs. But now I want to compile Qt Creator in MinGw because the standard SDK is for 32 bit only. I have tried searching for clear instructions on the MinGW wiki, sourceforge, Blogs, etc. But that language is almost understandable for me. I want a Standard C++ Compiler which can Compile 64 as well as 32 bit applications on my Windows 7 64 bit Laptop.
Eventually I downloaded

http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Automated%20Builds/mingw-w32-bin_i686-mingw_20111219.zip/download

When I extracted it to C:/MinGw64. The targets were like x86_64-w64-mingw32-gcc.exe, x86_64-w64-mingw32-g++.exe. I added them to the PATH Env variable & it compiles my program, but the name is so long.
The steps to verify over here:
Getting started with OpenCV 2.4 and MinGW on Windows 7

In the correct answer the command is “g++ -I”C:\opencv\build\include” -L”C:\opencv\build\x86\mingw\lib” loadimg.cpp -lopencv_core243 -lopencv_highgui243 -o loadimg”
but this doesnt work for me. I have to enter “x86_64-w64-mingw32-g++” for compling.
Have I done anything wrong?
& which do I use to compile 32 bit apps?

Sorry if this is a very stupid question for you guys but I am pretty new to this stuff.
Thank You1

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T21:21:49+00:00Added an answer on June 18, 2026 at 9:21 pm

    x86_64-w64-mingw32-g++ is the name of the compiler with the name of the target architecture applied. This is to difference between different versions of gcc on one machine. When you don’t have any other gcc installed, you can copy x86_64-w64-mingw32-g++ to g++ and x86_64-w64-mingw32-gcc to gcc.

    You can check if you have other versions of gcc, if you open a terminal (start->run->cmd), and type there gcc -dumpmachine. If it says something which sounds like a 32bit compiler, you have somewhere the 32bit compiler installed. If it says it is a 64bit compiler, you have nothing to do. If it says there is no gcc, the you have to copy the x86_64-w64-mingw32* compilers and add their path to the system path.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Before you down vote this, let me say that I've read ALOT of questions
how can i get the parameters of any form being submitted with method=post before
Is there any way to get notified of JVM shutting down or System.exit call
I'm using jquerys slideToggle method and would like to add a callback function that
Am trying to get the basics down before moving forward with neo4j. Love the
I just realised that I don't get any more information about the expiration date
I know this has been asked before ( Get Absolute Position of element within
Before I get anywhere with this post, let me make this clear, there is
I am risking this question being closed before i get an answer, but i
Ok, before I get a ton of responses. I know you cannot talk to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.