乐鑫技术交流
直播中

张娜

7年用户 954经验值
私信 关注
[问答]

下载编译usb_cdc_4g_module示例报usb_print_config_descriptor错的原因?如何处理?

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:WINDOWSSystem32WindowsPowerShellv1.0powershell.exe -Command ninja ”已终止,退出代码: 1。



使用的是VS CODE 插件,源码是直接从github上git clone -b usb/add_usb_solutions --recursive https://github.com/espressif/esp-iot-solution

更多回帖

发帖
×
20
完善资料,
赚取积分