vc++6.0无法编译
--------------------Configuration: 1 - Win32 Debug--------------------Compiling...
1.c
d:\c语言\1\1.c(1) : fatal error C1083: Cannot open include file: 'studio.h': No such file or directory
执行 cl.exe 时出错.
1.obj - 1 error(s), 0 warning(s)
之前显示是error spawning cl exe.
根据论坛的办法更改了工具-选项-目录里的路径(我安装在D盘了),然后就变成了上述这样
怎么解决?
Cannot open include file: 'studio.h': No such file or directory
头文件目录配置错误了
工具-选项-目录正确设置include目录。
建议:9102年了,别用vc6了,后面你会遇到很多问题的,直接上vs更方便。 迷雾少年 发表于 2019-8-16 12:17
Cannot open include file: 'studio.h': No such file or directory
头文件目录配置错误了
不知道哪错了。。。
我是按这个改的
executatble files:
C:/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin
C:/Program Files/Microsoft Visual Studio/VC98/BIN
C:/Program Files/Microsoft Visual Studio/Common/TOOLS
C:/Program Files/Microsoft Visual Studio/Common/TOOLS/WINNT
include files:
C:/Program Files/Microsoft Visual Studio/VC98/INCLUDE
C:/Program Files/Microsoft Visual Studio/VC98/MFC/INCLUDE
C:/Program Files/Microsoft Visual Studio/VC98/ATL/INCLUDE
library files:
C:/Program Files/Microsoft Visual Studio/VC98/LIB
C:/Program Files/Microsoft Visual Studio/VC98/MFC/LIB
source files:
C:/Program Files/Microsoft Visual Studio/VC98/MFC/SRC
C:/Program Files/Microsoft Visual Studio/VC98/MFC/INCLUDE
C:/Program Files/Microsoft Visual Studio/VC98/ATL/INCLUDE
C:/Program Files/Microsoft Visual Studio/VC98/CRT/SRC 871066244 发表于 2019-8-16 12:22
不知道哪错了。。。
我是按这个改的
executatble files:
你别按别人的路径改,你vc6里include目录在哪你就填哪 迷雾少年 发表于 2019-8-16 12:28
你别按别人的路径改,你vc6里include目录在哪你就填哪
我改完是这样的
D:\VC6.0GREEN\VC98\INCLUDE
D:\VC6.0GREEN\VC98\MFC\INCLUDE
D:\VC6.0GREEN\VC98\ATL\INCLUDE
页:
[1]