Go Down

Topic: avr-g++: bad CPU type in executable (Read 1 time) previous topic - next topic

ayucyndi

Hello,

I have a trouble using my arduino Uno.

Whatever I do, even if my program is correct (I tried with the original "blink" program as well)
when I verify my program I get this error message:

fork/exec /Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++: bad CPU type in executable

I already tried to reinstall the Arduino.app, but doesn't help.

I'm working on MacBook air 2018(MacOS 10.15 beta) and with the version 1.8.9 of the arduino app

does anybody here know what I can do?




little note: I'm a real noob with computers... you should know that before helping me!

DrAzzy

#1
Jun 07, 2019, 06:13 pm Last Edit: Jun 07, 2019, 06:19 pm by DrAzzy
The Arduino IDE (well, the toolchain) is 32-bit, Mac OS 10.15 only runs 64-bit applications. Hence, the IDE is currently not compatible with 10.15.

The Arduino developers are aware of the issue and last I checked the issue on github (when someone else asked earlier this week), they were hoping to have a 64-bit version available for mac to address this before the general release of 10.15.

As an aside, you say you are a little noob with computers; in this case, what possessed you to use a beta version of your operating system? Using beta versions should be left to experts who are better prepared to deal with the inevitable strange bugs (which, because it's new, won't have a large body of knowledge available on how to deal with them) that will be encountered with such experimental software - particularly something like the OS.
ATtiny core for 841+1634+828 and x313/x4/x5/x61/x7/x8 series Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts (some assembled), mosfets and awesome prototyping board in my store http://tindie.com/stores/DrAzzy

Gielk

I have the same problem it is because of the max beta i just installed beta 2 still same problem. I also tried the arduino 2 (beta) also not working. Is there currently any workaround ?

Gielk

Solution is download the latest build here https://github.com/arduino/Arduino/pull/8976

voor mac hier http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-8976-BUILD-869-macosx.zip

thephilnord

Solution is download the latest build here https://github.com/arduino/Arduino/pull/8976

voor mac hier http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-8976-BUILD-869-macosx.zip
This worked for me as well. Using Beta 3

DerekC

FYI, This issue is being tracked here: https://github.com/arduino/Arduino/issues/8626

Go Up