ESP-IDF v4.4的LCD外设lvgl例程直接build会报错(其他例程能够正常编译和烧录)
使用的是ESP32S2和VScode集成IDE,报错主要内容如下:
CMake Warning at E:/Softwares/ESP/Container/esp-idf/tools/cmake/build.cmake:482 (message):
"idf_component.yml" file was found for components:
E:/ESP32_Projects/S2_demo/lvgl/main
However, the component manager is not enabled.
Call Stack (most recent call first):
E:/Softwares/ESP/Container/esp-idf/tools/cmake/project.cmake:378 (idf_build_process)
CMakeLists.txt:4 (project)
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
CMake Error at CMakeLists.txt:9 (target_compile_options):
Cannot specify compile options for target "CONFIG_IDF_CMAKE" which is not
built by this project.
LVGL例程编译报错
-
- Posts: 290
- Joined: Wed Sep 05, 2018 6:23 am
Re: LVGL例程编译报错
报错信息已经提示 However, the component manager is not enabled.
这个是 vscode 插件默认没有使能component manager导致的,插件未来会升级,默认会打开这个选项。
暂且你可以 在 .vscode/setting.json 中加上这行: idf.enableIdfComponentManager: true
这个是 vscode 插件默认没有使能component manager导致的,插件未来会升级,默认会打开这个选项。
暂且你可以 在 .vscode/setting.json 中加上这行: idf.enableIdfComponentManager: true
Who is online
Users browsing this forum: No registered users and 47 guests