Problems running Task in VSCODE to build with g++ #10793
Unanswered
jfraschilla
asked this question in
Q&A
Replies: 4 comments 11 replies
-
I don't know. I'm not able to repro the issue. |
Beta Was this translation helpful? Give feedback.
5 replies
-
Can the following in my settings.json be the problem?
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to build my first C++ program in VSCODE. I followed the instructions shown in Using GCC with MinGW. I configured a task to use g++ as shown below. When I choose Terminal-> Run Task... -> "C/C==:g++.exe build active file" I get the following error:
If I open a command window and enter the following it does compile and creates a helloworld.exe.
If I edit the tasks.json and change the type from "cppbuild" to "shell" it works and creates a helloworld.exe.
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions