Code::Blocks 20.03 can't suddenly find -lglfw3 in Ubuntu 20.04

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?

5

1 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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like