Search found 2 matches
- Sat Dec 13, 2025 9:15 am
- Forum: ESP-IDF 中文讨论版
- Topic: undefined reference to,链接时总是报这个错误
- Replies: 2
- Views: 7142
Re: undefined reference to,链接时总是报这个错误
大佬,问题有解决么,我也遇到了相同的问题 
- Fri Nov 21, 2025 7:10 am
- Forum: ESP-IDF 中文讨论版
- Topic: 求助:ESP32-C5 使用 ESP-IDF 中的 nimble 组件,但是编译链接不通过问题
- Replies: 0
- Views: 5276
求助:ESP32-C5 使用 ESP-IDF 中的 nimble 组件,但是编译链接不通过问题
目标芯片:ESP32-C5
ESP-IDF 版本:v5.5.1
SDKConfig配置:
Bluetooth --> Host --> NimBLE - BLE only
--> Controller --> Enable
main.c中报错部分内容:
#include xxxx
#include "esp_bt.h"
#include "esp_nimble_hci.h"
#include xxxx
// 初始化NimBLE
ESP_ERROR_CHECK(esp_nimble_hci_init());
与 main.c 同级的 CMakeLists.txt 内容 ...
ESP-IDF 版本:v5.5.1
SDKConfig配置:
Bluetooth --> Host --> NimBLE - BLE only
--> Controller --> Enable
main.c中报错部分内容:
#include xxxx
#include "esp_bt.h"
#include "esp_nimble_hci.h"
#include xxxx
// 初始化NimBLE
ESP_ERROR_CHECK(esp_nimble_hci_init());
与 main.c 同级的 CMakeLists.txt 内容 ...