error: 'EOF' was not declared in this scope的解决办法

本文详细介绍了在使用COOOL优化库升级到MinGW4.4.0编译时遇到的错误,并提供了相应的解决方法。通过在报错文件的最开始加入#include<stdio.h>,解决了EOF、stderr、putc等未声明的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


error: 'EOF' was not declared in this scope的解决办法

  (2012-06-04 13:35:45)
标签: 

error

 

eof

 

stderr

 

putc

 

stdio

 

was

 

not

 

declared

 

in

 

this

 

scope

it

分类: C++

将COOOL优化库升级到MinGW 4.4.0编译,结果报错:

error: 'EOF' was not declared in this scope

error: 'stderr' was not declared in this scope

error: 'putc' was not declared in this scope

解决方法是在报错文件的最开始加上#include <stdio.h>,因为EOF、stderr等都是在这个文件中定义的。

D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\XClk.cpp: In function 'bool ClockEnable(int, int)': D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\XClk.cpp:7:26: error: 'PERIPH_LEDC_MODULE' was not declared in this scope 7 | periph_module_enable(PERIPH_LEDC_MODULE); | ^~~~~~~~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\XClk.cpp:7:5: error: 'periph_module_enable' was not declared in this scope 7 | periph_module_enable(PERIPH_LEDC_MODULE); | ^~~~~~~~~~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\XClk.cpp:10:16: error: 'struct ledc_timer_config_t' has no member named 'bit_num' 10 | timer_conf.bit_num = (ledc_timer_bit_t)1; | ^~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\XClk.cpp:12:29: error: 'LEDC_HIGH_SPEED_MODE' was not declared in this scope; did you mean 'LEDC_LOW_SPEED_MODE'? 12 | timer_conf.speed_mode = LEDC_HIGH_SPEED_MODE; | ^~~~~~~~~~~~~~~~~~~~ | LEDC_LOW_SPEED_MODE D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\XClk.cpp: In function 'void ClockDisable()': D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\XClk.cpp:36:27: error: 'PERIPH_LEDC_MODULE' was not declared in this scope 36 | periph_module_disable(PERIPH_LEDC_MODULE); | ^~~~~~~~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\XClk.cpp:36:5: error: 'periph_module_disable' was not declared in this scope 36 | periph_module_disable(PERIPH_LEDC_MODULE); | ^~~~~~~~~~~~~~~~~~~~~ In file included from D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\OV7670.h:2, from D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\OV7670.cpp:1: D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:87:15: error: variable or field 'IRAM_ATTR' declared void 87 | static void IRAM_ATTR i2sInterrupt(void* arg); | ^~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:87:15: error: expected ';' at end of member declaration 87 | static void IRAM_ATTR i2sInterrupt(void* arg); | ^~~~~~~~~ | ; D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:87:25: error: ISO C++ forbids declaration of 'i2sInterrupt' with no type [-fpermissive] 87 | static void IRAM_ATTR i2sInterrupt(void* arg); | ^~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:88:15: error: variable or field 'IRAM_ATTR' declared void 88 | static void IRAM_ATTR vSyncInterrupt(void* arg); | ^~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:88:15: error: expected ';' at end of member declaration 88 | static void IRAM_ATTR vSyncInterrupt(void* arg); | ^~~~~~~~~ | ; D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:88:25: error: ISO C++ forbids declaration of 'vSyncInterrupt' with no type [-fpermissive] 88 | static void IRAM_ATTR vSyncInterrupt(void* arg); | ^~~~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h: In static member function 'static void I2SCamera::i2sConfReset()': D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:51:42: error: 'I2S_IN_RST_M' was not declared in this scope; did you mean 'I2S_RX_RESET_M'? 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~ | I2S_RX_RESET_M D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:51:57: error: 'I2S_AHBM_RST_M' was not declared in this scope 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:51:74: error: 'I2S_AHBM_FIFO_RST_M' was not declared in this scope; did you mean 'I2S_RX_FIFO_RESET_M'? 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~~~~~~~~ | I2S_RX_FIFO_RESET_M D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:52:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'? 52 | I2S0.lc_conf.val |= lc_conf_reset_flags; | ^~~~~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:53:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'? 53 | I2S0.lc_conf.val &= ~lc_conf_reset_flags; | ^~~~~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:56:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 56 | I2S0.conf.val |= conf_reset_flags; | ^~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:57:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 57 | I2S0.conf.val &= ~conf_reset_flags; | ^~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:58:23: error: 'volatile union i2s_dev_s::<unnamed>' has no member named 'rx_fifo_reset_back' 58 | while (I2S0.state.rx_fifo_reset_back); | ^~~~~~~~~~~~~~~~~~ In file included from D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:2: D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:87:15: error: variable or field 'IRAM_ATTR' declared void 87 | static void IRAM_ATTR i2sInterrupt(void* arg); | ^~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:87:15: error: expected ';' at end of member declaration 87 | static void IRAM_ATTR i2sInterrupt(void* arg); | ^~~~~~~~~ | ; D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:87:25: error: ISO C++ forbids declaration of 'i2sInterrupt' with no type [-fpermissive] 87 | static void IRAM_ATTR i2sInterrupt(void* arg); | ^~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:88:15: error: variable or field 'IRAM_ATTR' declared void 88 | static void IRAM_ATTR vSyncInterrupt(void* arg); | ^~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:88:15: error: expected ';' at end of member declaration 88 | static void IRAM_ATTR vSyncInterrupt(void* arg); | ^~~~~~~~~ | ; D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:88:25: error: ISO C++ forbids declaration of 'vSyncInterrupt' with no type [-fpermissive] 88 | static void IRAM_ATTR vSyncInterrupt(void* arg); | ^~~~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h: In static member function 'static void I2SCamera::i2sConfReset()': D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:51:42: error: 'I2S_IN_RST_M' was not declared in this scope; did you mean 'I2S_RX_RESET_M'? 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~ | I2S_RX_RESET_M D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:51:57: error: 'I2S_AHBM_RST_M' was not declared in this scope 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:51:74: error: 'I2S_AHBM_FIFO_RST_M' was not declared in this scope; did you mean 'I2S_RX_FIFO_RESET_M'? 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~~~~~~~~ | I2S_RX_FIFO_RESET_M D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:52:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'? 52 | I2S0.lc_conf.val |= lc_conf_reset_flags; | ^~~~~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:53:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'? 53 | I2S0.lc_conf.val &= ~lc_conf_reset_flags; | ^~~~~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:56:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 56 | I2S0.conf.val |= conf_reset_flags; | ^~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:57:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 57 | I2S0.conf.val &= ~conf_reset_flags; | ^~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:58:23: error: 'volatile union i2s_dev_s::<unnamed>' has no member named 'rx_fifo_reset_back' 58 | while (I2S0.state.rx_fifo_reset_back); | ^~~~~~~~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp: At global scope: D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:20:16: error: no declaration matches 'void I2SCamera::i2sInterrupt(void*)' 20 | void IRAM_ATTR I2SCamera::i2sInterrupt(void* arg) | ^~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:87:25: note: candidate is: 'int I2SCamera::i2sInterrupt(void*)' 87 | static void IRAM_ATTR i2sInterrupt(void* arg); | ^~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:15:7: note: 'class I2SCamera' defined here 15 | class I2SCamera | ^~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:46:16: error: no declaration matches 'void I2SCamera::vSyncInterrupt(void*)' 46 | void IRAM_ATTR I2SCamera::vSyncInterrupt(void* arg) | ^~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:88:25: note: candidate is: 'int I2SCamera::vSyncInterrupt(void*)' 88 | static void IRAM_ATTR vSyncInterrupt(void* arg); | ^~~~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:15:7: note: 'class I2SCamera' defined here 15 | class I2SCamera | ^~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp: In static member function 'static void I2SCamera::i2sStop()': D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:61:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 61 | I2S0.conf.rx_start = 0; | ^~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp: In static member function 'static void I2SCamera::i2sRun()': D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:77:49: error: no match for 'operator=' (operand types are 'volatile i2s_dev_s::<unnamed union>' and 'int') 77 | I2S0.rx_eof_num = dmaBuffer[0]->sampleCount(); | ^ In file included from D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:7: C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-858a988d-v1\esp32s3/include/soc/esp32s3/register/soc/i2s_struct.h:306:11: note: candidate: 'constexpr i2s_dev_s::<unnamed union>& i2s_dev_s::<unnamed union>::operator=(const i2s_dev_s::<unnamed union>&)' 306 | union { | ^ C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-858a988d-v1\esp32s3/include/soc/esp32s3/register/soc/i2s_struct.h:306:11: note: no known conversion for argument 1 from 'int' to 'const i2s_dev_s::<unnamed union>&' C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-858a988d-v1\esp32s3/include/soc/esp32s3/register/soc/i2s_struct.h:306:11: note: candidate: 'constexpr i2s_dev_s::<unnamed union>& i2s_dev_s::<unnamed union>::operator=(i2s_dev_s::<unnamed union>&&)' C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-858a988d-v1\esp32s3/include/soc/esp32s3/register/soc/i2s_struct.h:306:11: note: no known conversion for argument 1 from 'int' to 'i2s_dev_s::<unnamed union>&&' D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:78:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'in_link' 78 | I2S0.in_link.addr = (uint32_t)&(dmaBuffer[0]->descriptor); | ^~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:79:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'in_link' 79 | I2S0.in_link.start = 1; | ^~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:82:18: error: 'volatile union i2s_dev_s::<unnamed>' has no member named 'in_done' 82 | I2S0.int_ena.in_done = 1; | ^~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:85:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 85 | I2S0.conf.rx_start = 1; | ^~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp: In static member function 'static bool I2SCamera::initVSync(int)': D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:94:25: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say '&I2SCamera::vSyncInterrupt' [-fpermissive] 94 | if(gpio_isr_register(&vSyncInterrupt, (void*)"vSyncInterrupt", ESP_INTR_FLAG_INTRDISABLED | ESP_INTR_FLAG_IRAM, &vSyncInterruptHandle) != ESP_OK) | ^~~~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:94:24: error: cannot convert 'int (I2SCamera::*)(void*)' to 'void (*)(void*)' 94 | if(gpio_isr_register(&vSyncInterrupt, (void*)"vSyncInterrupt", ESP_INTR_FLAG_INTRDISABLED | ESP_INTR_FLAG_IRAM, &vSyncInterruptHandle) != ESP_OK) | ^~~~~~~~~~~~~~~ | | | int (I2SCamera::*)(void*) In file included from D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:9: C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-858a988d-v1\esp32s3/include/esp_driver_gpio/include/driver/gpio.h:251:36: note: initializing argument 1 of 'esp_err_t gpio_isr_register(void (*)(void*), void*, int, intr_handle_data_t**)' 251 | esp_err_t gpio_isr_register(void (*fn)(void *), void *arg, int intr_alloc_flags, gpio_isr_handle_t *handle); | ~~~~~~~^~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp: In static member function 'static bool I2SCamera::i2sInit(int, int, int, int, int, int, int, int, int, int, int)': D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:141:27: error: 'I2S0I_DATA_IN0_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 141 | gpio_matrix_in(D0, I2S0I_DATA_IN0_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:141:5: error: 'gpio_matrix_in' was not declared in this scope 141 | gpio_matrix_in(D0, I2S0I_DATA_IN0_IDX, false); | ^~~~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:142:27: error: 'I2S0I_DATA_IN1_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 142 | gpio_matrix_in(D1, I2S0I_DATA_IN1_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:143:27: error: 'I2S0I_DATA_IN2_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 143 | gpio_matrix_in(D2, I2S0I_DATA_IN2_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:144:27: error: 'I2S0I_DATA_IN3_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 144 | gpio_matrix_in(D3, I2S0I_DATA_IN3_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:145:27: error: 'I2S0I_DATA_IN4_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 145 | gpio_matrix_in(D4, I2S0I_DATA_IN4_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:146:27: error: 'I2S0I_DATA_IN5_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 146 | gpio_matrix_in(D5, I2S0I_DATA_IN5_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:147:27: error: 'I2S0I_DATA_IN6_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 147 | gpio_matrix_in(D6, I2S0I_DATA_IN6_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:148:27: error: 'I2S0I_DATA_IN7_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 148 | gpio_matrix_in(D7, I2S0I_DATA_IN7_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:149:27: error: 'I2S0I_DATA_IN8_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 149 | gpio_matrix_in(0x30, I2S0I_DATA_IN8_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:150:27: error: 'I2S0I_DATA_IN9_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 150 | gpio_matrix_in(0x30, I2S0I_DATA_IN9_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:151:27: error: 'I2S0I_DATA_IN10_IDX' was not declared in this scope; did you mean 'CAM_DATA_IN10_IDX'? 151 | gpio_matrix_in(0x30, I2S0I_DATA_IN10_IDX, false); | ^~~~~~~~~~~~~~~~~~~ | CAM_DATA_IN10_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:152:27: error: 'I2S0I_DATA_IN11_IDX' was not declared in this scope; did you mean 'CAM_DATA_IN11_IDX'? 152 | gpio_matrix_in(0x30, I2S0I_DATA_IN11_IDX, false); | ^~~~~~~~~~~~~~~~~~~ | CAM_DATA_IN11_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:153:27: error: 'I2S0I_DATA_IN12_IDX' was not declared in this scope; did you mean 'CAM_DATA_IN12_IDX'? 153 | gpio_matrix_in(0x30, I2S0I_DATA_IN12_IDX, false); | ^~~~~~~~~~~~~~~~~~~ | CAM_DATA_IN12_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:154:27: error: 'I2S0I_DATA_IN13_IDX' was not declared in this scope; did you mean 'CAM_DATA_IN13_IDX'? 154 | gpio_matrix_in(0x30, I2S0I_DATA_IN13_IDX, false); | ^~~~~~~~~~~~~~~~~~~ | CAM_DATA_IN13_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:155:27: error: 'I2S0I_DATA_IN14_IDX' was not declared in this scope; did you mean 'CAM_DATA_IN14_IDX'? 155 | gpio_matrix_in(0x30, I2S0I_DATA_IN14_IDX, false); | ^~~~~~~~~~~~~~~~~~~ | CAM_DATA_IN14_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:156:27: error: 'I2S0I_DATA_IN15_IDX' was not declared in this scope; did you mean 'CAM_DATA_IN15_IDX'? 156 | gpio_matrix_in(0x30, I2S0I_DATA_IN15_IDX, false); | ^~~~~~~~~~~~~~~~~~~ | CAM_DATA_IN15_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:158:27: error: 'I2S0I_V_SYNC_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 158 | gpio_matrix_in(VSYNC, I2S0I_V_SYNC_IDX, true); | ^~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:159:27: error: 'I2S0I_H_SYNC_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 159 | gpio_matrix_in(0x38, I2S0I_H_SYNC_IDX, false); //0x30 sends 0, 0x38 sends 1 | ^~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:160:27: error: 'I2S0I_H_ENABLE_IDX' was not declared in this scope; did you mean 'LCD_H_ENABLE_IDX'? 160 | gpio_matrix_in(HREF, I2S0I_H_ENABLE_IDX, false); | ^~~~~~~~~~~~~~~~~~ | LCD_H_ENABLE_IDX D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:170:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 170 | I2S0.conf.rx_slave_mod = 1; | ^~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:172:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf2' 172 | I2S0.conf2.lcd_en = 1; | ^~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:174:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf2' 174 | I2S0.conf2.camera_en = 1; | ^~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:176:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'? 176 | I2S0.clkm_conf.clkm_div_a = 1; | ^~~~~~~~~ | rx_clkm_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:177:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'? 177 | I2S0.clkm_conf.clkm_div_b = 0; | ^~~~~~~~~ | rx_clkm_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:178:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'? 178 | I2S0.clkm_conf.clkm_div_num = 2; | ^~~~~~~~~ | rx_clkm_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:180:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf' 180 | I2S0.fifo_conf.dscr_en = 1; | ^~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:183:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf' 183 | I2S0.fifo_conf.rx_fifo_mod = SM_0A0B_0C0D; //pack two bytes in one dword see :https://github.com/igrr/esp32-cam-demo/issues/29 | ^~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:184:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf' 184 | I2S0.fifo_conf.rx_fifo_mod_force_en = 1; | ^~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:185:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf_chan' 185 | I2S0.conf_chan.rx_chan_mod = 1; | ^~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:187:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'sample_rate_conf' 187 | I2S0.sample_rate_conf.rx_bits_mod = 0; | ^~~~~~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:188:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 188 | I2S0.conf.rx_right_first = 0; | ^~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:189:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 189 | I2S0.conf.rx_msb_right = 0; | ^~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:190:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 190 | I2S0.conf.rx_msb_shift = 0; | ^~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:191:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 191 | I2S0.conf.rx_mono = 0; | ^~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:192:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 192 | I2S0.conf.rx_short_sync = 0; | ^~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:193:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'timing'; did you mean 'rx_timing'? 193 | I2S0.timing.val = 0; | ^~~~~~ | rx_timing D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:196:115: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say '&I2SCamera::i2sInterrupt' [-fpermissive] 196 | esp_intr_alloc(ETS_I2S0_INTR_SOURCE, ESP_INTR_FLAG_INTRDISABLED | ESP_INTR_FLAG_LEVEL1 | ESP_INTR_FLAG_IRAM, &i2sInterrupt, NULL, &i2sInterruptHandle); | ^~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.cpp:196:114: error: cannot convert 'int (I2SCamera::*)(void*)' to 'intr_handler_t' {aka 'void (*)(void*)'} 196 | esp_intr_alloc(ETS_I2S0_INTR_SOURCE, ESP_INTR_FLAG_INTRDISABLED | ESP_INTR_FLAG_LEVEL1 | ESP_INTR_FLAG_IRAM, &i2sInterrupt, NULL, &i2sInterruptHandle); | ^~~~~~~~~~~~~ | | | int (I2SCamera::*)(void*) In file included from C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-858a988d-v1\esp32s3/include/esp_driver_gpio/include/driver/gpio.h:13: C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-858a988d-v1\esp32s3/include/esp_hw_support/include/esp_intr_alloc.h:148:64: note: initializing argument 3 of 'esp_err_t esp_intr_alloc(int, int, intr_handler_t, void*, intr_handle_data_t**)' 148 | esp_err_t esp_intr_alloc(int source, int flags, intr_handler_t handler, void *arg, intr_handle_t *ret_handle); | ~~~~~~~~~~~~~~~^~~~~~~ In file included from D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\OV7670.h:2, from D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\OV7670_ESP32S.ino:1: D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h: In static member function 'static void I2SCamera::i2sConfReset()': D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:51:42: error: 'I2S_IN_RST_M' was not declared in this scope; did you mean 'I2S_RX_RESET_M'? 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~ | I2S_RX_RESET_M D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:51:57: error: 'I2S_AHBM_RST_M' was not declared in this scope 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~~~ D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:51:74: error: 'I2S_AHBM_FIFO_RST_M' was not declared in this scope; did you mean 'I2S_TX_FIFO_RESET_M'? 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~~~~~~~~ | I2S_TX_FIFO_RESET_M D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:52:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'? 52 | I2S0.lc_conf.val |= lc_conf_reset_flags; | ^~~~~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:53:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'? 53 | I2S0.lc_conf.val &= ~lc_conf_reset_flags; | ^~~~~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:56:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 56 | I2S0.conf.val |= conf_reset_flags; | ^~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:57:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 57 | I2S0.conf.val &= ~conf_reset_flags; | ^~~~ | rx_conf D:\LIULANQI\OV7670_ESP32S-main\OV7670_ESP32S-main\OV7670_ESP32S\I2SCamera.h:58:23: error: 'volatile union i2s_dev_s::<unnamed>' has no member named 'rx_fifo_reset_back' 58 | while (I2S0.state.rx_fifo_reset_back); | ^~~~~~~~~~~~~~~~~~ Using library WiFi at version 3.2.1 in folder: C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.2.1\libraries\WiFi Using library Networking at version 3.2.1 in folder: C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.2.1\libraries\Network exit status 1 Compilation error: 'PERIPH_LEDC_MODULE' was not declared in this scope分析错误
07-11
ompiling sketch... "C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp-x32\\2411/bin/xtensa-esp32s3-elf-g++" -MMD -c "@C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/flags/cpp_flags" -w -Os -Werror=return-type -DF_CPU=240000000L -DARDUINO=10607 -DARDUINO_ESP32S3_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32S3_DEV\"" "-DARDUINO_VARIANT=\"esp32s3\"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS=\"windows\"" "-DARDUINO_FQBN=\"esp32:esp32:esp32s3:UploadSpeed=921600,USBMode=hwcdc,CDCOnBoot=default,MSCOnBoot=default,DFUOnBoot=default,UploadMode=default,CPUFreq=240,FlashMode=qio,FlashSize=4M,PartitionScheme=default,DebugLevel=none,PSRAM=disabled,LoopCore=1,EventsCore=1,EraseFlash=none,JTAGAdapter=default,ZigbeeMode=default\"" -DESP32=ESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=0 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0 "@C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/flags/defines" "-IC:\\Users\\h9978\\AppData\\Local\\Temp\\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\\sketch_jul11a" -iprefix "C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/include/" "@C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/flags/includes" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/qio_qspi/include" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\cores\\esp32" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\variants\\esp32s3" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\Wire\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\WiFi\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\Network\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\WebServer\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\FS\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\ESP32\\src" "@C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0/build_opt.h" "@C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0/file_opts" "C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0\\sketch\\OV7670.cpp" -o "C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0\\sketch\\OV7670.cpp.o" "C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp-x32\\2411/bin/xtensa-esp32s3-elf-g++" -MMD -c "@C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/flags/cpp_flags" -w -Os -Werror=return-type -DF_CPU=240000000L -DARDUINO=10607 -DARDUINO_ESP32S3_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32S3_DEV\"" "-DARDUINO_VARIANT=\"esp32s3\"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS=\"windows\"" "-DARDUINO_FQBN=\"esp32:esp32:esp32s3:UploadSpeed=921600,USBMode=hwcdc,CDCOnBoot=default,MSCOnBoot=default,DFUOnBoot=default,UploadMode=default,CPUFreq=240,FlashMode=qio,FlashSize=4M,PartitionScheme=default,DebugLevel=none,PSRAM=disabled,LoopCore=1,EventsCore=1,EraseFlash=none,JTAGAdapter=default,ZigbeeMode=default\"" -DESP32=ESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=0 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0 "@C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/flags/defines" "-IC:\\Users\\h9978\\AppData\\Local\\Temp\\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\\sketch_jul11a" -iprefix "C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/include/" "@C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/flags/includes" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/qio_qspi/include" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\cores\\esp32" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\variants\\esp32s3" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\Wire\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\WiFi\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\Network\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\WebServer\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\FS\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\ESP32\\src" "@C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0/build_opt.h" "@C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0/file_opts" "C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0\\sketch\\I2SCamera.cpp" -o "C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0\\sketch\\I2SCamera.cpp.o" "C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp-x32\\2411/bin/xtensa-esp32s3-elf-g++" -MMD -c "@C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/flags/cpp_flags" -w -Os -Werror=return-type -DF_CPU=240000000L -DARDUINO=10607 -DARDUINO_ESP32S3_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32S3_DEV\"" "-DARDUINO_VARIANT=\"esp32s3\"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS=\"windows\"" "-DARDUINO_FQBN=\"esp32:esp32:esp32s3:UploadSpeed=921600,USBMode=hwcdc,CDCOnBoot=default,MSCOnBoot=default,DFUOnBoot=default,UploadMode=default,CPUFreq=240,FlashMode=qio,FlashSize=4M,PartitionScheme=default,DebugLevel=none,PSRAM=disabled,LoopCore=1,EventsCore=1,EraseFlash=none,JTAGAdapter=default,ZigbeeMode=default\"" -DESP32=ESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=0 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0 "@C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/flags/defines" "-IC:\\Users\\h9978\\AppData\\Local\\Temp\\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\\sketch_jul11a" -iprefix "C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/include/" "@C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/flags/includes" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/qio_qspi/include" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\cores\\esp32" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\variants\\esp32s3" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\Wire\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\WiFi\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\Network\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\WebServer\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\FS\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\ESP32\\src" "@C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0/build_opt.h" "@C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0/file_opts" "C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0\\sketch\\sketch_jul11a.ino.cpp" -o "C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0\\sketch\\sketch_jul11a.ino.cpp.o" "C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp-x32\\2411/bin/xtensa-esp32s3-elf-g++" -MMD -c "@C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/flags/cpp_flags" -w -Os -Werror=return-type -DF_CPU=240000000L -DARDUINO=10607 -DARDUINO_ESP32S3_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32S3_DEV\"" "-DARDUINO_VARIANT=\"esp32s3\"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS=\"windows\"" "-DARDUINO_FQBN=\"esp32:esp32:esp32s3:UploadSpeed=921600,USBMode=hwcdc,CDCOnBoot=default,MSCOnBoot=default,DFUOnBoot=default,UploadMode=default,CPUFreq=240,FlashMode=qio,FlashSize=4M,PartitionScheme=default,DebugLevel=none,PSRAM=disabled,LoopCore=1,EventsCore=1,EraseFlash=none,JTAGAdapter=default,ZigbeeMode=default\"" -DESP32=ESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=0 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0 "@C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/flags/defines" "-IC:\\Users\\h9978\\AppData\\Local\\Temp\\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\\sketch_jul11a" -iprefix "C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/include/" "@C:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/flags/includes" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.4-858a988d-v1\\esp32s3/qio_qspi/include" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\cores\\esp32" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\variants\\esp32s3" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\Wire\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\WiFi\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\Network\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\WebServer\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\FS\\src" "-IC:\\Users\\h9978\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.2.1\\libraries\\ESP32\\src" "@C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0/build_opt.h" "@C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0/file_opts" "C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0\\sketch\\XClk.cpp" -o "C:\\Users\\h9978\\AppData\\Local\\arduino\\sketches\\8CC861F99D66DECD0BF38E0B0F26DEF0\\sketch\\XClk.cpp.o" C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\XClk.cpp: In function 'bool ClockEnable(int, int)': C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\XClk.cpp:9:25: error: 'PERIPH_MODULE_LEDC' was not declared in this scope 9 | periph_module_enable(PERIPH_MODULE_LEDC); | ^~~~~~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\XClk.cpp:9:4: error: 'periph_module_enable' was not declared in this scope 9 | periph_module_enable(PERIPH_MODULE_LEDC); | ^~~~~~~~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\XClk.cpp:12:16: error: 'struct ledc_timer_config_t' has no member named 'bit_num' 12 | timer_conf.bit_num = (ledc_timer_bit_t)1; | ^~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\XClk.cpp:14:29: error: 'LEDC_HIGH_SPEED_MODE' was not declared in this scope; did you mean 'LEDC_LOW_SPEED_MODE'? 14 | timer_conf.speed_mode = LEDC_HIGH_SPEED_MODE; | ^~~~~~~~~~~~~~~~~~~~ | LEDC_LOW_SPEED_MODE C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\XClk.cpp: In function 'void ClockDisable()': C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\XClk.cpp:38:25: error: 'PERIPH_MODULE_LEDC' was not declared in this scope 38 | periph_module_enable(PERIPH_MODULE_LEDC); | ^~~~~~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\XClk.cpp:38:4: error: 'periph_module_enable' was not declared in this scope 38 | periph_module_enable(PERIPH_MODULE_LEDC); | ^~~~~~~~~~~~~~~~~~~~ In file included from C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\OV7670.h:2, from C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\OV7670.cpp:1: C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:87:15: error: variable or field 'IRAM_ATTR' declared void 87 | static void IRAM_ATTR i2sInterrupt(void* arg); | ^~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:87:15: error: expected ';' at end of member declaration 87 | static void IRAM_ATTR i2sInterrupt(void* arg); | ^~~~~~~~~ | ; C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:87:25: error: ISO C++ forbids declaration of 'i2sInterrupt' with no type [-fpermissive] 87 | static void IRAM_ATTR i2sInterrupt(void* arg); | ^~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:88:15: error: variable or field 'IRAM_ATTR' declared void 88 | static void IRAM_ATTR vSyncInterrupt(void* arg); | ^~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:88:15: error: expected ';' at end of member declaration 88 | static void IRAM_ATTR vSyncInterrupt(void* arg); | ^~~~~~~~~ | ; C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:88:25: error: ISO C++ forbids declaration of 'vSyncInterrupt' with no type [-fpermissive] 88 | static void IRAM_ATTR vSyncInterrupt(void* arg); | ^~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h: In static member function 'static void I2SCamera::i2sConfReset()': C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:51:42: error: 'I2S_IN_RST_M' was not declared in this scope; did you mean 'I2S_RX_RESET_M'? 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~ | I2S_RX_RESET_M C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:51:57: error: 'I2S_AHBM_RST_M' was not declared in this scope 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:51:74: error: 'I2S_AHBM_FIFO_RST_M' was not declared in this scope; did you mean 'I2S_RX_FIFO_RESET_M'? 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~~~~~~~~ | I2S_RX_FIFO_RESET_M C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:52:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'? 52 | I2S0.lc_conf.val |= lc_conf_reset_flags; | ^~~~~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:53:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'? 53 | I2S0.lc_conf.val &= ~lc_conf_reset_flags; | ^~~~~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:56:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 56 | I2S0.conf.val |= conf_reset_flags; | ^~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:57:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 57 | I2S0.conf.val &= ~conf_reset_flags; | ^~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:58:23: error: 'volatile union i2s_dev_s::<unnamed>' has no member named 'rx_fifo_reset_back' 58 | while (I2S0.state.rx_fifo_reset_back); | ^~~~~~~~~~~~~~~~~~ In file included from C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:2: C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:87:15: error: variable or field 'IRAM_ATTR' declared void 87 | static void IRAM_ATTR i2sInterrupt(void* arg); | ^~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:87:15: error: expected ';' at end of member declaration 87 | static void IRAM_ATTR i2sInterrupt(void* arg); | ^~~~~~~~~ | ; C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:87:25: error: ISO C++ forbids declaration of 'i2sInterrupt' with no type [-fpermissive] 87 | static void IRAM_ATTR i2sInterrupt(void* arg); | ^~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:88:15: error: variable or field 'IRAM_ATTR' declared void 88 | static void IRAM_ATTR vSyncInterrupt(void* arg); | ^~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:88:15: error: expected ';' at end of member declaration 88 | static void IRAM_ATTR vSyncInterrupt(void* arg); | ^~~~~~~~~ | ; C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:88:25: error: ISO C++ forbids declaration of 'vSyncInterrupt' with no type [-fpermissive] 88 | static void IRAM_ATTR vSyncInterrupt(void* arg); | ^~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h: In static member function 'static void I2SCamera::i2sConfReset()': C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:51:42: error: 'I2S_IN_RST_M' was not declared in this scope; did you mean 'I2S_RX_RESET_M'? 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~ | I2S_RX_RESET_M C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:51:57: error: 'I2S_AHBM_RST_M' was not declared in this scope 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:51:74: error: 'I2S_AHBM_FIFO_RST_M' was not declared in this scope; did you mean 'I2S_RX_FIFO_RESET_M'? 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~~~~~~~~ | I2S_RX_FIFO_RESET_M C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:52:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'? 52 | I2S0.lc_conf.val |= lc_conf_reset_flags; | ^~~~~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:53:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'? 53 | I2S0.lc_conf.val &= ~lc_conf_reset_flags; | ^~~~~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:56:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 56 | I2S0.conf.val |= conf_reset_flags; | ^~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:57:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 57 | I2S0.conf.val &= ~conf_reset_flags; | ^~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:58:23: error: 'volatile union i2s_dev_s::<unnamed>' has no member named 'rx_fifo_reset_back' 58 | while (I2S0.state.rx_fifo_reset_back); | ^~~~~~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp: At global scope: C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:20:16: error: no declaration matches 'void I2SCamera::i2sInterrupt(void*)' 20 | void IRAM_ATTR I2SCamera::i2sInterrupt(void* arg) | ^~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:87:25: note: candidate is: 'int I2SCamera::i2sInterrupt(void*)' 87 | static void IRAM_ATTR i2sInterrupt(void* arg); | ^~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:15:7: note: 'class I2SCamera' defined here 15 | class I2SCamera | ^~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:46:16: error: no declaration matches 'void I2SCamera::vSyncInterrupt(void*)' 46 | void IRAM_ATTR I2SCamera::vSyncInterrupt(void* arg) | ^~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:88:25: note: candidate is: 'int I2SCamera::vSyncInterrupt(void*)' 88 | static void IRAM_ATTR vSyncInterrupt(void* arg); | ^~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:15:7: note: 'class I2SCamera' defined here 15 | class I2SCamera | ^~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp: In static member function 'static void I2SCamera::i2sStop()': C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:61:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 61 | I2S0.conf.rx_start = 0; | ^~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp: In static member function 'static void I2SCamera::i2sRun()': C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:77:49: error: no match for 'operator=' (operand types are 'volatile i2s_dev_s::<unnamed union>' and 'int') 77 | I2S0.rx_eof_num = dmaBuffer[0]->sampleCount(); | ^ In file included from C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:7: C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-858a988d-v1\esp32s3/include/soc/esp32s3/register/soc/i2s_struct.h:306:11: note: candidate: 'constexpr i2s_dev_s::<unnamed union>& i2s_dev_s::<unnamed union>::operator=(const i2s_dev_s::<unnamed union>&)' 306 | union { | ^ C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-858a988d-v1\esp32s3/include/soc/esp32s3/register/soc/i2s_struct.h:306:11: note: no known conversion for argument 1 from 'int' to 'const i2s_dev_s::<unnamed union>&' C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-858a988d-v1\esp32s3/include/soc/esp32s3/register/soc/i2s_struct.h:306:11: note: candidate: 'constexpr i2s_dev_s::<unnamed union>& i2s_dev_s::<unnamed union>::operator=(i2s_dev_s::<unnamed union>&&)' C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-858a988d-v1\esp32s3/include/soc/esp32s3/register/soc/i2s_struct.h:306:11: note: no known conversion for argument 1 from 'int' to 'i2s_dev_s::<unnamed union>&&' C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:78:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'in_link' 78 | I2S0.in_link.addr = (uint32_t)&(dmaBuffer[0]->descriptor); | ^~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:79:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'in_link' 79 | I2S0.in_link.start = 1; | ^~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:82:18: error: 'volatile union i2s_dev_s::<unnamed>' has no member named 'in_done' 82 | I2S0.int_ena.in_done = 1; | ^~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:85:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 85 | I2S0.conf.rx_start = 1; | ^~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp: In static member function 'static bool I2SCamera::initVSync(int)': C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:94:25: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say '&I2SCamera::vSyncInterrupt' [-fpermissive] 94 | if(gpio_isr_register(&vSyncInterrupt, (void*)"vSyncInterrupt", ESP_INTR_FLAG_INTRDISABLED | ESP_INTR_FLAG_IRAM, &vSyncInterruptHandle) != ESP_OK) | ^~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:94:24: error: cannot convert 'int (I2SCamera::*)(void*)' to 'void (*)(void*)' 94 | if(gpio_isr_register(&vSyncInterrupt, (void*)"vSyncInterrupt", ESP_INTR_FLAG_INTRDISABLED | ESP_INTR_FLAG_IRAM, &vSyncInterruptHandle) != ESP_OK) | ^~~~~~~~~~~~~~~ | | | int (I2SCamera::*)(void*) In file included from C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:9: C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-858a988d-v1\esp32s3/include/esp_driver_gpio/include/driver/gpio.h:251:36: note: initializing argument 1 of 'esp_err_t gpio_isr_register(void (*)(void*), void*, int, intr_handle_data_t**)' 251 | esp_err_t gpio_isr_register(void (*fn)(void *), void *arg, int intr_alloc_flags, gpio_isr_handle_t *handle); | ~~~~~~~^~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp: In static member function 'static bool I2SCamera::i2sInit(int, int, int, int, int, int, int, int, int, int, int)': C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:141:27: error: 'I2S0I_DATA_IN0_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 141 | gpio_matrix_in(D0, I2S0I_DATA_IN0_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:141:5: error: 'gpio_matrix_in' was not declared in this scope 141 | gpio_matrix_in(D0, I2S0I_DATA_IN0_IDX, false); | ^~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:142:27: error: 'I2S0I_DATA_IN1_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 142 | gpio_matrix_in(D1, I2S0I_DATA_IN1_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:143:27: error: 'I2S0I_DATA_IN2_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 143 | gpio_matrix_in(D2, I2S0I_DATA_IN2_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:144:27: error: 'I2S0I_DATA_IN3_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 144 | gpio_matrix_in(D3, I2S0I_DATA_IN3_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:145:27: error: 'I2S0I_DATA_IN4_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 145 | gpio_matrix_in(D4, I2S0I_DATA_IN4_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:146:27: error: 'I2S0I_DATA_IN5_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 146 | gpio_matrix_in(D5, I2S0I_DATA_IN5_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:147:27: error: 'I2S0I_DATA_IN6_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 147 | gpio_matrix_in(D6, I2S0I_DATA_IN6_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:148:27: error: 'I2S0I_DATA_IN7_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 148 | gpio_matrix_in(D7, I2S0I_DATA_IN7_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:149:27: error: 'I2S0I_DATA_IN8_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 149 | gpio_matrix_in(0x30, I2S0I_DATA_IN8_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:150:27: error: 'I2S0I_DATA_IN9_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 150 | gpio_matrix_in(0x30, I2S0I_DATA_IN9_IDX, false); | ^~~~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:151:27: error: 'I2S0I_DATA_IN10_IDX' was not declared in this scope; did you mean 'CAM_DATA_IN10_IDX'? 151 | gpio_matrix_in(0x30, I2S0I_DATA_IN10_IDX, false); | ^~~~~~~~~~~~~~~~~~~ | CAM_DATA_IN10_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:152:27: error: 'I2S0I_DATA_IN11_IDX' was not declared in this scope; did you mean 'CAM_DATA_IN11_IDX'? 152 | gpio_matrix_in(0x30, I2S0I_DATA_IN11_IDX, false); | ^~~~~~~~~~~~~~~~~~~ | CAM_DATA_IN11_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:153:27: error: 'I2S0I_DATA_IN12_IDX' was not declared in this scope; did you mean 'CAM_DATA_IN12_IDX'? 153 | gpio_matrix_in(0x30, I2S0I_DATA_IN12_IDX, false); | ^~~~~~~~~~~~~~~~~~~ | CAM_DATA_IN12_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:154:27: error: 'I2S0I_DATA_IN13_IDX' was not declared in this scope; did you mean 'CAM_DATA_IN13_IDX'? 154 | gpio_matrix_in(0x30, I2S0I_DATA_IN13_IDX, false); | ^~~~~~~~~~~~~~~~~~~ | CAM_DATA_IN13_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:155:27: error: 'I2S0I_DATA_IN14_IDX' was not declared in this scope; did you mean 'CAM_DATA_IN14_IDX'? 155 | gpio_matrix_in(0x30, I2S0I_DATA_IN14_IDX, false); | ^~~~~~~~~~~~~~~~~~~ | CAM_DATA_IN14_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:156:27: error: 'I2S0I_DATA_IN15_IDX' was not declared in this scope; did you mean 'CAM_DATA_IN15_IDX'? 156 | gpio_matrix_in(0x30, I2S0I_DATA_IN15_IDX, false); | ^~~~~~~~~~~~~~~~~~~ | CAM_DATA_IN15_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:158:27: error: 'I2S0I_V_SYNC_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 158 | gpio_matrix_in(VSYNC, I2S0I_V_SYNC_IDX, true); | ^~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:159:27: error: 'I2S0I_H_SYNC_IDX' was not declared in this scope; did you mean 'I2S0I_WS_IN_IDX'? 159 | gpio_matrix_in(0x38, I2S0I_H_SYNC_IDX, false); //0x30 sends 0, 0x38 sends 1 | ^~~~~~~~~~~~~~~~ | I2S0I_WS_IN_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:160:27: error: 'I2S0I_H_ENABLE_IDX' was not declared in this scope; did you mean 'LCD_H_ENABLE_IDX'? 160 | gpio_matrix_in(HREF, I2S0I_H_ENABLE_IDX, false); | ^~~~~~~~~~~~~~~~~~ | LCD_H_ENABLE_IDX C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:170:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 170 | I2S0.conf.rx_slave_mod = 1; | ^~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:172:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf2' 172 | I2S0.conf2.lcd_en = 1; | ^~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:174:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf2' 174 | I2S0.conf2.camera_en = 1; | ^~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:176:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'? 176 | I2S0.clkm_conf.clkm_div_a = 1; | ^~~~~~~~~ | rx_clkm_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:177:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'? 177 | I2S0.clkm_conf.clkm_div_b = 0; | ^~~~~~~~~ | rx_clkm_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:178:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'? 178 | I2S0.clkm_conf.clkm_div_num = 2; | ^~~~~~~~~ | rx_clkm_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:180:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf' 180 | I2S0.fifo_conf.dscr_en = 1; | ^~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:183:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf' 183 | I2S0.fifo_conf.rx_fifo_mod = SM_0A0B_0C0D; //pack two bytes in one dword see :https://github.com/igrr/esp32-cam-demo/issues/29 | ^~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:184:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf' 184 | I2S0.fifo_conf.rx_fifo_mod_force_en = 1; | ^~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:185:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf_chan' 185 | I2S0.conf_chan.rx_chan_mod = 1; | ^~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:187:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'sample_rate_conf' 187 | I2S0.sample_rate_conf.rx_bits_mod = 0; | ^~~~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:188:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 188 | I2S0.conf.rx_right_first = 0; | ^~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:189:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 189 | I2S0.conf.rx_msb_right = 0; | ^~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:190:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 190 | I2S0.conf.rx_msb_shift = 0; | ^~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:191:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 191 | I2S0.conf.rx_mono = 0; | ^~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:192:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 192 | I2S0.conf.rx_short_sync = 0; | ^~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:193:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'timing'; did you mean 'rx_timing'? 193 | I2S0.timing.val = 0; | ^~~~~~ | rx_timing C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:196:115: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say '&I2SCamera::i2sInterrupt' [-fpermissive] 196 | esp_intr_alloc(ETS_I2S0_INTR_SOURCE, ESP_INTR_FLAG_INTRDISABLED | ESP_INTR_FLAG_LEVEL1 | ESP_INTR_FLAG_IRAM, &i2sInterrupt, NULL, &i2sInterruptHandle); | ^~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.cpp:196:114: error: cannot convert 'int (I2SCamera::*)(void*)' to 'intr_handler_t' {aka 'void (*)(void*)'} 196 | esp_intr_alloc(ETS_I2S0_INTR_SOURCE, ESP_INTR_FLAG_INTRDISABLED | ESP_INTR_FLAG_LEVEL1 | ESP_INTR_FLAG_IRAM, &i2sInterrupt, NULL, &i2sInterruptHandle); | ^~~~~~~~~~~~~ | | | int (I2SCamera::*)(void*) In file included from C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-858a988d-v1\esp32s3/include/esp_driver_gpio/include/driver/gpio.h:13: C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-858a988d-v1\esp32s3/include/esp_hw_support/include/esp_intr_alloc.h:148:64: note: initializing argument 3 of 'esp_err_t esp_intr_alloc(int, int, intr_handler_t, void*, intr_handle_data_t**)' 148 | esp_err_t esp_intr_alloc(int source, int flags, intr_handler_t handler, void *arg, intr_handle_t *ret_handle); | ~~~~~~~~~~~~~~~^~~~~~~ In file included from C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\OV7670.h:2, from C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\sketch_jul11a.ino:2: C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h: In static member function 'static void I2SCamera::i2sConfReset()': C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:51:42: error: 'I2S_IN_RST_M' was not declared in this scope; did you mean 'I2S_RX_RESET_M'? 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~ | I2S_RX_RESET_M C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:51:57: error: 'I2S_AHBM_RST_M' was not declared in this scope 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:51:74: error: 'I2S_AHBM_FIFO_RST_M' was not declared in this scope; did you mean 'I2S_TX_FIFO_RESET_M'? 51 | const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M; | ^~~~~~~~~~~~~~~~~~~ | I2S_TX_FIFO_RESET_M C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:52:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'? 52 | I2S0.lc_conf.val |= lc_conf_reset_flags; | ^~~~~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:53:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'? 53 | I2S0.lc_conf.val &= ~lc_conf_reset_flags; | ^~~~~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:56:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 56 | I2S0.conf.val |= conf_reset_flags; | ^~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:57:10: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'? 57 | I2S0.conf.val &= ~conf_reset_flags; | ^~~~ | rx_conf C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:58:23: error: 'volatile union i2s_dev_s::<unnamed>' has no member named 'rx_fifo_reset_back' 58 | while (I2S0.state.rx_fifo_reset_back); | ^~~~~~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\sketch_jul11a.ino: In function 'void setup()': C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\sketch_jul11a.ino:33:19: error: no matching function for call to 'OV7670::init()' 33 | if (!camera.init()) { | ~~~~~~~~~~~^~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:92:15: note: candidate: 'static bool I2SCamera::init(int, int, int, int, int, int, int, int, int, int, int, int, int, int)' 92 | static bool init(const int XRES, const int YRES, const int VSYNC, const int HREF, const int XCLK, const int PCLK, const int D0, const int D1, const int D2, const int D3, const int D4, const int D5, const int D6, const int D7); | ^~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\I2SCamera.h:92:15: note: candidate expects 14 arguments, 0 provided C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\sketch_jul11a.ino:40:23: error: 'void OV7670::writeRegister(unsigned char, unsigned char)' is protected within this context 40 | camera.writeRegister(OV7670::REG_COM7, 0x80); // 复位 | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\OV7670.h:30:15: note: declared protected here 30 | void inline writeRegister(unsigned char reg, unsigned char data) | ^~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\sketch_jul11a.ino:42:23: error: 'void OV7670::writeRegister(unsigned char, unsigned char)' is protected within this context 42 | camera.writeRegister(OV7670::REG_COM7, 0x0C); // RGB输出 + QVGA | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\OV7670.h:30:15: note: declared protected here 30 | void inline writeRegister(unsigned char reg, unsigned char data) | ^~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\sketch_jul11a.ino:43:23: error: 'void OV7670::writeRegister(unsigned char, unsigned char)' is protected within this context 43 | camera.writeRegister(OV7670::REG_COM15, 0xD0); // RGB565输出 | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\OV7670.h:30:15: note: declared protected here 30 | void inline writeRegister(unsigned char reg, unsigned char data) | ^~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\sketch_jul11a.ino:44:23: error: 'void OV7670::writeRegister(unsigned char, unsigned char)' is protected within this context 44 | camera.writeRegister(OV7670::REG_CLKRC, 0x80); // 内部时钟不分频 | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\OV7670.h:30:15: note: declared protected here 30 | void inline writeRegister(unsigned char reg, unsigned char data) | ^~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\sketch_jul11a.ino:47:24: error: 'class OV7670' has no member named 'getFrameBuffer' 47 | frameBuffer = camera.getFrameBuffer(); | ^~~~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\sketch_jul11a.ino:48:22: error: 'class OV7670' has no member named 'getFrameSize' 48 | frameSize = camera.getFrameSize(); | ^~~~~~~~~~~~ C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\sketch_jul11a.ino: In lambda function: C:\Users\h9978\AppData\Local\Temp\.arduinoIDE-unsaved2025611-25548-1cye6fg.k0ue\sketch_jul11a\sketch_jul11a.ino:96:12: error: 'class OV7670' has no member named 'capture' 96 | camera.capture(); // 更新frameBuffer | ^~~~~~~ Using library Wire at version 3.2.1 in folder: C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.2.1\libraries\Wire Using library WiFi at version 3.2.1 in folder: C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.2.1\libraries\WiFi Using library Networking at version 3.2.1 in folder: C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.2.1\libraries\Network Using library WebServer at version 3.2.1 in folder: C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.2.1\libraries\WebServer Using library FS at version 3.2.1 in folder: C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.2.1\libraries\FS Using library ESP32 at version 3.2.1 in folder: C:\Users\h9978\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.2.1\libraries\ESP32 exit status 1 Compilation error: 'PERIPH_MODULE_LEDC' was not declared in this scope解决错误
07-12
====================[ 构建 | videoProj | Debug-rk ]=============================== /usr/bin/cmake --build /home/ly/project/videoTest/cmake-build-debug-rk --target videoProj -- -j 3 Scanning dependencies of target videoProj [ 33%] Building CXX object CMakeFiles/videoProj.dir/main.cpp.o /home/ly/project/videoTest/main.cpp: In function 'int main()': /home/ly/project/videoTest/main.cpp:488:35: error: 'MPP_ENC_SET_WIDTH' was not declared in this scope; did you mean 'MPP_ENC_SET_SPLIT'? 488 | mpp_enc->control(encoder_ctx, MPP_ENC_SET_WIDTH, param); | ^~~~~~~~~~~~~~~~~ | MPP_ENC_SET_SPLIT /home/ly/project/videoTest/main.cpp:490:35: error: 'MPP_ENC_SET_HEIGHT' was not declared in this scope; did you mean 'MPP_ENC_SET_SPLIT'? 490 | mpp_enc->control(encoder_ctx, MPP_ENC_SET_HEIGHT, param); | ^~~~~~~~~~~~~~~~~~ | MPP_ENC_SET_SPLIT /home/ly/project/videoTest/main.cpp:492:35: error: 'MPP_ENC_SET_FPS' was not declared in this scope; did you mean 'MPP_ENC_SET_CFG'? 492 | mpp_enc->control(encoder_ctx, MPP_ENC_SET_FPS, param); | ^~~~~~~~~~~~~~~ | MPP_ENC_SET_CFG /home/ly/project/videoTest/main.cpp:494:35: error: 'MPP_ENC_SET_BITRATE' was not declared in this scope; did you mean 'MPP_ENC_SET_USERDATA'? 494 | mpp_enc->control(encoder_ctx, MPP_ENC_SET_BITRATE, param); | ^~~~~~~~~~~~~~~~~~~ | MPP_ENC_SET_USERDATA /home/ly/project/videoTest/main.cpp:584:65: error: 'MPP_PACKET_FLAG_INTRA' was not declared in this scope 584 | pkt->flags = (mpp_packet_get_flag(enc_packet) & MPP_PACKET_FLAG_INTRA) ? | ^~~~~~~~~~~~~~~~~~~~~ /home/ly/project/videoTest/main.cpp:604:1: error: jump to label 'CLEANUP' 604 | CLEANUP: | ^~~~~~~ /home/ly/project/videoTest/main.cpp:471:14: note: from here 471 | goto CLEANUP; | ^~~~~~~ /home/ly/project/videoTest/main.cpp:479:9: note: crosses initialization of 'int bitrate' 479 | int bitrate = 4000000; // 4Mbps | ^~~~~~~ /home/ly/project/videoTest/main.cpp:478:9: note: crosses initialization of 'int fps' 478 | int fps = 30; | ^~~ /home/ly/project/videoTest/main.cpp:477:9: note: crosses initialization of 'int height' 477 | int height = 1080; | ^~~~~~ /home/ly/project/videoTest/main.cpp:476:9: note: crosses initialization of 'int width' 476 | int width = 1920; | ^~~~~ /home/ly/project/videoTest/main.cpp:475:14: note: crosses initialization of 'void* param' 475 | MppParam param = nullptr; | ^~~~~ /home/ly/project/videoTest/main.cpp:604:1: error: jump to label 'CLEANUP' 604 | CLEANUP: | ^~~~~~~ /home/ly/project/videoTest/main.cpp:467:14: note: from here 467 | goto CLEANUP; | ^~~~~~~ /home/ly/project/videoTest/main.cpp:479:9: note: crosses initialization of 'int bitrate' 479 | int bitrate = 4000000; // 4Mbps | ^~~~~~~ /home/ly/project/videoTest/main.cpp:478:9: note: crosses initialization of 'int fps' 478 | int fps = 30; | ^~~ /home/ly/project/videoTest/main.cpp:477:9: note: crosses initialization of 'int height' 477 | int height = 1080; | ^~~~~~ /home/ly/project/videoTest/main.cpp:476:9: note: crosses initialization of 'int width' 476 | int width = 1920; | ^~~~~ /home/ly/project/videoTest/main.cpp:475:14: note: crosses initialization of 'void* param' 475 | MppParam param = nullptr; | ^~~~~ /home/ly/project/videoTest/main.cpp:604:1: error: jump to label 'CLEANUP' 604 | CLEANUP: | ^~~~~~~ /home/ly/project/videoTest/main.cpp:461:14: note: from here 461 | goto CLEANUP; | ^~~~~~~ /home/ly/project/videoTest/main.cpp:479:9: note: crosses initialization of 'int bitrate' 479 | int bitrate = 4000000; // 4Mbps | ^~~~~~~ /home/ly/project/videoTest/main.cpp:478:9: note: crosses initialization of 'int fps' 478 | int fps = 30; | ^~~ /home/ly/project/videoTest/main.cpp:477:9: note: crosses initialization of 'int height' 477 | int height = 1080; | ^~~~~~ /home/ly/project/videoTest/main.cpp:476:9: note: crosses initialization of 'int width' 476 | int width = 1920; | ^~~~~ /home/ly/project/videoTest/main.cpp:475:14: note: crosses initialization of 'void* param' 475 | MppParam param = nullptr; | ^~~~~ /home/ly/project/videoTest/main.cpp:604:1: error: jump to label 'CLEANUP' 604 | CLEANUP: | ^~~~~~~ /home/ly/project/videoTest/main.cpp:457:14: note: from here 457 | goto CLEANUP; | ^~~~~~~ /home/ly/project/videoTest/main.cpp:479:9: note: crosses initialization of 'int bitrate' 479 | int bitrate = 4000000; // 4Mbps | ^~~~~~~ /home/ly/project/videoTest/main.cpp:478:9: note: crosses initialization of 'int fps' 478 | int fps = 30; | ^~~ /home/ly/project/videoTest/main.cpp:477:9: note: crosses initialization of 'int height' 477 | int height = 1080; | ^~~~~~ /home/ly/project/videoTest/main.cpp:476:9: note: crosses initialization of 'int width' 476 | int width = 1920; | ^~~~~ /home/ly/project/videoTest/main.cpp:475:14: note: crosses initialization of 'void* param' 475 | MppParam param = nullptr; | ^~~~~ make[3]: *** [CMakeFiles/videoProj.dir/build.make:63: CMakeFiles/videoProj.dir/main.cpp.o] Error 1 make[2]: *** [CMakeFiles/Makefile2:76: CMakeFiles/videoProj.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/videoProj.dir/rule] Error 2 make: *** [Makefile:118: videoProj] 上述代码编译报错,如何解决
最新发布
07-26
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值