Crashing when adding compiler

CodeLite installation/troubleshooting forum
maiku
CodeLite Curious
Posts: 3
Joined: Fri Jan 17, 2020 11:07 pm
Genuine User: Yes
IDE Question: C++
Contact:

Crashing when adding compiler

Post by maiku »

Hi,
I've been using CodeLite for just over a year now (v13.0.3, win 10 pro 64 bit) and quite literally never had a single issue with it, until today.

I figured I'd switch things up and switch the theme for the first time since I started started using it but when I hit the "apply" button after choosing a theme the program crashed with a "Not responding" message.
I restarted CodeLite and continued working like normal although when I hit F7 to compile I got a "compiler could not be found" message, so I went into the build settings and the whole list was empty. Now when I try to add a compiler, after selecting the folder and getting the choose name dialog, CodeLite just crashes.

I would greatly appreciate some help! Let me know what info you need.
Thanks a lot!
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Crashing when adding compiler

Post by eranif »

My guess is that the XML file the represents the compilers is empty/corrupted.
You could simply delete it and restart CodeLite

%appdata%\CodeLite\config\build_settings.xml
Make sure you have read the HOW TO POST thread
maiku
CodeLite Curious
Posts: 3
Joined: Fri Jan 17, 2020 11:07 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Crashing when adding compiler

Post by maiku »

That sounds about right although I can't confirm it, I ended up just reinstalling CodeLite and setting up my compilers from scratch.

EDIT: It just happened again a couple months later and, it seems deleting the build_settings.xml file in %appdata%\CodeLite\config\ did indeed fix it. Gonna be backing that up from now on.
Post Reply