阅读:1073回复:1
一个菜鸟级问题--运行build出错
刚开始学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] |
|
沙发#
发布于:2004-05-19 20:16
如果没使用上述头文件中定义的函数可以在make文件中加入,定义标号 -DWIN32_LEAN_AND_MEAN 一般在-DUNICODE后面
|
|
|