If you’re building a console app under MinGW, you may need to add -static to the General option for the MinGW linker to see console output.The reason is the path…