I have a similar error with my installation. But I still cannot solve it.
I'm using Windows 11 Pro, (22000.856 version)
I have upgraded to CodeLite 16.0.0 using the installation programa (codelite-amd64-16.0.0.exe). At this point the program closes after less than a second.
Then I installed 16.1.0 with same result.
Finally with 16.2.0 it works, but now it is impossible to configure the build settings.
I have installed TDM-GCC-64 (using tdm-gcc-10.3.0.exe) which was the best opcion since CodeLite 9 or about.
I also have installed MinGW with mingw-get-setup.exe.
Both of them are detected by the wizard but it doesn't update the configuration.
Also I have tried "Settings -> build settings -> compilers -> add an existing compiler", and "scan for compilers". In both cases the IDE closes inmediatelly after selecting the compilers.
I believe that the problem is something related to Windows version, but I have tried to remove permisions to the folders, copy the "build_settings.xml" file from previous version, installing in "c:\" instead of "program files", and nothing works.
Any help will be really wellcome.
Thx a lot.