- C:/esp/gatt_server_service_table/main/gatts_table_creat_demo.c: In function 'app_main':
- C:/esp/gatt_server_service_table/main/gatts_table_creat_demo.c:546:5: error: unknown type name 'esp_bluedroid_config_t'; did you mean 'esp_bluedroid_status_t'?
- [color=#FF0040]546 | esp_bluedroid_config_t bluedroid_cfg = BT_BLUEDROID_INIT_CONFIG_DEFAULT();
- | ^~~~~~~~~~~~~~~~~~~~~~
- | esp_bluedroid_status_t[/color]
- C:/esp/gatt_server_service_table/main/gatts_table_creat_demo.c:546:44: error: implicit declaration of function 'BT_BLUEDROID_INIT_CONFIG_DEFAULT'; did you mean 'BT_CONTROLLER_INIT_CONFIG_DEFAULT'? [-Werror=implicit-function-declaration]
- 5[color=#FF4000]46 | esp_bluedroid_config_t bluedroid_cfg = BT_BLUEDROID_INIT_CONFIG_DEFAULT();
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | BT_CONTROLLER_INIT_CONFIG_DEFAULT[/color]
- C:/esp/gatt_server_service_table/main/gatts_table_creat_demo.c:547:11: error: implicit declaration of function 'esp_bluedroid_init_with_cfg'; did you mean 'esp_bluedroid_init'? [-Werror=implicit-function-declaration]
- [color=#FF4000] 547 | ret = esp_bluedroid_init_with_cfg(&bluedroid_cfg);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- | esp_bluedroid_init
- cc1.exe: some warnings being treated as errors[/color]
- [color=#FF4040]ninja: build stopped: subcommand failed.[/color]
- ninja failed with exit code 1, output of the command is in the C:\esp\gatt_server_service_table\build\log\idf_py_stderr_output_13052 and C:\esp\gatt_server_service_table\build\log\idf_py_stdout_output_13052
使用官方的ESP-IDF命令行 编译 例程 gatt_server 编译一直出错是什么原因呢
使用官方的ESP-IDF命令行 编译 例程 gatt_server 编译一直出错是什么原因呢
Who is online
Users browsing this forum: No registered users and 129 guests