阅读:1986回复:3
Programming WDM>书第一个程序 编译出错如何解决?
--------------------Configuration: stupid - Win32 Checked--------------------
Compiling with DDK compiler... stddcls.cpp E:\\Windows Driver Modul\\Temp Program\\stupid\\stddcls.cpp(0) : fatal error C1083: Cannot open include file: \'\\inc\\wxp\\warning.h\': No such file or directory Error executing cl.exe. stupid.sys - 1 error(s), 0 warning(s) The following environment variables were not found $(SIWPATH) $(ddkpath) 我想问2个问题: 1.我的环境是 windows xp sp2 + DS3.1 + DDK XP SP1 + VC++6.0 我在查看以前的帖子的时候(VC++6.0 + DDK +Win2K)要设置什么环境变量,我还用设置什么环境变量吗? 怎么设置? 我没有经历过DOS时代,对这个东西一点也不了解,谢谢! 2.这个程序出现什么问题? 我猜测是环境变量问题 ~请问怎么解决那? 附件是 编译的这个程序 |
|
|
沙发#
发布于:2005-04-20 10:32
Before you compile the Oney\'s sample codes, please lauch the \"setup\" program under the ..\\samples\\, the setup program will help you to set the enviroment variables.
Any question can msn: jgw2008@hotmail.com |
|
|
板凳#
发布于:2005-04-20 21:04
你好,这个问题终于解决了。
谢谢你的提示。 我的那个Setup先前安装好了,只是当时我多虑,把stupid这个程序所在的文件夹拷贝到别的地方,编译那个拷贝的文件,结果环境变量就找不到了。 谢谢你的提示,让我再次仔仔细细的看过文档。 我的msn: heyboy_lee@hotmail.com 欢迎多交流 [编辑 - 4/21/05 by HeyDDC] |
|
地板#
发布于:2005-05-15 20:54
1。先用vc打开driverworks里面的source里的*.dsw
rebuild all就可以了 了 2。driverworks的setting里要有ddk的环境变量 |
|
|