Skip to content

Unable to compile helloworld.cpp example from Visual Studio Code doc #13086

Answered by bobbrow
slolo2000 asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like the 2024 mingw version we link to installs g++ version 13.2. The MSYS2 website has a newer version of the installer that installs version 14.2 of g++. However, I didn't have any problems running the commands above with version 14.2. I'm hoping that maybe simply reinstalling will fix your problem.

Replies: 6 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@slolo2000
Comment options

@bobbrow
Comment options

Comment options

You must be logged in to vote
4 replies
@bobbrow
Comment options

@bobbrow
Comment options

@bobbrow
Comment options

Answer selected by bobbrow
@slolo2000
Comment options

Comment options

You must be logged in to vote
1 reply
@bobbrow
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants