[qmk_firmware]"avr-gcc: command not found" has occurred and failed to flash

 

In Windows 10, when I tried to flash a program to my keyboard through MINGW64, I got an error like this and couldn't flash.

It seems that avr-gcc is not installed.
It should be installed by running "util/qmk_install.sh".
There should be "avr8-gnu-toolchain" directory in "qmk_utils" directory, which located in the same directory as "qmk_firmware."
But i can't find this directory even though I run the command again.

I carefully reviewed the log, and I found that anti-virus software installed on my PC seems to interfere with the command.
I succeed in installing avr-gcc by run the command after disabling the anti-virus software.

Now I can flash a program.
It's a happy ending!

タイトルとURLをコピーしました

この記事へのコメントはこちら

メールアドレスは公開されませんのでご安心ください。
また、* が付いている欄は必須項目となりますので、必ずご記入をお願いします。

内容に問題なければ、下記の「コメント送信」ボタンを押してください。

nineteen + two =

This site uses Akismet to reduce spam. Learn how your comment data is processed.