VSCODE 编译例程出错(windos + wsl)
Posted: Mon Jan 06, 2025 12:36 pm
朋友们 给看看 怎么个处理办法? 入门 真难呀。。。
【输出】端口信息如下:
[cmake] See also "/home/lenovo_szt/esp-idf/examples/get-started/hello_world/build/CMakeFiles/CMakeOutput.log".
[proc] 命令“/usr/bin/cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++ --no-warn-unused-cli -S/home/lenovo_szt/esp-idf/examples/get-started/hello_world -B/home/lenovo_szt/esp-idf/examples/get-started/hello_world/build -G Ninja”已退出,代码为 1
【问题】 信息如下:
CMake Error at CMakeLists.txt:5 (include):include could not find load file:
/tools/cmake/project.cmake
怎么解决? 是少安装了什么东西吗?
【输出】端口信息如下:
[cmake] See also "/home/lenovo_szt/esp-idf/examples/get-started/hello_world/build/CMakeFiles/CMakeOutput.log".
[proc] 命令“/usr/bin/cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++ --no-warn-unused-cli -S/home/lenovo_szt/esp-idf/examples/get-started/hello_world -B/home/lenovo_szt/esp-idf/examples/get-started/hello_world/build -G Ninja”已退出,代码为 1
【问题】 信息如下:
CMake Error at CMakeLists.txt:5 (include):include could not find load file:
/tools/cmake/project.cmake
怎么解决? 是少安装了什么东西吗?