赞
踩
好坑。。。
1、首先vscode环境问题,记得安装新的gcc,并在vscode的setting.json中写上所在路径。
“cmake.copyCompileCommands": "C:\\Users\\15856\\esp\\mingw64\\bin\\gcc.exe",
2、make命令不成功
修改gcc的里面有个bin文件夹里,XXXX-make.exe,重命名为mske.exe
3、缺少CMakeLists.txt
新建一个,
# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(3_1_hello_world)
4、退出再进去
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。