Page 1 of 1

CodeLite closes when I Scan to find MinGW

Posted: Sun Feb 02, 2020 12:18 am
by taetim88
I can't get CodeLite to compile even the basic "Hello World" program that it starts with.
I have MinGW installed and I have created a PATH to C:\MinGW\bin in my Environmental Variables

When I type gcc --version in the CMD prompt it confirmed that MinGW is installed:
"gcc (MinGW.org GCC-6.3.0-1) 6.3.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."

So, now when I go in to CodeLite and choose to run the Installation Wizard it gets to the point where it asks me to Scan or Install, I Select "Scan".
As soon as I select this the program closes completely, it's not even in Task Manager anymore.

The whole reason why i am trying to use CodeLite is because I can create multiple projects inside the same workspace and Run each file separately to I see if that part of the program works. I can't find any other compiler that will do this for C++ so I need this fixed... unless someone knows of one?

Re: CodeLite closes when I Scan to find MinGW

Posted: Sun Feb 02, 2020 11:18 pm
by eranif
Start Codelite and from the menu bar go to Settings -> Build Settings -> Add new compiler (the + button in the dialog toolbar)
Select the folder C:\MinGW\bin

and click OK