Nano matter cant find the compiler..? Windows 11 used. The card is recognized by the USB port. Using 2.3.4 IDE

exec: "C:\Users\JO11474\AppData\Local\Arduino15\packages\SiliconLabs\tools\gcc-arm-none-eabi\12.2.rel1/bin/arm-none-eabi-g++": executable file not found in %PATH%

Compilation error: exec: "C:\Users\JO11474\AppData\Local\Arduino15\packages\SiliconLabs\tools\gcc-arm-none-eabi\12.2.rel1/bin/arm-none-eabi-g++": executable file not found in %PATH%

Sounds like a corrupt installation. Possible reasons:

  1. Your antivirus has quarantined the program. Check the logs and you might have to whitelist the Arduino15 directory and sub directories.
  2. It's just corrupt. Downgrade the board package, test, next upgrade the board package, test.

Thank you for the response ... I havent totally ruled out the antivirus as a possibility.
What i did find was that the path was'nt completed as follows:
C:\Users\JO11474\AppData\Local\Arduino15\packages\SiliconLabs\tools\gcc-arm-none-eabi\12.2.rel1>cd bin
The system cannot find the path specified.

The directory "bin" was not created and contents below it...
It is interesting that the 2.3.4 package installed ok for the most part. I can edit and create sketches. It recognizes the nano matter card, ie with the USB port it reads back the card info. BN: ArduinoNano Matter
VID: 0x2341
PID: 0x0072
SN: 8145B353

Still investigating...

I am curious about the way the installation package interpretation of the fwd and back slashes shown in the path. I'm pretty certain that a forward slash is not proper for windows system..?

Hi @jrp123. Although the native path separator on Windows is the backslash, the forward slash is also supported in most contexts, including this one.

The path you see in the compilation output is generated from a template. The part of the path with backslash separators is provided to Arduino IDE by Windows, and so uses backslash. The rest of the path is from the template in the "Silicon Labs" boards platform's configuration file, and so uses the front slash in order to be compatible with all operating systems:

So this is normal and expected and not related to the problem you are having.

Hmmm,,, ok good to know. If I go directly to GitHub could I just copy the compiler directly to the directory that appears to be missing? So make a bin directory and just copy it in? I,d need to learn about the GitHub file structure, and cross my fingers that I can find the g++ compiler. My concerns would be if there s files still needed. I did look through the 2.3.4 zip file and didn’t see the g++ file in it.. so hmmm…
Has anyone actually installed 2.3.4 on a windows 11 machine using the standard installation provided to the community? I,m currently thinking it’s a virus checker blocker function as suggested on the previous post. Does the installation tool connect to the browser to pull in more files? I could try Firefox or maybe chrome..

Update… I’ve temporarily abandoned windows and used a macOS sequoia operating system 15.3.1 OS and it loaded seamlessly!! I can control the card , program it .. it just works!
So something using a dell with windows 11 , possibly the virus scanner prevented the compiler from downloading..
I don’t give up easy and will continue to investigate windows 11 installation.

In this specific case, yes. Silicon Labs is hosting the gcc-arm-none-eabi version 12.2.rel1 compiler archive files on their GitHub repository. However, Arduino IDE already downloaded the file to your computer, so it is probably easier to just use the file you already have instead of redundantly downloading it.

The file is at this path on your hard drive:

C:\Users\JO11474\AppData\Local\Arduino15\staging\packages\arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi.tar.zst

This is an archive file. You must extract it first:

https://support.microsoft.com/windows/zip-and-unzip-files-f6dde0a7-0fec-8294-e1d3-703ed85e7ebc#:~:text=To%20unzip%20files,-Open%20File%20Explorer

You seem to be getting the version numbers of Arduino IDE the "Silicon Labs" boards platform mixed up. The latest version of Arduino IDE is 2.3.4. The latest version of the "Silicon Labs" platform is 2.2.0:

But the answer to either question is "yes". I personally have both Arduino IDE 2.3.4 and "Silicon Labs" platform version 2.2.0 installed on my Windows 11 machine and they work fine.

Yes, that is surely the cause. Did you check the quarantine? If you can restore the file from the quarantine, that would save you all the hassle of trying to manually replace it from the archive file. And even if you manually replace the file, there is a good chance your antivirus will just quarantine it again unless you configure the thing to stop doing that.

Success! windows 11 version can compile , download ,, it works!
so ... kind of convoluted story. A new computer Precision 5860 dell computer was purchased running windows 11. Initially attempted to install arduino 1.8.x and got the IDE up ok, but wouldnt recognize the nano matter. Then realized I needed the actual silicon labs compiler. Installed that. Still didnt recognize the card. Figured it needed the latest IDE and tried 2.3.4. Still had issues. At this point realized the compiler was not installed. Went down that path. Tried the forum and got the info I needed. Found that I had the bread to the sandwich (ie 2.3.4) but not the meat( Silicon labs compiler). Neglected to reinstall the Silicon labs part. STILL DIDNT WORK.. But I did have a clue. It was a new computer and my USB headset didnt work right. it worked for a few minutes then stopped.. A coworker suggested I UPDATE THE DELL DRIVERS, I responded but, but, its a new computer.... did the update .
It solved the issue.!!! Just note that the virus checker blocker was NOT the issue on this problem. But that was my next thing to look at. The Mac I used as a fallback try worked perfectly last night, Wife was worried I'd break her machine. Thanks again for the suggestions..

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.