--------------------Configuration: OsDll - Win32 Debug--------------------
Compiling...
StdAfx.cpp
Compiling...
OsDll.cpp
Generating Code...
Compiling...
stub_rtss.c
e:\work\osdll\stub\src\stub_rtss.c(148) : fatal error C1010: unexpected end of file while looking for precompiled header directive
stub_vos.c
e:\work\osdll\stub\src\stub_vos.c(49) : fatal error C1010: unexpected end of file while looking for precompiled header directive
stub_wueps.c
e:\work\osdll\stub\src\stub_wueps.c(116) : fatal error C1010: unexpected end of file while looking for precompiled header directive
stubcfgram.c
e:\work\osdll\stub\src\stubcfgram.c(70) : fatal error C1010: unexpected end of file while looking for precompiled header directive
stubcfgrom.c
e:\work\osdll\stub\src\stubcfgrom.c(72) : fatal error C1010: unexpected end of file while looking for precompiled header directive
stubcom.c
e:\work\osdll\stub\src\stubcom.c(707) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Generating Code...
Error executing cl.exe.OsDll.dll - 6 error(s), 0 warning(s)
Compiling...
StdAfx.cpp
Compiling...
OsDll.cpp
Generating Code...
Compiling...
stub_rtss.c
e:\work\osdll\stub\src\stub_rtss.c(148) : fatal error C1010: unexpected end of file while looking for precompiled header directive
stub_vos.c
e:\work\osdll\stub\src\stub_vos.c(49) : fatal error C1010: unexpected end of file while looking for precompiled header directive
stub_wueps.c
e:\work\osdll\stub\src\stub_wueps.c(116) : fatal error C1010: unexpected end of file while looking for precompiled header directive
stubcfgram.c
e:\work\osdll\stub\src\stubcfgram.c(70) : fatal error C1010: unexpected end of file while looking for precompiled header directive
stubcfgrom.c
e:\work\osdll\stub\src\stubcfgrom.c(72) : fatal error C1010: unexpected end of file while looking for precompiled header directive
stubcom.c
e:\work\osdll\stub\src\stubcom.c(707) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Generating Code...
Error executing cl.exe.OsDll.dll - 6 error(s), 0 warning(s)
去掉window.h头文件。
?
设置一下 Precompiled Headers吧这样设置就没有这种问题了,不知道什么原因,这些选项是作什么的呢?
把一些常用的头文件放在stdafx.h中,
其他cpp包含这个stdafx.h就可以.
如果选中了预编译头文件选项,
就必须要包含stdafx.h头文件