Fresh install doesn't work - endless loop or crash

CodeLite installation/troubleshooting forum
megapull
CodeLite Curious
Posts: 1
Joined: Wed Feb 15, 2023 10:07 pm
Genuine User: Yes
IDE Question: C++
Contact:

Fresh install doesn't work - endless loop or crash

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

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

Post 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

Make sure you have read the HOW TO POST thread
Post Reply