arduino报错prog_int8_t' does not name a type,如何解决?

问题遇到的现象和发生背景

下载的FFT库例程都会报错

问题相关代码,请勿粘贴截图
#define LOG_OUT 1 // use the log output function
#define FFT_N 256 // set to 256 point fft

#include <FFT.h> // include the library

void setup() {
  Serial.begin(115200); // use the serial port
  TIMSK0 = 0; // turn off timer0 for lower jitter
  ADCSRA = 0xe5; // set the adc to free running mode
  ADMUX = 0x40; // use adc0
  DIDR0 = 0x01; // turn off the digital input for adc0
}
void loop() {
  while(1) { // reduces jitter
    cli();  // UDRE interrupt slows this way down on arduino1.0
    for (int i = 0 ; i < 512 ; i += 2) { // save 256 samples
      while(!(ADCSRA & 0x10)); // wait for adc to be ready
      ADCSRA = 0xf5; // restart adc
      byte m = ADCL; // fetch adc data
      byte j = ADCH;
      int k = (j << 8) | m; // form into an int
      k -= 0x0200; // form into a signed int
      k <<= 6; // form into a 16b signed int
      fft_input[i] = k; // put real data into even bins
      fft_input[i+1] = 0; // set odd bins to 0
    }
    fft_window(); // window the data for better frequency response
    fft_reorder(); // reorder the data before doing the fft
    fft_run(); // process the data in the fft
    fft_mag_log(); // take the output of the fft
    sei();
    Serial.write(255); // send a start byte
    Serial.write(fft_log_out, 128); // send out the data
  }
}
运行结果及报错内容

In file included from D:\Arduino学习\ino项目\test\fft_adc\fft_adc.ino:17:0:
D:\1��Ƭ��ѧϰ\Arduinoѧϰ\ino��Ŀ\libraries\FFT/FFT.h:89:12: error: 'prog_uint8_t' does not name a type; did you mean 'uint8_t'?
PROGMEM prog_uint8_t _reorder_table[] = {
^~~~~~~~~~~~
uint8_t
In file included from D:\Arduino学习\ino项目\test\fft_adc\fft_adc.ino:17:0:
D:\1��Ƭ��ѧϰ\Arduinoѧϰ\ino��Ŀ\libraries\FFT/FFT.h:105:12: error: 'prog_uint8_t' does not name a type; did you mean 'uint8_t'?
PROGMEM prog_uint8_t _log_table[] = {
^~~~~~~~~~~~
uint8_t
In file included from D:\Arduino学习\ino项目\test\fft_adc\fft_adc.ino:17:0:
D:\1��Ƭ��ѧϰ\Arduinoѧϰ\ino��Ŀ\libraries\FFT/FFT.h:133:12: error: 'prog_int16_t' does not name a type; did you mean 'uint16_t'?
PROGMEM prog_int16_t _window_func[] = {
^~~~~~~~~~~~
uint16_t

我的解答思路和尝试过的方法

把关于fft代码的部分全部删除正常编译,重新安装库一样报错

我想要达到的结果

正常编译无报错

其实报错信息已经说的很明确了,FFT.h 文件中17行把prog_uint8_t 换成uint8_t。105行也这么改。133行把 prog_int16_t 改成uint16_t

路径不能有中文