Did somebody install Arduino IDE on Linux Mint 18 XFCE distro (I've got that error also on 17...)?
On a fresh LinuxMint 18 computer (32bit XFCE distro), I try to install Arduino IDE 1.8.3 (I struggle since 1.8.1) by using the downloaded package offered by the Arduino IDE's site.
The installation was not a problem... The installation was successfull... The Arduino's icon shows on desktop... Even in the "start menu", under the "Development" I found the Arduino IDE's icon.
The problem is whatever sketch I try to compile, I obtain the following error code:
"avr-g++: error trying to exec '/opt/arduino-1.8.3/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/as': execv: Exec format error"
Even I try to compile that empty sketch offered by the IDE itself, when the Arduino starts, I've got that error!
(for the moment I am forced to switch to a virtual Windows machine to use Arduino 1.8.3 over there...)
What should I do to have a fully functional Arduino 1.8.3 on my XFCE LinuxMint 18?
Somebody could help?!
I guess you are lucky, otherwise I could not explain... The same error I've got also on a Linux Mint machine (with Mint XFCE 17.3). Maybe you try it on other Mint distribution than XFCE!?
Far as I know, for example, on MATE and CINNAMON distro works... But I am not interested on those...
I run Mint XFCE distro... Maybe that's why works on you...
"I guess you are lucky, otherwise I could not explain... The same error I've got also on a Linux Mint machine (with Mint XFCE 17.3). Maybe you try it on other Mint distribution than XFCE!?"
Lucky isn't something I've been called in quite some time. If something can be installed backwards, I'm your man.
This is just a guess, but maybe check "/home/"user"/.ardunio15/packages
This is what mine looks like, notice that there is no arduino folder.
~/.arduino15/packages $ ls
ATTinyCore MegaCore MightyCore MiniCore
"Far as I know, for example, on MATE and CINNAMON distro works... But I am not interested on those...
I run Mint XFCE distro... Maybe that's why works on you..."
@kprims: First, I want to thank you for your reply... Maybe I do something wrong, because whatever I do, on my computer does not work... I want to describe my steps, maybe you could see what's wrong...
download "arduino-1.8.3-linux32.tar.xz" package in "~/Downloads" and extract it over there; as a result, in Downloads, I have a directory called "arduino-1.8.3"
cd ~\Downloads\arduino-1.8.3
sudo ./install.sh
(at the end, it says: "Adding desktop shortcut, menu item and file associations for Arduino IDE... done!"
Now, start Arduino IDE from WhiskerMenu, "START->Development->Arduino IDE" icon. It opens with a blank sketch. Ignore it and load instead the "Blink" sketch (see attached picture) and try to build...
:o ...the same error as I said... (marked on the picture)
What's wrong?! Maybe you understand something, because all I do was "classic"!...
It's something that I've done wrong?!
Again, thank you in advance for your effort in helping me to start the Arduino IDE on my LinuxMint18, XFCE distro!
:o Just right now, I observe that my Linux Mint 18 it's a 32-bit distro! Could be that?! Arduino IDE don't works on a 32-bit distro? It's hard to believe... Anyway, I download the 32-bit package: "arduino-1.8.3-linux32.tar.xz"
So?!
Sorry to say, but I've got the same error message!
Anyway, the "~/.arduino15/packages" folder does not exist and I wonder why?!
Maybe I should try to install Arduino IDE on a fresh Linux Mint 18 installation. Perhaps, with all this install/uninstall tryings, something remains on the system which bother further attempts.
Till then, I still have a functional Arduino IDE, but on a VMware machine with Win10. So, I have the backup.
I am not happy with that, but for the moment, I can manage my rover project...
Thank you again for your support!