fireflyIt ! seems that we couldn't locate Arduino.exe.!

image

What does this mean?
It seems that we couldn’t locate Arduino.exe.!

It means that you need to install the Arduino IDE.

1 Like

Thanks ,It worked

This doesn’t work for me. I installed Arduino IDE and for some reason this message keeps appearing. And looking for the path won’t show the .exe

The error seems to be caused by some changes between the latest Arduino IDE version and the version Firefly was written for.

For my current use case I only need some general purpose IO nodes like OSC, which I just tested without issue, so I can’t confirm if the approach below might have compatibility issues for Arduino-specific nodes or not. If there are issues, then the best move would probably be to use whatever the latest version of Arduino IDE was at the time of Firefly’s most recent release.

Here’s my AI chat which outlines my workaround for the issue:
 


I’m trying to use the Firefly library for Rhino. It’s displaying an error because it can’t find arduino.exe.

I just installed the latest version of Arduino IDE, and have this file on my system:
C:\Program Files\Arduino IDE\Arduino IDE.exe

Is Arduino IDE.exe the new name for what used to be arduino.exe? Or do these files serve different purposes?

I’m wondering if symlinking Arduino IDE.exe as arduino.exe will resolve the error.

 

Yes, you’re on the right track. Here’s a breakdown of the situation and potential solutions:

Understanding the Files

  • arduino.exe: This is the classic, legacy Arduino IDE executable. Many older libraries and tools might still depend on this specific name.
  • Arduino IDE.exe: This is the executable for the newer Arduino IDE (likely version 2.0 or later). While functionally similar, the internal structure and executable name have changed.

Solutions

  1. Symlink: Your idea of creating a symbolic link is spot on. A symlink will make arduino.exe point to Arduino IDE.exe without changing the original file. Here’s how to do it on Windows:

    • Open a command prompt as administrator (Right-click on the Command Prompt icon and select “Run as administrator”).
    • Navigate to the directory where Firefly expects arduino.exe to be. For example, you might use:
      cd C:\Program Files (x86)\Firefly\ 
      
      (Adjust this path based on where Firefly is installed)
    • Create the symlink:
      mklink arduino.exe "C:\Program Files\Arduino IDE\Arduino IDE.exe" 
      
  2. Update Firefly (if possible): The cleanest solution, if feasible, would be to see if there’s a newer version of the Firefly library that’s compatible with the latest Arduino IDE and doesn’t rely on the old executable name.

  3. Install Older Arduino IDE (Less Ideal): If neither of the above works, you could install an older version of the Arduino IDE (1.8.x or earlier) alongside the newer one. This should provide the arduino.exe file. However, it’s not ideal for the long term as you might miss out on newer features.

Important Note: The exact location of your Arduino files might vary depending on your installation choices.

2 Likes

This worked for me.