请教usb驱动开发

[复制链接]
2421|1
 楼主| mcjun 发表于 2008-1-4 12:35 | 显示全部楼层 |阅读模式
小弟在学习驱动开发,做了一个usb驱动程序(照书上抄的)可是在编译的时候出现了如下提示,不知是怎么回事,请各位大虾指教!!<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D:\DriverStudio\DriverWorks\include\kcsq.h(121)&nbsp;:&nbsp;see&nbsp;reference&nbsp;to&nbsp;class&nbsp;template&nbsp;instantiation&nbsp;'KCancelSafeListBase&ltclass&nbsp;KCancelSafeList&gt'&nbsp;being&nbsp;compiled<br />D:\DriverStudio\DriverWorks\include\kcsq.h(113)&nbsp;:&nbsp;error&nbsp;C2061:&nbsp;syntax&nbsp;error&nbsp;:&nbsp;identifier&nbsp;'PIO_CSQ'<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D:\DriverStudio\DriverWorks\include\kcsq.h(121)&nbsp;:&nbsp;see&nbsp;reference&nbsp;to&nbsp;class&nbsp;template&nbsp;instantiation&nbsp;'KCancelSafeListBase&ltclass&nbsp;KCancelSafeList&gt'&nbsp;being&nbsp;compiled<br />D:\DriverStudio\DriverWorks\include\kcsq.h(113)&nbsp;:&nbsp;error&nbsp;C2061:&nbsp;syntax&nbsp;error&nbsp;:&nbsp;identifier&nbsp;'PIO_CSQ'<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D:\DriverStudio\DriverWorks\include\kcsq.h(121)&nbsp;:&nbsp;see&nbsp;reference&nbsp;to&nbsp;class&nbsp;template&nbsp;instantiation&nbsp;'KCancelSafeListBase&ltclass&nbsp;KCancelSafeList&gt'&nbsp;being&nbsp;compiled<br />D:\DriverStudio\DriverWorks\include\kdmqcsq.h(28)&nbsp;:&nbsp;fatal&nbsp;error&nbsp;C1017:&nbsp;invalid&nbsp;integer&nbsp;constant&nbsp;expression<br />Generating&nbsp;Code...<br />Error&nbsp;executing&nbsp;cl.exe.<br /><br />usb2.sys&nbsp;-&nbsp;38&nbsp;error(s),&nbsp;0&nbsp;warning(s)<br />The&nbsp;following&nbsp;environment&nbsp;variables&nbsp;were&nbsp;not&nbsp;found<br />$(WINVER)<br />$(NTDDI_VERSION)<br />$(_WIN32_IE)<br />$(_WIN32_WINNT)<br />
computer00 发表于 2008-1-4 13:00 | 显示全部楼层

装了DDK没有啊...

  
您需要登录后才可以回帖 登录 | 注册

本版积分规则

2

主题

1

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部