Code::Blocks Forums
User forums => Help => Topic started by: AlbertusWillem on August 20, 2021, 02:02:04 am
-
Hi, I cannot get code::blocks to find the avr-gcc compiler, the compiler and avr-gdb is in my /usr/bin file. I attached a screenshot. Auto-detect (toolchain executables) did not find it. Using the file browser next to the auto-detect button, when I open /usr/bin the compiler does not show.
Am I missing something (I am a beginner), please help. :)
-
Just some more information - I am running on Ubuntu 20.04 using code::blocks 20.03 downloaded from flathub.
-
It looks good to me, what happens when you click OK?
-
It says "Cant find compiler executable in your configured search paths for GNU GCC compiler for AVR" in a error box in the corner. I'll try and compile it manually in the command line to see if the error might arise from my compiler.
-
Just some more information - I am running on Ubuntu 20.04 using code::blocks 20.03 downloaded from flathub.
There has been at least one person saying flathub Code::Blocks is known to not work.
Tim S.
-
There has been at least one person saying flathub Code::Blocks is known to not work.
I think TIm is right; search for "flatpak" in the forum (example (https://forums.codeblocks.org/index.php/topic,23943.msg163332.html#msg163332))
EDIT: Link to flatpak permissions (https://docs.flatpak.org/en/latest/sandbox-permissions.html)
-
Thank you, I installed code::blocks using apt get now and it works fine.