我在找小帮手。我正在做一个业余项目,用加速度计从Arduino创建一个鼠标。
为此,我需要更改atmega16u2上的固件。我有一个mac,所以为了做到这一点,我尝试使用dfu程序员。
在终端中使用./bootstrap.sh命令行时,会显示以下错误消息。我想知道是否有人能弄清楚他们的意思,这是否会阻止这个计划的运作?
DJ:dfu-programmer-0.6.2 hd334$ ./bootstrap.sh
sh: autom4te: command not found
aclocal: error: echo failed with exit status: 127
./bootstrap.sh: line 3: autoheader: command not found
sh: autoconf: command not found
automake: error: autoconf failed with exit status: 127
./bootstrap.sh: line 5: autoconf: command not found
DJ:dfu-programmer-0.6.2 hd334$ 发布于 2016-06-20 20:56:09
在执行autom4te之前,需要安装dfu-programmer、autoheader、autoconf、libusb-compat和libusb。
所有这些auto*先决条件都包含在autoconf包中。我建议您安装home-brew包管理器。它可以自动完成这些事情。尽管存储库中有dfu-programmer包,所以您也可以自动安装它。
home-brew,请在终端中运行以下命令:
/usr/bin/ruby -e“(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”dfu-programmer:
brew安装dfu-程序员./bootstrap.sh。https://stackoverflow.com/questions/37867376
复制相似问题