espressif / esp-dev-kits

Docs, Schematics, Factory Firmwares for ESP Development Kits
Other
345 stars 183 forks source link

Cmake Error occurs in esp32-s2-hmi-devkit-1 examples while building (AEGHB-179) #40

Closed Wildpapa closed 1 year ago

Wildpapa commented 3 years ago

After cloned the esp-dev-kits, I tried to build the hello_world in esp32-s2-hmi-devkit-1. But dosent work. The Error while building as follows: "CMake Error at C:/esp-idf/tools/cmake/component.cmake:274 (message): SRC_DIRS entry 'lvgl/src/lv_core' does not exist. Call Stack (most recent call first): C:/esp-idf/tools/cmake/component.cmake:435 (__component_add_sources) C:/esp-dev-kits/esp32-s2-hmi-devkit-1/components/lvgl/CMakeLists.txt:1 (idf_component_register)

-- Configuring incomplete, errors occurred! See also "C:/esp-dev-kits/esp32-s2-hmi-devkit-1/examples/get-started/hello_world/build/CMakeFiles/CMakeOutput.log". cmake failed with exit code 1"

need assist!!! Thanks in advance!!!

zhongluqiang commented 3 years ago

I guess you forgot to update git sub modules, try git submodule init and git submodule update under esp-dev-kits directory.

Wildpapa commented 3 years ago

I guess you forgot to update git sub modules, try git submodule init and git submodule update under esp-dev-kits directory.

老铁,我试了你说的方法,用git一直更新不了,一直报错fatal: clone of 'https://github.com/lvgl/lvgl.git' into submodule path 'C:/esp-dev-kits/esp32-s2-hmi-devkit-1/components/lvgl/lvgl' failed, 貌似是外网的问题?

Lzw655 commented 1 year ago

很抱歉没有及时回答你的问题! 由于这个问题已经失去时效性了,我将在一周后关闭它。如果你还需要解决这个问题,请留言或新开一个 issue,谢谢!