I've just recently installed the eclipse CDT 8.5 Luna via the "Install software..." repository feature and the MinGW toolkit for C++.
When I try creating a new C++ project, choosing an "Empty Project" from "Executable" then building it yields a "Launch failed. Binary not found." After consulting multiple forums, I've managed to set the Makerfile Project's Binary Parsers default to "PE Windows Parser" via Windows >> Preferences >> C/C++ >> New C/C++ Project Wizard >> Makefile Project. When I try building the project, it still gives me the same error.
I've tried creating a "Hello World C++ Project" instead from "Executable", and after building, the binaries folder miraculously builds itself.
Why does "binaries" only build when I create a "Hello World C++ Project" and not when I build an "Empty Project"?
Another thing is that when I try running the default Hello World main.cpp code, nothing seems to output in the console. Again I've consulted various forums and the only solution to this issue is right clicking my project in Project Explorer >> Properties >> Run/Debug Settings >> Edit... [HelloWorld.exe] >> Environment >> New... >> and creating Variable PATH; Value C:\MinGW\bin.
Is there a way to get the output to work in console without having to manually set the environment for new projects? It just seems convoluted to have to go through all these steps.