- 博客(2)
- 收藏
- 关注
原创 undefined reference to‘...‘
我使用ESP32组件库里的函数,并且在main文件下的CMakeLists.txt文件中添加了“REQUIRES bt”,但是却出现了undefined reference to `esp_ble_gap_set_scan_params’的编译错误。esp_ble_gap_set_scan_params函数需要包含头文件“esp_gap_ble_api.h”,我也包含了,很奇怪。
2025-05-13 16:56:52
331
原创 CMake Error at G:~/cmake/build.cmake:552 (message): ERROR: The “path“ field in the manifest file
错误发生在“idf_component.yml”文件中的 “protocol_examples_tapif_io”和“protocol_examples_common” 组件的路径跟实际idf安装位置不一致。因为项目需要从idf安装文件里获取组件,由于我idf安装位置发生了变化,导致路径失效,CMake无法找到目录。将“idf_component.yml”文件中的地址修改即可。在使用SDK配置编辑器时发生如下错误。VScode、ESP-idf组件。
2025-03-10 16:35:16
603
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人