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
-1
votes
1 answer

I get an error trying to compile assembly code/C++ with G++

So i wrote a small program just to test if everything is working. It should take two inputs und output them summed up. test.cpp: #include #include extern "C" int test(int a, int b); int main(){ int x = 0; std::cout <<…
Xaverrrrr
  • 35
  • 8
-1
votes
1 answer

mingw32-make access denied when building wxWidgets

I get an error when I execute mingw32-make in cmd with the makefile.gcc found in the build\msw folder of the wxWidget decompressed zip. I followed the steps shown in this tutorial video. The error is: make (e=5): Acceso denegado. mingw32-make:…
-1
votes
1 answer

elf.h: No such file or directory when using the x86_64-w64-mingw32-gcc cross-compiler

I have been told by many developers to use a cross-compiler to compile my Operating System. The issue is when I switched from using gcc to using x86_64-w64-mingw32-gcc, it gave me the error in the title of this post. I am on Windows using WSL, and I…
Adude
  • 62
  • 7
-1
votes
1 answer

What does _mingw.h header file do?

While I was solving a program in C++, I came across this library _mingw.h, and got curious as to what its use is. From the name I guessed it has something to do with the compiler.
-1
votes
1 answer

c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: final link failed: No space left on device

How to fix this error Im using mingw and when ever im trying to execute a program this error occurs.
-1
votes
1 answer

implicit declaration of function 'link'; did you mean 'unlink'?,implicit declaration of function 'symlink'

Below is my code for Creation of Hardlink and Softlink... Code(Filename:b.c): #include #include #include #include #include #include int main(int argc, char*argv[]) { if(argc==3) { …
-1
votes
2 answers

MinGW can't be installed on Windows 10

I am trying to install MinGW but it's always failing to install. See the picture for the error message. Error
Saurav
  • 75
  • 8
-1
votes
2 answers

Problem with static data member - fixing linking error creates a compiler error

game.h: enum Game_state { MAIN_MENU, /*...*/ }; namespace list { class Linked_list { public: Linked_list() {} }; } class Game { public: static Game_state state; static list::Linked_list objs; }; Game_state Game::state =…
lenerdv
  • 177
  • 13
-1
votes
1 answer

fatal error: openssl/opensslconf.h: No such file or directory

I try to compile a C file which decrypts and executes an rc-4 encryped shellcode with virtual alloc. Now I get an error: "In file included from rc-4.c:2: rc4.h:62:11: fatal error: openssl/opensslconf.h: No such file or directory #include…
Silky
  • 53
  • 1
  • 8
-1
votes
2 answers

int variable changes to 1 after 'while' loop

I was trying to make a 'decimal to binary' program. It should convert from 0 to 255 only and it does. I have two variables, 'n' and 'temp', when the user first enters the number I store it on 'n'. Then I assign 'n' to 'temp' (thus creating a copy,…
jc31
  • 3
  • 1
-1
votes
3 answers

Compiling big C files

I've a big C file 400M approx. The file size is due to big resources within the code itself. I'm trying to compile with MinGW32 but with the mingw32-gcc.exe -O0 -g3 -ggdb3 -o file.exe file.c but the compiler shows me this error cc1.exe: out of…
AhmedKamal
  • 11
  • 1
  • 4
-1
votes
1 answer

Deployment of Qt app when sources change frequently

I'm currently working on a GUI app that is supposed to decrypt some data and print it on the screen, on Windows and Qt (C++) based. The code works fine and I now have to distribute it. However, the format of the data to decipher can (and will)…
Bretelus
  • 7
  • 4
-1
votes
2 answers

Cant' build OpenCV 3.2.0 (Mingw32)

I know... Another one of this... But no one else's error is the same as mine and I've been trying to build opencv with mingw32 for days now. When building OpenCV with mingw the command mingw32-make fails at some point trying to compile…
A. Vieira
  • 1,213
  • 2
  • 11
  • 27
-1
votes
2 answers

MinGW32 make command on windows

I am trying to install a simulation software on windows using MingW32 and cmake. The problem I have is after I use : cmake .. -DCMAKE_INSTALL_PREFIX="/cygdrive/c/Gromacs467" -DGMX_X11=OFF -DGMX_GPU=OFF -DGMX_MPI=OFF -DGMX_PREFER_STATIC_LIBS=ON…
Martin F
  • 47
  • 1
  • 9
-1
votes
1 answer

Qt Creator with MinGW or Visual Studio - Which one is "faster"?

I've been using Qt Creator for about a year. Because I was new to it and was trying to get things up and running as quick as possible, I opted for the MinGW compiler. My projects have worked well enough, but I am working on one that processes a lot…
TenG
  • 3,843
  • 2
  • 25
  • 42