Output Console Instantly Closes

CodeLite installation/troubleshooting forum
tyler126
CodeLite Curious
Posts: 1
Joined: Fri Sep 13, 2019 2:22 am
Genuine User: Yes
IDE Question: C++
Contact:

Output Console Instantly Closes

Post by tyler126 » Fri Sep 13, 2019 2:33 am

Hello,

When I am trying to run the simple default hello world program, the output console will open and immediately close in a split second.
I am getting 0 errors or warnings, but it does say " 'mingw32-make' is not recognized as an internal or external command, operable program, or batch file."
I am unsure as to why this is happening. Also, I am not sure if this is related to my issue, but when I try to debug it gives me an error that states: "Debugger exited with the following error string: "No executable specified, use 'target exec'."

Version 13.0.2
OS Windows 10
MinGW

User avatar
eranif
CodeLite Plugin
Posts: 5934
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Output Console Instantly Closes

Post by eranif » Fri Sep 13, 2019 3:59 pm

Do you have a compiler installed?
Make sure you have read the HOW TO POST thread

Malice983
CodeLite Curious
Posts: 3
Joined: Wed Aug 21, 2019 8:55 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Output Console Instantly Closes

Post by Malice983 » Thu Sep 19, 2019 8:28 am

To agree with the response above. This looks like you told Codelite to use mingw but never downloaded it and assigned it to be used.

PaowZ
CodeLite Curious
Posts: 6
Joined: Sat Apr 16, 2011 8:23 pm
Genuine User: Yes
IDE Question: C++
Location: South France
Contact:

Re: Output Console Instantly Closes

Post by PaowZ » Thu Sep 19, 2019 8:36 pm

Same as above.
Check MinGW at that address: https://sourceforge.net/projects/mingw- ... z/download
..and ensure your binaries path is accessible from PATH environment variable.

Post Reply