LoginSignup
3
2

More than 5 years have passed since last update.

Ergodox macOS sierraでファームウェアビルド時のエラーの対処

Last updated at Posted at 2017-01-24

久しぶりにErgodoxのmakeをしたら以下のエラーがでたので解決のために行ったことをメモ。

fatal error: inttypes.h: No such file or directory

OSはmacOS sierra。

  1. 最新のhttps://github.com/jackhumbert/qmk_firmwareをcloneして使用する。
  2. Issueが上がっていたのでその指示にしたがって解決する。https://github.com/jackhumbert/qmk_firmware/issues/802
  3. keymap.c#include "ergodox_ez.h"#include "ergodox.h"に変更する。

これでmakeが成功した。

手順2は、macOS sierraにupdateすると以下の2つを再インストールする必要があるとのこと。

brew uninstall avr-libc
brew uninstall avr-gcc

brew install avr-gcc
brew install avr-libc
3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2