idf.py add-dependency lvgl 错误[已解决]
Posted: Wed Jul 20, 2022 1:12 am
如题,
针对ESP-IDF5.0,项目中要用到LVGL,通过https://components.espressif.com/search/org:lvgl,查到有注册库lvgl 8.3.0;
于是用idf.py add-dependency lvgl==8.3.0添加支持LVGL时,命令能成功。但在 idf.py set-target esp32s3时,提示如下错误:
-- Building ESP-IDF components for target esp32s3
Solving dependencies requirements
CMake Error at D:/Espressif/frameworks/esp-idf/tools/cmake/build.cmake:525 (message):
Traceback (most recent call last):
File "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\prepare_components\__main__.py", line 3, in <module>
main()
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\prepare_components\prepare.py", line 126, in main
args.func(args)
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\prepare_components\prepare.py", line 39, in prepare_dep_dirs
ComponentManager(args.project_dir).prepare_dep_dirs(
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\core.py", line 404, in prepare_dep_dirs
downloaded_component_paths = download_project_dependencies(
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\dependencies.py", line 99, in download_project_dependencies
solution = solver.solve()
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\version_solver\version_solver.py", line 33, in solve
result = self._solver.solve()
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\version_solver\mixology\version_solver.py", line 63, in solve
if not self._run():
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\version_solver\mixology\version_solver.py", line 76, in _run
self._propagate(next_package)
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\version_solver\mixology\version_solver.py", line 108, in _propagate
root_cause = self._resolve_conflict(incompatibility)
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\version_solver\mixology\version_solver.py", line 282, in _resolve_conflict
raise SolverFailure(incompatibility)
idf_component_manager.version_solver.mixology.failure.SolverFailure:
Because project depends on espressif/lvgl (==8.3.0) which doesn't match any
versions, version solving failed.
Call Stack (most recent call first):
D:/Espressif/frameworks/esp-idf/tools/cmake/project.cmake:434 (idf_build_process)
CMakeLists.txt:20 (project)
-- Configuring incomplete, errors occurred!
是不是目前LVGL不支持idf-manager?
谢谢
针对ESP-IDF5.0,项目中要用到LVGL,通过https://components.espressif.com/search/org:lvgl,查到有注册库lvgl 8.3.0;
于是用idf.py add-dependency lvgl==8.3.0添加支持LVGL时,命令能成功。但在 idf.py set-target esp32s3时,提示如下错误:
-- Building ESP-IDF components for target esp32s3
Solving dependencies requirements
CMake Error at D:/Espressif/frameworks/esp-idf/tools/cmake/build.cmake:525 (message):
Traceback (most recent call last):
File "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\prepare_components\__main__.py", line 3, in <module>
main()
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\prepare_components\prepare.py", line 126, in main
args.func(args)
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\prepare_components\prepare.py", line 39, in prepare_dep_dirs
ComponentManager(args.project_dir).prepare_dep_dirs(
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\core.py", line 404, in prepare_dep_dirs
downloaded_component_paths = download_project_dependencies(
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\dependencies.py", line 99, in download_project_dependencies
solution = solver.solve()
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\version_solver\version_solver.py", line 33, in solve
result = self._solver.solve()
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\version_solver\mixology\version_solver.py", line 63, in solve
if not self._run():
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\version_solver\mixology\version_solver.py", line 76, in _run
self._propagate(next_package)
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\version_solver\mixology\version_solver.py", line 108, in _propagate
root_cause = self._resolve_conflict(incompatibility)
File "D:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\idf_component_manager\version_solver\mixology\version_solver.py", line 282, in _resolve_conflict
raise SolverFailure(incompatibility)
idf_component_manager.version_solver.mixology.failure.SolverFailure:
Because project depends on espressif/lvgl (==8.3.0) which doesn't match any
versions, version solving failed.
Call Stack (most recent call first):
D:/Espressif/frameworks/esp-idf/tools/cmake/project.cmake:434 (idf_build_process)
CMakeLists.txt:20 (project)
-- Configuring incomplete, errors occurred!
是不是目前LVGL不支持idf-manager?
谢谢