Questions tagged [mingw32]

MinGW(32), a contraction of minimalist GNU for Windows, is a minimalist development environment for native Microsoft Windows applications.

MinGW(32), a contraction of minimalist GNU for Windows, is a minimalist development environment for native Microsoft Windows applications.

MinGW(32) (or mingw32) is the old name of the project and the name is now MinGW.

Use of this tag

Tag mingw should be preferred over this tag, mingw32.

790 questions
9
votes
3 answers

-O1/2/3 with -std=c++1y/11/98 - If is included i'm getting error: '_hypot' was not declared in this scope

I've just updated MinGW using mingw-get-setup and i'm unable to build anyting that contains header if I use anything larger than -O0 with -std=c++1y. (I also tried c++11 and c++98) I'm getting errors like this one: g++.exe -pedantic-errors…
HolyBlackCat
  • 78,603
  • 9
  • 131
  • 207
9
votes
1 answer

What does "Warning: corrupt .drectve at end of def file" mean?

With this environment, I have compiled a c++/openGL example posted online: Windows 7 Code::Blocks v 13.12 MinGW build Oct 2013 (not sure on version) mingw32-g++ v 4.8.1 The code from codeincodeblock.com: #define GLEW_STATIC // third-party…
James Jensen
  • 731
  • 1
  • 7
  • 14
9
votes
5 answers

Cannot run my exe file on another computer. "Application requested the runtime to terminate it in an unusual way" error

My exe runs completely fine on the computer I programmed it on. It debugs fine, releases fine, and I can move the exe file from the 'release' folder into a new file, locate the needed .dll files from C:\pathtoqt\ming47_32\bin and it still runs fine.…
throwaway2013
  • 440
  • 8
  • 19
9
votes
3 answers

Undefined reference to `_imp__glewInit@0'

I have built the glew lib so many times. My last build removed the undefined references to all the shader functions such as glCreateShader(). I think this build is the correct one cause I found out that Code:Blocks can open Visual Studio 6.0…
Kaliber64
  • 586
  • 1
  • 5
  • 16
8
votes
2 answers

Is mingw still active?

Mingw.org obviously isn't completely dead, but the latest version there is gcc 4.5.2, while 4.6 is already old news. Does anyone know where I can get mingw-gcc 4.6+? Is mingw-w64 more active? They seem to have 32bit builds too, so is that just the…
Baruch
  • 20,590
  • 28
  • 126
  • 201
8
votes
2 answers

Trying to install MinGW and Tk for Perl on Windows 7

So... I have been trying to get this working for several weeks now. I can install MinGW through the .exe, but no-matter what I do I can't seem to get make support or ppm install MinGW to work in such a way that my compilation of Tk-804.029 will…
Chris Stevens
  • 81
  • 1
  • 2
8
votes
2 answers

python - Getting Pip to use MinGW32 on Windows?

This has been asked and answered a few times, but as you'll see none of the previous answers work for me -- I feel like something had changed to make all the old answers outdated. Or at the very least, I'm in some kind of edge case: On a Windows 7…
8
votes
3 answers

Missing Separator Error in Makefile

I am working on Qt 4.7.2 on Windows. I have generated Makefile, Makefile.Debug and Makefile.Release. However, when I try to use mingw32-make to build an executable, I get the following error: mingw32-make -f Makefile.Debug all mingw32-make[1]:…
gizemdemirel
  • 377
  • 2
  • 4
  • 13
7
votes
5 answers

can't compile wxwidgets through mingw, following install.txt that came with the zip file

I am trying to compile wxwidgets. I am compiling with mingw32 and am following the install.txt that came with the zip file, but when ever I compile it, it gives me these errors. if not exist gcc_mswd mkdir gcc_mswd process_begin:…
user451498
7
votes
1 answer

Enabling curses in both Linux and Windows

I am working on small project in C++ and I am using curses for user interface. I am pretty nicely able to make it work in my arch-linux installation, because it is pretty simple to set up ncurses to work there. But with my cmake setting which is…
Jakub Peschel
  • 135
  • 1
  • 8
7
votes
4 answers

pycrypto installation: configure error: cannot run C compiled programs

Please be gentle on me. I have searched the site, and I know there is another answer to this exact question, but the answers posted there aren't working for me. I am trying to install pycrypto, so that I can get paramiko to work. Paramiko is…
user1858261
  • 71
  • 1
  • 3
7
votes
4 answers

Struct packing and alignment with mingw

I am emulating code from an embedded system (stm32, Keil µVision 5, MDK-ARM) on a PC (mingw32, 32bit arch). The alignment of the ARM compiler does not match my desktop mingw build: // ARM Code (ARM compiler uses __packed) typedef __packed struct…
clambake
  • 772
  • 4
  • 15
7
votes
4 answers

qt 5.2.0 windows 7 missing dlls (program crashes)

Trying to run a Windows 7, Qt 5.2.0 program and it crashes immediately. I have the mingw48_32 version, and 32 bit version of Qt 5.2.0. I dont have Visual Studio, although I did download and install some of the 2010 VS SDK and .Net framework stuff,…
Tim
  • 647
  • 1
  • 10
  • 21
7
votes
1 answer

What does getch() really get? Scan codes?

#include int main (void) { for (;;) { unsigned char ch = getch(); printf ("0x%02X\n", ch); } } I want to get the scan code. Here is the description from Wikipedia: Reads a character directly from the…
Kevin Dong
  • 5,001
  • 9
  • 29
  • 62
7
votes
1 answer

Linking project with statically build curl

I'm doing small project in C++ with CMake and MinGW32, which requires libcurl library, but when i try to link statically build libcurl.a I get undefined reference errors undefined reference to `_imp__curl_easy_init' undefined reference to…
KillerFrca
  • 135
  • 1
  • 1
  • 6
1 2
3
52 53