Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Arduino: missing avr-g++
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
M95D
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jan 2020
Posts: 94

PostPosted: Tue Sep 10, 2024 7:24 pm    Post subject: Arduino: missing avr-g++ Reply with quote

I'm trying to build a program with Arduino IDE. I get this error:
Code:
fork/exec /bin/avr-g++: no such file or directory


I did "crossdev -s4 -t avr", according to instructions, but that didn't install avr-g++.
What else do I need?

Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9823
Location: almost Mile High in the USA

PostPosted: Wed Sep 11, 2024 12:38 am    Post subject: Reply with quote

mine installed in /usr/bin/avr-g++ ... ? I used crossdev but a long time ago...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
M95D
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jan 2020
Posts: 94

PostPosted: Wed Sep 11, 2024 5:45 am    Post subject: Reply with quote

It didn't install avr-g++ anywhere in $PATH.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9823
Location: almost Mile High in the USA

PostPosted: Wed Sep 11, 2024 5:56 am    Post subject: Reply with quote

Tried using gcc-config to select a version if there is none selected?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
M95D
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jan 2020
Posts: 94

PostPosted: Wed Sep 11, 2024 4:05 pm    Post subject: Reply with quote

avr-gcc-14 seems already selected (light-blue * after it). I tried to run "gcc-config gcc-avr-14" anyway and nothing changed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum