I installed Code::Blocks in my Ubuntu 20.04 about a month ago and tested it with a GNU GCC Compiler. It could run a simple "Hello Word"-program. I didn't use CodeBlocks after that.
But now a month later it can't compile anything! even the same "Hello World" with the same compiler. Instead it claims "-lglfw3 not found". I can't change compilers either since CodeBlocks "Can't find compiler executable in your configured search path's for [COMPILER NAME]"I installed Geany and it can run "Hello World" just fine (Of course, I still need CodeBlocks for more complex programming).
Do you guys have any idea why my Code::Blocks might not work? There has been some system updates hasn't there? Any idea on how to possibly fix this?
51 Answer
As N0rbert in comments suggested, moving ~/.config/codeblocks resolved the issue. Guess you could just remove that folder too. Seems to wipe the list of latest projects tough.