描述:
在编译ISDN驱动程序的时候老是报这样的错,是不是DDK没有配置好?
--------------------Configuration: ISDNWDM - Win32 Checked--------------------
Compiling...
Isdnwdm.cpp
C:\我的项目\CB\CB2005\源代码\ISDNWDM\Isdnwdm.cpp(0) : fatal error C1083: Cannot open include file: '\inc\warning.h': No such file or directory
PlugPlay.cpp
C:\我的项目\CB\CB2005\源代码\ISDNWDM\PlugPlay.cpp(0) : fatal error C1083: Cannot open include file: '\inc\warning.h': No such file or directory
Power.cpp
C:\我的项目\CB\CB2005\源代码\ISDNWDM\Power.cpp(0) : fatal error C1083: Cannot open include file: '\inc\warning.h': No such file or directory
ReadWrite.cpp
C:\我的项目\CB\CB2005\源代码\ISDNWDM\ReadWrite.cpp(0) : fatal error C1083: Cannot open include file: '\inc\warning.h': No such file or directory
Generating Code...
Error executing cl.exe.
ISDNWDM.sys - 4 error(s), 0 warning(s)
The following environment variables were not found
$(DDKPATH)
解决方案1:
The following environment variables were not found
$(DDKPATH)
这不是说得很明白了吧?
手动添加一个环境变量就可以 了