ms3d_duck
驱动牛犊
驱动牛犊
  • 注册日期2004-04-23
  • 最后登录2005-03-11
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1073回复:1

一个菜鸟级问题--运行build出错

楼主#
更多 发布于:2004-05-19 19:55
刚开始学USB驱动编程
写了一个驱动运行build编译通不过,系统只给出了为数不多的几个错误信息,根本不明白错在那句
不知有什么办法精确定位错误,是不是有哪种debug工具?

错误如下:

E:\\hostcode\\cytherm>build
BUILD: Object root set to: ==> objchk
BUILD: Adding /Y to COPYCMD so xcopy ops won\'t hang.
BUILD: /i switch ignored
BUILD: Compile and Link for i386
BUILD: Loading E:\\WINDDK\\2600\\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Examining e:\\hostcode\\cytherm directory for files to compile.
BUILD: e:\\hostcode\\cytherm\\cytherm.rc: e:\\winddk\\2600\\inc\\wxp\\windows.h: cannot find include file <cderr.h>
BUILD: e:\\hostcode\\cytherm\\cytherm.rc: e:\\winddk\\2600\\inc\\wxp\\windows.h: cannot find include file <lzexpand.h>
BUILD: e:\\hostcode\\cytherm\\cytherm.rc: e:\\winddk\\2600\\inc\\wxp\\windows.h: cannot find include file <winperf.h>
BUILD: e:\\hostcode\\cytherm\\cytherm.rc: e:\\winddk\\2600\\inc\\wxp\\windows.h: cannot find include file <ole.h>
BUILD: e:\\hostcode\\cytherm\\cytherm.rc: e:\\winddk\\2600\\inc\\crt\\winbase.h: cannot find include file <macwin32.h>
BUILD: e:\\hostcode\\cytherm\\cytherm.rc: e:\\winddk\\2600\\inc\\crt\\wingdi.h: cannot find include file <macwin32.h>
BUILD: e:\\hostcode\\cytherm\\cytherm.rc: e:\\winddk\\2600\\inc\\crt\\winuser.h: cannot find include file <macwin32.h>
BUILD: e:\\hostcode\\cytherm\\cytherm.rc: e:\\winddk\\2600\\inc\\crt\\winnls.h: cannot find include file <macwin32.h>
BUILD: e:\\hostcode\\cytherm\\cytherm.rc: e:\\winddk\\2600\\inc\\wxp\\winreg.h: cannot find include file <macwin32.h>
BUILD: e:\\hostcode\\cytherm\\cytherm.rc: e:\\winddk\\2600\\inc\\crt\\mmsystem.h: cannot find include file <macwin32.h>
BUILD: e:\\hostcode\\cytherm\\cytherm.rc: e:\\winddk\\2600\\inc\\crt\\winscard.h: cannot find include file \"scarderr.h\"
    e:\\hostcode\\cytherm - 1 source files (451 lines)
BUILD: Compiling e:\\hostcode\\cytherm directory
Compiling - usbutils.c for i386
usbutils.c(263) : error C2220: warning treated as error - no object file generated
usbutils.c(263) : error C4028: formal parameter 3 different from declaration
BUILD: Compile errors: not linking e:\\hostcode\\cytherm directory
BUILD: Done

    2 files compiled - 2 Errors -   451 LPS

请问BUILD: e:\\hostcode\\cytherm\\cytherm.rc: e:\\winddk\\2600\\inc\\wxp\\windows.h: cannot
find include file <cderr.h>
这句话什么意思?

谢谢各位了

[编辑 -  5/19/04 by  ms3d_duck]
snowStart
驱动老牛
驱动老牛
  • 注册日期2004-04-06
  • 最后登录2011-06-02
  • 粉丝0
  • 关注0
  • 积分95分
  • 威望19点
  • 贡献值177点
  • 好评度1点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2004-05-19 20:16
如果没使用上述头文件中定义的函数可以在make文件中加入,定义标号 -DWIN32_LEAN_AND_MEAN 一般在-DUNICODE后面
学习,关注,交流中... [email=fengyu@163.com]Email:snowstarth@163.com[/email] [url]http://bbs.zndev.com/?a=snowStart[/url]
游客

返回顶部