D:/_______________________PROJECTS/ESP_PRJs/esp-iot-solution/components/usb/uvc_stream/uvc_stream.c: In function '_usb_get_dev_desc':
D:/_______________________PROJECTS/ESP_PRJs/esp-iot-solution/components/usb/uvc_stream/uvc_stream.c:833:5: error: implicit declaration of function 'usb_print_device_descriptor'; did you mean 'usb_print_descriptors'? [-Werror=implicit-function-declaration]
usb_print_device_descriptor(dev_desc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
usb_print_descriptors
D:/_______________________PROJECTS/ESP_PRJs/esp-iot-solution/components/usb/uvc_stream/uvc_stream.c: In function '_usb_get_config_desc':
D:/_______________________PROJECTS/ESP_PRJs/esp-iot-solution/components/usb/uvc_stream/uvc_stream.c:885:5: error: implicit declaration of function 'usb_print_config_descriptor'; did you mean 'usb_print_descriptors'? [-Werror=implicit-function-declaration]
usb_print_config_descriptor(cfg_desc, _print_uvc_class_descriptors_cb);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
usb_print_descriptors
cc1.exe: some warnings being treated as errors
ninja: build stopped: subcommand failed.
终端进程“C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command ninja ”已终止,退出代码: 1。
使用的是VS CODE 插件,源码是直接从github上git clone -b usb/add_usb_solutions --recursive https://github.com/espressif/esp-iot-solution
下载编译usb_cdc_4g_module示例报usb_print_config_descriptor 错
Re: 下载编译usb_cdc_4g_module示例报usb_print_config_descriptor 错
Hi,
这里应该是不同版本的兼容性问题,可以先把出错的这几个地方注释掉,这里只是打印信息。我们后面对做修复
这里应该是不同版本的兼容性问题,可以先把出错的这几个地方注释掉,这里只是打印信息。我们后面对做修复
Re: 下载编译usb_cdc_4g_module示例报usb_print_config_descriptor 错
Seems you are using a old version IDF, Please update your IDF to v4.4.1 or above version
Who is online
Users browsing this forum: No registered users and 57 guests