阅读:1032回复:1
声明问题???很菜的问题,求助
// Pipe for USB endpoint 1 OUT (address 0x1)
KUsbPipe m_Endpoint1OUT; // Pipe for USB endpoint 1 IN (address 0x81) KUsbPipe m_Endpoint1IN; // Pipe for USB endpoint 2 OUT (address 0x2) KUsbPipe m_Endpoint2OUT; // Pipe for USB endpoint 2 IN (address 0x82) KUsbPipe m_Endpoint2IN; 按照上面的已经声明了,可还是有错!! --------------------Configuration: xu9 - Win32 Checked-------------------- Compiling with DDK compiler... Xu9Device.cpp C:\xu9\sys\Xu9Device.cpp(802) : error C2065: 'm_Endpoint1In' : undeclared identifier C:\xu9\sys\Xu9Device.cpp(802) : error C2228: left of '.MaximumTransferSize' must have class/struct/union type C:\xu9\sys\Xu9Device.cpp(811) : error C2228: left of '.BuildInterruptTransfer' must have class/struct/union type C:\xu9\sys\Xu9Device.cpp(823) : error C2228: left of '.SubmitUrb' must have class/struct/union type C:\xu9\sys\Xu9Device.cpp(880) : error C2065: 'm_Endpoint1Out' : undeclared identifier C:\xu9\sys\Xu9Device.cpp(880) : error C2228: left of '.MaximumTransferSize' must have class/struct/union type C:\xu9\sys\Xu9Device.cpp(889) : error C2228: left of '.BuildInterruptTransfer' must have class/struct/union type C:\xu9\sys\Xu9Device.cpp(901) : error C2228: left of '.SubmitUrb' must have class/struct/union type C:\xu9\sys\Xu9Device.cpp(956) : error C2065: 'm_Endpoint2In' : undeclared identifier C:\xu9\sys\Xu9Device.cpp(956) : error C2228: left of '.MaximumTransferSize' must have class/struct/union type C:\xu9\sys\Xu9Device.cpp(969) : error C2228: left of '.BuildBulkTransfer' must have class/struct/union type C:\xu9\sys\Xu9Device.cpp(984) : error C2228: left of '.SubmitUrb' must have class/struct/union type C:\xu9\sys\Xu9Device.cpp(1037) : error C2065: 'm_Endpoint2Out' : undeclared identifier C:\xu9\sys\Xu9Device.cpp(1037) : error C2228: left of '.MaximumTransferSize' must have class/struct/union type C:\xu9\sys\Xu9Device.cpp(1047) : error C2228: left of '.BuildBulkTransfer' must have class/struct/union type C:\xu9\sys\Xu9Device.cpp(1060) : error C2228: left of '.SubmitUrb' must have class/struct/union type C:\xu9\sys\Xu9Device.cpp(1084) : error C2509: 'OnQueryCapabilities' : member function not declared in 'Xu9Device' c:\xu9\sys\Xu9Device.h(11) : see declaration of 'Xu9Device' C:\xu9\sys\Xu9Device.cpp(1117) : error C2228: left of '.Abort' must have class/struct/union type C:\xu9\sys\Xu9Device.cpp(1118) : error C2228: left of '.Abort' must have class/struct/union type C:\xu9\sys\Xu9Device.cpp(1119) : error C2228: left of '.Abort' must have class/struct/union type C:\xu9\sys\Xu9Device.cpp(1120) : error C2228: left of '.Abort' must have class/struct/union type Error executing cl.exe. xu9.sys - 21 error(s), 0 warning(s) |
|
沙发#
发布于:2007-03-26 19:11
是不是环境的设置不对?
while(1) {cout<<"I am waiting!!!" } |
|