CodeLite closes when I Scan to find MinGW

CodeLite installation/troubleshooting forum
taetim88
CodeLite Curious
Posts: 1
Joined: Sun Feb 02, 2020 12:11 am
Genuine User: Yes
IDE Question: C++
Contact:

CodeLite closes when I Scan to find MinGW

Post 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?
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: CodeLite closes when I Scan to find MinGW

Post 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
Make sure you have read the HOW TO POST thread
Post Reply