VC程序debug版改release版时的错误

来源:百度知道 编辑:UC知道 时间:2024/06/01 10:20:58
我的程序在DEBUG版下编好后改成RELEASE版时,出现了很多错误,部分问题如下
E:\控制软件\联动\复件 在编的控制软件\Explosion.cpp(149) : fatal error C1010: unexpected end of file while looking for precompiled header directive
glm.cpp
E:\控制软件\联动\复件 在编的控制软件\glm.cpp(1564) : fatal error C1010: unexpected end of file while looking for precompiled header directive
OLEDISP1.CPP
D:\Program Files\VC98\MFC\SRC\OLEDISP1.CPP(155) : error C2065: '_AfxRelease' : undeclared identifier
D:\Program Files\VC98\MFC\SRC\OLEDISP1.CPP(351) : error C2079: 'dispatch' uses undefined class 'COleDispatchImpl'
D:\Program Files\VC98\MFC\SRC\OLEDISP1.CPP(361) : error C2582: 'COleDispatchImpl' : 'operator =' function is unavailable
D:\Program Files\VC98\MFC\SRC\OLEDISP1.CPP(382) : error C2079: 'dispatch' uses undefined class 'COleDispatchImpl'
D:\Program

只知道第一个是配置错误,其他的应该是这个引起的,
详谈Hi

fatal error C1010: unexpected end of file while looking for precompiled header directive

这个研究下吧:
预编译选项设置好