阅读:1450回复:2
请问VC编绎问题?
以下是我的VC6编绎显示内容.
如何分析内容? 编绎后为什么不能生成SYS文件? 另sources文件有什么用,在哪里使用? Setting environment for using Microsoft Visual C++ tools. Starting dirs creation...Completed. BUILD: Object root set to: ==> objchk BUILD: /i switch ignored BUILD: Compile and Link for i386 BUILD: Loading d:\\ntddk\\build.dat... BUILD: Computing Include file dependencies: BUILD: d:\\program files\\microsoft visual studio\\vc98\\include\\exdisp.odl(31): d:\\program files\\microsoft visual studio\\vc98\\include\\exdisp.odl - invalid include statement: importlib(STDOLE_TLB); BUILD: d:\\program files\\microsoft visual studio\\vc98\\include\\vidsvr.odl(16): d:\\program files\\microsoft visual studio\\vc98\\include\\vidsvr.odl - invalid include statement: importlib(STDOLE_TLB); BUILD: d:\\progra~1\\micros~1\\vc98\\include\\exdisp.odl(31): d:\\progra~1\\micros~1\\vc98\\include\\exdisp.odl - invalid include statement: importlib(STDOLE_TLB); BUILD: d:\\progra~1\\micros~1\\vc98\\include\\vidsvr.odl(16): d:\\progra~1\\micros~1\\vc98\\include\\vidsvr.odl - invalid include statement: importlib(STDOLE_TLB); BUILD: Examining g:\\wdm\\test2 directory for files to compile. g:\\wdm\\test2 g:\\wdm\\test2 - 4 source files (747 lines) BUILD: Saving d:\\ntddk\\build.dat... BUILD: Compiling g:\\wdm\\test2 directory BUILD: nmake.exe failed - rc = 2 BUILD: Linking g:\\wdm\\test2 directory BUILD: nmake.exe failed - rc = 2 BUILD: Done test2.sys - 0 error(s), 0 warning(s) |
|
沙发#
发布于:2001-12-03 08:56
好好看看你的source文件,最好和那本书上的例子wdm1等的source文件比较一下看看有什么地方设的不对,再就是看看vc底下的setting
是否正确,如果你是在98下,干脆直接到dos方式下用命令行编译试试。 |
|
|
板凳#
发布于:2001-12-03 11:38
我是用w2k的.
想在VC6中编绎,按专栏的方法,但不能编绎成功,不知为何? 另 nmake.exe failed - rc = 2是什么错误? |
|