阅读:2988回复:7
关于98ddk和2000ddk
在2000ddk下很容易就能把samples通过编译
可是我在98ddk下老是通不过编译 出来的错误显示是c:\\msdev\\98vc\\下的两个动态链接库出错 98ddk是不是支持的最高的vc版本是5.0可是它路径指向我装的6.0的vc 编译总是通不过 我编的是98ddk\\src\\printer\\ 还有如何根据98ddk提供的minidriver编写printer驱动程序呢? 哪里能看到它调用的那些函数 我刚接触驱动编程和ddk 请高手们赐教 万分谢谢! 这是我的毕业设计! |
|
沙发#
发布于:2003-04-04 17:39
98ddk支持的vc最高版本是5.0.
可以在\\98DDK\\bin\\ddkvars.bat修改指向VC的路径. 编译98ddk\\src\\printer\\需要安装16位的VC++1.52.好象这里就有下载. 安装完毕后,需要修改\\98DDK\\inc\\MASTER.MK: # C16_ROOT should point to the root of your 16-Bit tools directory. C16_ROOT=D:\\PROGRA~1\\MSVC 将C16_ROOT指向VC++1.52的路径. 然后再尝试编译98ddk\\src\\printer\\. |
|
板凳#
发布于:2003-04-05 11:12
出错信息如下
C:\\98DDK\\src\\printer\\canon10v>build -cz BUILD: Compile and Link for i386 BUILD: Compiling and linking c:\\98ddk\\src\\printer\\canon10v Assembling - libinit.asm for i386 Compiling - minidriv.c for i386 NMAKE : U1081: \'\\bin\\cl\' : program not found BUILD: Done 2 files compiled - 1 Errors C:\\98DDK\\src\\printer\\canon10v>build BUILD: Compile and Link for i386 BUILD: Computing Include file dependencies: BUILD: d:\\vc\\cd3\\devstu~1\\vc\\include\\exdisp.odl(31): d:\\vc\\cd3\\devstu~1\\vc\\inclu de\\exdisp.odl - invalid include statement: importlib(STDOLE_TLB); BUILD: c:\\vcppdev\\vc\\include\\exdisp.odl(31): c:\\vcppdev\\vc\\include\\exdisp.odl - invalid include statement: importlib(STDOLE_TLB); BUILD: Examining c:\\98ddk\\src\\printer\\canon10v directory for files to compile. BUILD: Unable to save the dependency database: \\nt\\build.dat BUILD: Building generated files in c:\\98ddk\\src\\printer\\canon10v Compiling - minidriv.c for i386 NMAKE : U1081: \'\\bin\\cl\' : program not found BUILD: Examining c:\\98ddk\\src\\printer\\canon10v directory for files to compile. ( 2nd Pass) BUILD: Unable to save the dependency database: \\nt\\build.dat BUILD: Compile errors: not linking c:\\98ddk\\src\\printer\\canon10v directory BUILD: Done 1 files compiled - 1 Errors d:\\vc\\cd3是我安装vc5.0时的路径 |
|
地板#
发布于:2003-04-05 11:13
那要在98ddk安装之前安装vc1.52 吗?
|
|
地下室#
发布于:2003-04-05 11:22
vc1.5可以吗?
|
|
5楼#
发布于:2003-04-05 11:37
安装完了vc1.52 也在master文件中修改了路径
好像还是一样的错误 安装路径:98ddk c:\\98ddk vc1.52 c:\\program files\\msvc vc5.0 c:\\vcppdev 出错信息: C:\\98DDK\\src\\printer\\canon10v>build BUILD: Compile and Link for i386 BUILD: Computing Include file dependencies: BUILD: d:\\vc\\cd3\\devstu~1\\vc\\include\\exdisp.odl(31): d:\\vc\\cd3\\devstu~1\\vc\\inclu de\\exdisp.odl - invalid include statement: importlib(STDOLE_TLB); BUILD: c:\\vcppdev\\vc\\include\\exdisp.odl(31): c:\\vcppdev\\vc\\include\\exdisp.odl - invalid include statement: importlib(STDOLE_TLB); BUILD: Examining c:\\98ddk\\src\\printer\\canon10v directory for files to compile. BUILD: Unable to save the dependency database: \\nt\\build.dat BUILD: Building generated files in c:\\98ddk\\src\\printer\\canon10v Compiling - minidriv.c for i386 NMAKE : U1081: \'c:\\Program\' : program not found BUILD: Examining c:\\98ddk\\src\\printer\\canon10v directory for files to compile. ( 2nd Pass) BUILD: Unable to save the dependency database: \\nt\\build.dat BUILD: Compile errors: not linking c:\\98ddk\\src\\printer\\canon10v directory BUILD: Done 1 files compiled - 1 Errors |
|
6楼#
发布于:2003-04-17 12:40
vc1.5你最好安装到根目录下,否则就会有问题!
|
|
|
7楼#
发布于:2003-04-24 14:58
不好意思,许久没有上这个网站.
在WIN98的DOS环境下不支持长名称路径,只支持最长8个字符名称. 如果你安装在c:\\program files\\msvc里,在MASTER.MK里应该是: c:\\progra~1\\msvc. 另外直接安装在根目录下,就不存在长名称路径了. |
|