techiesms / ESP32-ChatGPT-V2

36 stars 22 forks source link

Error in the stt in the code #3

Open GhostTech-69 opened 3 months ago

GhostTech-69 commented 3 months ago

im getting these errors: version is at 2.0.14 as people said.

C:\Users\faizm\Downloads\ESP32-ChatGPT-V2-main (1)\ESP32-ChatGPT-V2-main\ESP32_Speech_to_Text\I2S.cpp: In member function 'int I2S::Read(char, int)': C:\Users\faizm\Downloads\ESP32-ChatGPT-V2-main (1)\ESP32-ChatGPT-V2-main\ESP32_Speech_to_Text\I2S.cpp:57:10: error: 'i2s_read_bytes' was not declared in this scope return i2s_read_bytes(I2S_NUM_0, (char )data, numData, portMAX_DELAY); ^~~~~~ C:\Users\faizm\Downloads\ESP32-ChatGPT-V2-main (1)\ESP32-ChatGPT-V2-main\ESP32_Speech_to_Text\I2S.cpp:57:10: note: suggested alternative: 'pgm_read_byte' return i2s_read_bytes(I2S_NUM_0, (char *)data, numData, portMAX_DELAY); ^~~~~~ pgm_read_byte

      exit status 1

Compilation error: 'i2s_read_bytes' was not declared in this scope

kaloprojects commented 1 month ago

see here: https://github.com/techiesms/ESP32-ChatGPT-V2/issues/2 and https://github.com/techiesms/ESP32-ChatGPT/issues/11