Linked Questions

1 vote
0 answers
88 views

I am trying to use Mingw to get a c++ compiler and debugger in VS Code. I am following this popular tutorial: https://code.visualstudio.com/docs/cpp/config-mingw My problem is when I download and ...
tyler.904's user avatar
33 votes
3 answers
26k views

I want to make a game using SDL2, but I'm unable to compile and/or run my code, please help! SDL2 is notoriously hard to set up, and it's often the first library aspiring game developers try to use. ...
HolyBlackCat's user avatar
23 votes
7 answers
65k views

I am desperately trying to install the latest version of mingw-w64 to get acess to gcc 10 on windows 10. I used the online installer for mingw-w64 in the past, but it is still stuck in 2018 on 8.1.0 ...
kayosa's user avatar
  • 251
22 votes
7 answers
296k views

#include<iostream> using namespace std; int main() { cout<<"hi"<<endl; return 0; } I am using Sublime text 3, and I am getting this error: error- 'g++' is not ...
Rakesh Dagdi's user avatar
33 votes
1 answer
22k views

MSYS2 is said to have different environments. What are they? How do I choose which one to use? What's the difference between MINGW64 and UCRT64? (This Q&A is intended as a canonical duplicate on ...
HolyBlackCat's user avatar
8 votes
4 answers
16k views

The latest online installer (mingw-w64-install.exe from SourceForge) fails with 'Error res' message in the middle of installation. About several students out of 50 in my class were not able to install ...
Youngsup Kim's user avatar
  • 2,235
6 votes
4 answers
34k views

Intro I have a CMake-based C++ project. Until now I build and ran the project via CLion. Everything worked fine until I tried to run the .exe-file directly (not via CLion). Problem When I navigate to ...
Dawid's user avatar
  • 755
2 votes
4 answers
14k views

I am trying to compile some code that was provided to me using a makefile that was also provided to me. I use MinGW for my compiler on Windows 10. I have very little experience with makefiles and ...
LiveToLearn's user avatar
4 votes
5 answers
21k views

I am trying to install MinGW64 on Windows 10. Here is what I tried: Approach 1 Via http://mingw-w64.org/doku.php I went to http://mingw-w64.org/doku.php/download/win-builds and from there to http://...
Make42's user avatar
  • 13.3k
5 votes
2 answers
24k views

I need a compiler that supports c++20, like GCC 10.1 (used on linux), but to use it in my Windows 10. I saw posts that recommend Mingw-w64, but does it supports c++20?
bakun's user avatar
  • 487
1 vote
2 answers
12k views

[Error] 'for' loop initial declarations are only allowed in C99 or C11 mode [Note] use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code I'm giving the above problem's solution,...
17dev's user avatar
  • 261
5 votes
1 answer
2k views

I wrote this as a simplified version of a multithreading example to get a feel for it, but am running into some issues when compiling. My compiler says that thread is not a member of std and prompts ...
catsanddo's user avatar
3 votes
1 answer
13k views

VSCode is displaying the error message ERROR: During startup program exited with code 0xc0000135. When I try to debug the code. Initially MinGW installation was showing the error missing dll files, ...
scarecrow's user avatar
4 votes
1 answer
7k views

I want to debug a c++ code using the generated executable with bazel, but for some reason, the bazel don't build the code on x64 architecture or the executable does not work on debug mode. My files ...
user avatar
1 vote
2 answers
12k views

So I just recently downloaded a C++ IDE called Code::Blocks and made a new project. But when I tried to Build and Run it, the code gave some errors. I know that it isn't a problem with syntax or ...
Aiden Chow's user avatar

15 30 50 per page
1
2 3 4 5
14