Jump to content
lt129

Bad CPU type in executable?

Recommended Posts

I have downloaded Energia onto my Mac multiple times and get the same error message. I have downloaded the board that goes along with the MSP432 RED Launchpad and I do not see any other error on my part. My classmates also use Macs and have been able to run Energia with their Launchpads perfectly fine. I asked my TAs in class for help but they could not understand the error; they don't seem to be familiar with using Energia on Mac. Please show me what is wrong.

This is the error message that appeared when I tried to run the example program Blink.

Energia: 1.8.7E21 (Mac OS X), Board: "RED LaunchPad w/ msp432p401r EMT (48MHz)"

fork/exec /private/var/folders/4d/f2w8r7f13995gq110dm7g1280000gn/T/AppTranslocation/BEB180A2-4F3C-4363-93CD-79178D1787C5/d/Energia.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags: bad CPU type in executable
Error compiling for board RED LaunchPad w/ msp432p401r EMT (48MHz).

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

 

Share this post


Link to post
Share on other sites

You are most likely running macOS Catalina. Try this version of the IDE: http://s3.amazonaws.com/energiaUS/distributions/energia-1.8.10E22-macosx-signed.zip. This is a pre-release and I should have an official release for upload on energia.nu next week.

http://s3.amazonaws.com/energiaUS/distributions/energia-1.8.10E22-macosx-signed.zip

Share this post


Link to post
Share on other sites
On 10/9/2019 at 6:39 PM, energia said:

You are most likely running macOS Catalina. Try this version of the IDE: http://s3.amazonaws.com/energiaUS/distributions/energia-1.8.10E22-macosx-signed.zip. This is a pre-release and I should have an official release for upload on energia.nu next week.

http://s3.amazonaws.com/energiaUS/distributions/energia-1.8.10E22-macosx-signed.zip

The two links provided in the thread [Bad CPU type in executable?](https://forum.43oh.com/topic/13554-bad-cpu-type-in-executable/?tab=comments#comment-82533) fail.

  • http://s3.amazonaws.com/energiaUS/distributions/energia-1.8.10E22-macosx-signed.zip returns `AccessDeniedAccess Denied46C5585239622A0BtEYNB+M3ll6eUk8CpPRYP51lFaQ1EqejDms3Cn0z3W5Vz76rCFrkBl6jjaH5qv1x`
  • http://s3.amazonaws.com/energiaUS/distributions/energia-1.8.10E22-macosx-signed.zip is polluted by `http<feff>://s3.amazonaws.com/energiaUS/distributions/energia<feff>-1.8.10E22-macosx<feff>-signed.zip<feff><feff><feff><feff><feff><feff>` and redirects to the Google page.

However, download from http://s3.amazonaws.com/energiaUS/distributions/energia-1.8.10E22-macosx-signed.zip eventually succeeds.

Share this post


Link to post
Share on other sites

New release Energia 22 throws this error on macOS 10.15 Catalina:

Quote

java -jar /Users/ReiVilo/Library/Energia15/packages/energia/tools/ino2cpp/1.0.2/ino2cpp.jar -o /var/folders/wn/n7qqb8ss0k3bvpqwfcdwp_7r0000gn/T/arduino_build_957196/sketch/ -T /Users/ReiVilo/Library/Energia15/packages/energia/tools/ino2cpp/1.0.2/templates/Variables.mk.template -r /Users/ReiVilo/Library/Energia15/packages/energia/tools/ino2cpp/1.0.2 -n Blink.ino /Applications/IDE/Energia.app/Contents/Java/examples/01.Basics/Blink "msp432:MSP_EXP432P401R\""
No Java runtime present, requesting install.
exit status 1
Error compiling for board LaunchPad w/ msp432 EMT (48MHz).

Indeed, many Java related files seem to be missing.

1493464532_Capturedcran2019-10-1111_39_58.thumb.png.2f9896dd0713dc59fb8140a209a38f7b.png

I'm waiting for the final release. In the meantime, I'm using Xcode with embedXcode.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...