新手小白dev编译不了,求解答啊!
每次点了编译都是这样子的编译项目变更...
--------
- 项目文件名: C:\Users\Cyan\Desktop\项目1.dev
- 编译器名: TDM-GCC 4.9.2 64-bit Release
生成 makefile...
--------
- 文件名: C:\Users\Cyan\Desktop\Makefile.win
正在处理makefile...
--------
- makefile处理器: C:\Program Files (x86)\Dev-Cpp\MinGW64\bin\mingw32-make.exe
- 命令: mingw32-make.exe -f "C:\Users\Cyan\Desktop\Makefile.win" all
g++.exe -D__DEBUG__ -c main.cpp -o main.o -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++" -g3 -g3
main.cpp:1:20: fatal error: studio.h: No such file or directory
#include <studio.h>
^
compilation terminated.
C:\Users\Cyan\Desktop\Makefile.win:28: recipe for target 'main.o' failed
mingw32-make.exe: *** Error 1
编译结果...
--------
- 错误: 1
- 警告: 0
- 编译时间: 0.22s
#include <studio.h>应该是#include <stdio.h> ,你写多了一个 u isdkz 发表于 2022-3-6 21:48
#include 应该是#include,你写多了一个 u
果然,天呐,谢谢谢谢!我写半天加了u{:5_99:} cyanq 发表于 2022-3-6 21:51
果然,天呐,谢谢谢谢!我写半天加了u
这种问题就算写时粗心,可是编译信息已经明显给出了是哪里错了,难道不看错误信息吗
页:
[1]