乐鑫技术交流
直播中

王强

7年用户 1341经验值
私信 关注
[问答]

LVGL不支持idf-manager吗?

针对ESP-IDF5.0,项目中要用到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:Espressifpython_envidf5.0_py3.8_envlibsite-packagesidf_component_managerprepare_components__main__.py", line 3, in

      main()

    File "D:Espressifpython_envidf5.0_py3.8_envlibsite-packagesidf_component_managerprepare_componentsprepare.py", line 126, in main

      args.func(args)

    File "D:Espressifpython_envidf5.0_py3.8_envlibsite-packagesidf_component_managerprepare_componentsprepare.py", line 39, in prepare_dep_dirs

      ComponentManager(args.project_dir).prepare_dep_dirs(

    File "D:Espressifpython_envidf5.0_py3.8_envlibsite-packagesidf_component_managercore.py", line 404, in prepare_dep_dirs

      downloaded_component_paths = download_project_dependencies(

    File "D:Espressifpython_envidf5.0_py3.8_envlibsite-packagesidf_component_managerdependencies.py", line 99, in download_project_dependencies

      solution = solver.solve()

    File "D:Espressifpython_envidf5.0_py3.8_envlibsite-packagesidf_component_managerversion_solverversion_solver.py", line 33, in solve

      result = self._solver.solve()

    File "D:Espressifpython_envidf5.0_py3.8_envlibsite-packagesidf_component_managerversion_solvermixologyversion_solver.py", line 63, in solve

      if not self._run():

    File "D:Espressifpython_envidf5.0_py3.8_envlibsite-packagesidf_component_managerversion_solvermixologyversion_solver.py", line 76, in _run

      self._propagate(next_package)

    File "D:Espressifpython_envidf5.0_py3.8_envlibsite-packagesidf_component_managerversion_solvermixologyversion_solver.py", line 108, in _propagate

      root_cause = self._resolve_conflict(incompatibility)

    File "D:Espressifpython_envidf5.0_py3.8_envlibsite-packagesidf_component_managerversion_solvermixologyversion_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?


谢谢

更多回帖

发帖
×
20
完善资料,
赚取积分