Page 1 of 1

Fresh install doesn't work - endless loop or crash

Posted: Wed Feb 15, 2023 10:12 pm
by megapull

Hello, I bought a new laptop recently, and I have problems getting CodeLite to work.

Step by step here is what I did:

  1. Downloaded MSYS2 as per https://docs.codelite.org/getting_started/windows/
  2. Installed the packages required, posted on the link above
  3. Did the next step there as well
  4. Downloaded CodeLite 17.0

What I got:

  1. Upon launch, I went through the Wizard. As it ended, CodeLite restarted, and the Wizard started all over again
  2. None of my settings were remembered (like dark mode)
  3. If I check Build Settings, the Compilers tab is empty.
  4. If I manually navigate to the correct bin folder, it recognizes the compiler, I click OK, and it crashes instantly.

Things I tried:

  1. Every single version from 15.0 to 17.1
  2. Manually setting up another mingw-64 compiler with environment settings
  3. Deleting appdata
  4. Countless reinstalls and registry clears
  5. Between each try I restarted the computer, did a "clean run" all over again

Re: Fresh install doesn't work - endless loop or crash

Posted: Wed Feb 15, 2023 11:57 pm
by eranif

This is probably due to permissions error on your machine.
Try this:

  • Close codelite
  • Delete the folder %appdata%\codelite
  • Right click on the desktop icon and select "Properties -> Shortcut"
  • In the "Target" field, add -d \path\to\some\writable\directory -> CodeLite should write all the settings to that folder

Start CodeLite by double clicking the icon

If this still does not work, make sure you dont have any anti-virus software running