Page 1 of 1

刚安装好V4.4,编译例子出现 ninja: error: loading 'build.ninja'

Posted: Sun Feb 27, 2022 10:22 am
by moticsoft
以下错误提示,有没有高人指点以下,多谢!

CMake Error at G:/esp/esp-idf-v4.4/tools/cmake/component.cmake:369 (__component_get_property):
__component_get_property Function invoked with incorrect arguments for
function named: __component_get_property
Call Stack (most recent call first):
CMakeLists.txt:8 (idf_component_get_property)


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.


-- Configuring incomplete, errors occurred!
See also "G:/esp/esp-idf-v4.4/examples/peripherals/lcd/lvgl/build/CMakeFiles/CMakeOutput.log".
cmake --build . -- -v
ninja: error: loading 'build.ninja': 系统找不到指定的文件。

Re: 刚安装好V4.4,编译例子出现 ninja: error: loading 'build.ninja'

Posted: Tue Mar 08, 2022 2:55 pm
by allrobot
我也一样,不知道怎么解决。。。。😂😂😂