How the fuck do I compile C++ on Windows?

How the fuck do I compile C++ on Windows?

Attached: 1533585856542.png (556x430, 70K)

Other urls found in this thread:

sourceforge.net/projects/mingw/
docs.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=vs-2019
twitter.com/NSFWRedditGif

wid bisual stoodio, silly :^)

enjoy ur mingw garbage

sourceforge.net/projects/mingw/
then cmd -> gcc sourcefile_name.cpp or gcc -o outputfile.exe
i think

why is mingw garbage?

you can't just use visual studio? lol

Yea just use mingw. gcc is better than visualc

>get wood
>build a house with it
You are absolute shit at explaining things to other people. Stop trying to advise anyone. Ever.

icc

install WSL

Install Gentoo

how about op should try googling instead of asking strangers to spoonfeed him everything about compiling c++ on windows you absolute dipshit negro

Just bite the bullet and use visual studio if ypu're on w*ndows

Use Clang, of course!

download visual studio community, select desktop development and maybe the windows API if you want. Then either use the IDE or call msvc yourself

install the WSL and just use gcc

You literally can google the answer you lazy fuck

You need a big fat IDE just to compile and run hello world.
What a joke of a "developer OS".

docs.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=vs-2019

read this and never open msvs again

Install the shit he linked
Run cmd like he said
Type the commands he said
It's literally everything you have to do. If you don't understand this you should consider suicide

>even having vs installed in the first place

Except it isn't, but you'd know that if you'd actually tried it before shitposting.

Install mingw with msys2.

I recommend using Linux if you're going to be programming on your computer because it's so much easier to install libraries and shit. I guess there is Bash for Windows now, so that isn't that much of a problem.

And for those of us who build and develop projects larger than hello world, we can spare the 5GB.

Install straight up MinGW-w64.
Fuck MinGW and fuck MSYS2.

Install gentoo

idk how other people do it but this was my compilation toolchain when i used windows:

cmake -> ninja -> clang-cl -> msvc

Attached: 2017-12-271.gif (186x159, 10K)

CODEBLOCKS GANG

Yeah, who needs anything but make and gcc.
Except that's wrong, because many libraries require sed/grep/awk/perl/... just to build.

Install MSYS2, at least then you have ports of all the unixy tools (and pacman to manage it).

You're the epitome of the state of this board, GET THE FUCK OUT AND STOP POSTING YOU FUCKING RETARDED MONGOLOID

doesn't visual studio have a build button that you click and it tells you if you need to fix your code somewhere?

Install Gentoo

He says, without an argument. Again.

Visual Studio

cl.exe

the only correct answer, the answer is to not compile on winblows

Go to windows store, install Ubuntu. Done you have bash on windows, you can install any apt package, including gcc and use it exactly like linux.

>download compiler
>configure ide with compiler
>hope it works
Or just use VS

Visual Studio is literally the best option on Windows.

>cmake

Attached: 1559515924564.jpg (960x640, 162K)

I see you've never used gcc or llvm. Mingw takes longer than anyone to compile, spouts gibberish, is inferior to MSVC which is literally proprietary, and it's a sad excuse for why llvm isnt developed for windows.

Fuck.

Attached: earl_some rap songs.jpg (320x320, 18K)

I installed codeblocks just to get stuff to compile.

Cmake is baste fuck off

Visual Studio. I hope to God you have a SSD and a hyperthreaded cpu.

Attached: 1563449829101-0.gif (200x234, 2.85M)

Attached: 1564028723173.jpg (1133x822, 162K)

Why is CMake bad?

Use Linux. Install WSL.