小弟在学习驱动开发,做了一个usb驱动程序(照书上抄的)可是在编译的时候出现了如下提示,不知是怎么回事,请各位大虾指教!!<br /> D:\DriverStudio\DriverWorks\include\kcsq.h(121) : see reference to class template instantiation 'KCancelSafeListBase<class KCancelSafeList>' being compiled<br />D:\DriverStudio\DriverWorks\include\kcsq.h(113) : error C2061: syntax error : identifier 'PIO_CSQ'<br /> D:\DriverStudio\DriverWorks\include\kcsq.h(121) : see reference to class template instantiation 'KCancelSafeListBase<class KCancelSafeList>' being compiled<br />D:\DriverStudio\DriverWorks\include\kcsq.h(113) : error C2061: syntax error : identifier 'PIO_CSQ'<br /> D:\DriverStudio\DriverWorks\include\kcsq.h(121) : see reference to class template instantiation 'KCancelSafeListBase<class KCancelSafeList>' being compiled<br />D:\DriverStudio\DriverWorks\include\kdmqcsq.h(28) : fatal error C1017: invalid integer constant expression<br />Generating Code...<br />Error executing cl.exe.<br /><br />usb2.sys - 38 error(s), 0 warning(s)<br />The following environment variables were not found<br />$(WINVER)<br />$(NTDDI_VERSION)<br />$(_WIN32_IE)<br />$(_WIN32_WINNT)<br /> |
|