Search found 2 matches

by bfield
Thu Jan 11, 2024 4:19 am
Forum: ESP-IDF 中文讨论版
Topic: VSCode中编译过程cmake错误:Unknown CMake command "idf_component_register".
Replies: 0
Views: 26060

VSCode中编译过程cmake错误:Unknown CMake command "idf_component_register".

M2版macbook上正确安装了ESP-IDF v5.1.2,并安装了VSCode插件,编译get-started中的项目hello_world,利用idf.py build可以正确完成,但是在VSCode中编译产生一个问题,问题如下: CMake Error at CMakeLists.txt:1 (idf_component_register):Unknown CMake command "idf_component_register". 项目hello_world下面main文件夹下的CMakeLists.txt文件内容是ESP-IDF安装后自带的文件,文件内容如下: idf_compo...
by bfield
Fri Nov 04, 2022 5:22 pm
Forum: 《ESP32-C3 物联网工程开发实战》书籍讨论版
Topic: 关于书中“安装ESP-IDF开发工具链”的问题
Replies: 1
Views: 3134

关于书中“安装ESP-IDF开发工具链”的问题

我按照书中的步骤安装完了esp-idf v4.3.2,然后按照书中P29安装ESP-IDF开发工具链,用 ./install.sh命令,但是不能安装成功,出现以下错误,不知怎么解决,请教一下啊。我是在M2版macbook上面进行以上操作的。 (base) chan@MacBook-Air esp-idf % ./install.sh Detecting the Python interpreter Checking "python" ... Python 3.8.8 "python" has been detected Installing ESP-IDF tools Traceback (m...