News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Cannot find avr compiler although avr-gcc is installed

Started by AlbertusWillem, August 20, 2021, 02:02:04 AM

Previous topic - Next topic

AlbertusWillem

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. :)


AlbertusWillem

Just some more information - I am running on Ubuntu 20.04 using code::blocks 20.03 downloaded from flathub.

Miguel Gimenez

It looks good to me, what happens when you click OK?

AlbertusWillem

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.

stahta01

Quote from: AlbertusWillem on August 20, 2021, 11:55:08 AM
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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Miguel Gimenez

#5
Quote from: stahta01 on August 20, 2021, 03:37:24 PM
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)

EDIT: Link to flatpak permissions

AlbertusWillem

Thank you, I installed code::blocks using apt get now and it works fine.