正在启动生成...
D:\XiaZaiSuJu\Vscode\mingw64\bin\gcc.exe -fdiagnostics-color=always -g D:\XiaZaiSuJu\Vscode\xiaoche\USER\main.c -o D:\XiaZaiSuJu\Vscode\xiaoche\USER\main.exe
In file included from D:\XiaZaiSuJu\Vscode\xiaoche\USER\main.c:1:
D:\XiaZaiSuJu\Vscode\xiaoche\USER\stm32f10x.h:96:3: error: #error "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
#error "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
^~~~~
D:\XiaZaiSuJu\Vscode\xiaoche\USER\stm32f10x.h:478:10: fatal error: core_cm3.h: No such file or directory
#include "core_cm3.h"
^~~~~~~~~~~~
compilation terminated.
赞0
评论
2023-03-11
赞0
* 终端将被任务重用,按任意键关闭。
* 正在执行任务: C/C++: gcc.exe 生成活动文件
正在启动生成...
D:\XiaZaiSuJu\Vscode\mingw64\bin\gcc.exe -fdiagnostics-color=always -g D:\XiaZaiSuJu\Vscode\xiaoche\USER\main.c -o D:\XiaZaiSuJu\Vscode\xiaoche\USER\main.exe
In file included from D:\XiaZaiSuJu\Vscode\xiaoche\USER\main.c:1:
D:\XiaZaiSuJu\Vscode\xiaoche\USER\stm32f10x.h:96:3: error: #error "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
#error "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
^~~~~
D:\XiaZaiSuJu\Vscode\xiaoche\USER\stm32f10x.h:478:10: fatal error: core_cm3.h: No such file or directory
#include "core_cm3.h"
^~~~~~~~~~~~
compilation terminated.
生成已完成,但出现错误。
* 终端进程启动失败(退出代码: -1)。
* 终端将被任务重用,按任意键关闭。
评论
2023-03-10
您需要登录后才可以回复 登录 | 注册