编程中国 | 业界新闻 | 技术文章 | 视频教程 | 下载频道 | 程序源码 | 个人空间 | 编程论坛  
全能 ASP / PHP / ASP.NET 主机,支持月付专业 MSSQL 数据库空间,支持月付专业 MySQL 数据库空间,支持月付学习型 ASP/PHP/ASP.NET 主机 30元/年
发新话题
打印

请问这是什么编译错误,是怎么造成的?

请问这是什么编译错误,是怎么造成的?

--------------------Configuration: 明日之星 - Win32 Debug--------------------
Compiling...
Skipping... (no relevant changes detected)
StdAfx.cpp
Compiling...
DialogFL.cpp
d:\program files\microsoft visual studio\myprojects\明日之星\dialogfl.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/明日之星.pch': No such file or directory
明日之星Dlg.cpp
d:\program files\microsoft visual studio\myprojects\明日之星\明日之星dlg.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/明日之星.pch': No such file or directory
Generating Code...
Compiling...
明日之星.cpp
d:\program files\microsoft visual studio\myprojects\明日之星\明日之星.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/明日之星.pch': No such file or directory
Generating Code...
Skipping... (no relevant changes detected)
DialogCX.cpp
DialogJH.cpp
DialogKZ.cpp
DialogXS.cpp
Error executing cl.exe.

明日之星.exe - 3 error(s), 0 warning(s)

TOP

删了Debug目录重新编译

TOP

最好不要用中文的路径/文件名, 删掉所有的临时文件,把stdafx.cpp重新编译一遍, 再build
貌似只有VC 6.0 经常出这个问题
生活是自己的,但是活着并不只为自己

TOP

谢谢高人指点

TOP

发新话题