Page 1 of 1

vscode CMake Error: Could not create named generator =Ninja

Posted: Fri Jun 28, 2024 6:47 am
by wtasbgg
* 正在执行任务: /usr/bin/cmake -G=Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B=/home/wentao/lvgl_label/build -S=/home/wentao/lvgl_label

CMake Error: Could not create named generator =Ninja

Generators
* Unix Makefiles = Generates standard UNIX makefiles.
Green Hills MULTI = Generates Green Hills MULTI files
(experimental, work-in-progress).
Ninja = Generates build.ninja files.
Watcom WMake = Generates Watcom WMake makefiles.
CodeBlocks - Ninja = Generates CodeBlocks project files.
CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
CodeLite - Ninja = Generates CodeLite project files.
CodeLite - Unix Makefiles = Generates CodeLite project files.
Sublime Text 2 - Ninja = Generates Sublime Text 2 project files.
Sublime Text 2 - Unix Makefiles
= Generates Sublime Text 2 project files.
Kate - Ninja = Generates Kate project files.
Kate - Unix Makefiles = Generates Kate project files.
Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.

Re: vscode CMake Error: Could not create named generator =Ninja

Posted: Wed Jul 03, 2024 2:49 am
by yorkwei
最近遇到了同样的问题,配置了IDF_PATH环境变量后,执行install.sh后可以了。

Re: vscode CMake Error: Could not create named generator =Ninja

Posted: Tue Nov 12, 2024 10:33 am
by lin_esp
大佬怎么配置的