奇怪的编译问题?
c:\Documents and Settings\Desktop\File728\Source\Drivers\InfoFrame.cpp(18): fatal error C1853: '.\Debug/Edge.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
我在.net中重新编译一个以前在vc6.0中可以运行的dll,出现上面的错误,请帮忙,如何解决!
问题点数:40、回复次数:6Top
1 楼a10002(A万零贰)回复于 2005-08-02 17:39:51 得分 40
你重新生成所有的文件!
预编译的文件都清理掉重新生成!
我试过很多次!@Top
2 楼DentistryDoctor(不在无聊中无奈,就在沉默中变态)回复于 2005-08-03 08:57:52 得分 0
Rebuild All!Top
3 楼jxfzamdzyx()回复于 2005-08-03 11:33:21 得分 0
试过rebuild all
在vc6.0下生成的debug下没有pch文件,编译时显示can not open the file Edge.pch,我是把release下的pch文件考入debug,编译后出现上面的错误!郁闷中!
Top
4 楼jxfzamdzyx()回复于 2005-08-03 11:41:05 得分 0
可能是预编译的问题,
fatal error C1083: Cannot open precompiled header file: '.\Debug/Edge.pch': No such file or directory 错误的指向都是#include "stdafx.h"的地方
怎么解决,请帮忙!
Top
5 楼Lodger007(Groov0V)回复于 2005-08-05 08:53:25 得分 0
在VC6下,你试试[工程]-》[设置]-》C/C++ Table中的Precomplied Headers选第二个Radio按钮。Top
6 楼jenycheng(听,雪的声音)回复于 2005-08-06 10:39:02 得分 0
rebuildallTop




