On Wed, Jan 23, 2013 at 9:25 AM, Pete Batard <p...@akeo.ie> wrote: > WinCE support is now in mainline. > > I tested compilation with the SDK_500 (ARM) and VS2008, and everything > seems to be OK after simply moving the "wince_usb.h" include after the > libusbi.h include in wince_usb.c. >
Needs some support here. I have issues building both libusbx WinCE branch and the Windows CE USB wrapper. 1) Windows CE USB Wrapper: https://github.com/RealVNC/CEUSBKWrapper Build using Windows CE 5 Platform SDK BUILD: [Thrd:Sequence:Type ] Message BUILD: [00:0000000000:PROGC ] Checking for \WINCE500\sdk\bin\i386\srccheck.exe. BUILD: [00:0000000001:PROGC ] SrcCheck exit code: 0 (dec). BUILD: [00:0000000002:PROGC ] Compile and Link for ARM. BUILD: [00:0000000003:PROGC ] Loading C:\WINCE500\PLATFORM\RABASE\Build.dat. BUILD: [00:0000000004:PROGC ] Done. BUILD: [00:0000000005:PROGC ] Computing include file dependencies: BUILD: [00:0000000006:PROGC ] Checking for SDK include directory: C:\WINCE500\sdk\ce\inc. BUILD: [00:0000000007:PROGC ] Scan \WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\ BUILD: [00:0000000015:PROGC ] Scan \WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\lib\ BUILD: [00:0000000018:PROGC ] Scan \WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\test\ BUILD: [00:0000000021:PROGC ] Compiling \WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\ directory. BUILD: [01:0000000028:PROGC ] Compiling .\UsbDevice.cpp BUILD: [01:0000000031:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.h(38) : error C2100: illegal indirection BUILD: [01:0000000033:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.h(38) : error C2100: illegal indirection BUILD: [01:0000000039:PROGC ] Compiling .\OpenContext.cpp BUILD: [01:0000000042:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.h(38) : error C2100: illegal indirection BUILD: [01:0000000044:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.h(38) : error C2100: illegal indirection BUILD: [01:0000000050:PROGC ] Compiling .\UserBuffer.cpp BUILD: [01:0000000053:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.h(38) : error C2100: illegal indirection BUILD: [01:0000000055:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.cpp(162) : error C2065: 'ARG_IO_PDW' : undeclared identifier BUILD: [01:0000000056:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.cpp(165) : error C2065: 'ARG_I_PDW' : undeclared identifier BUILD: [01:0000000057:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.cpp(168) : error C2065: 'ARG_O_PDW' : undeclared identifier BUILD: [01:0000000058:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.h(38) : error C2100: illegal indirection BUILD: [01:0000000064:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.cpp(187) : error C3861: 'CeDriverDuplicateCallerHandle': identifier not found, even with argument-dependent lookup BUILD: [01:0000000065:PROGC ] Compiling .\ControlTransfer.cpp BUILD: [01:0000000068:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.h(38) : error C2100: illegal indirection BUILD: [01:0000000070:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.h(38) : error C2100: illegal indirection BUILD: [01:0000000076:PROGC ] Compiling .\TransferList.cpp BUILD: [01:0000000079:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.h(38) : error C2100: illegal indirection BUILD: [01:0000000081:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.h(38) : error C2100: illegal indirection BUILD: [01:0000000087:PROGC ] Compiling .\Transfer.cpp BUILD: [01:0000000090:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.h(38) : error C2100: illegal indirection BUILD: [01:0000000092:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.h(38) : error C2100: illegal indirection BUILD: [01:0000000098:PROGC ] Compiling .\BulkTransfer.cpp BUILD: [01:0000000101:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.h(38) : error C2100: illegal indirection BUILD: [01:0000000103:ERRORE] c:\WINCE500\PLATFORM\RABASE\SRC\TESTS\usb\drv\UserBuffer.h(38) : error C2100: illegal indirection BUILD: [01:0000000109:PROGC ] Linking obj\ARMV4I\retail\ceusbkwrapperdrv.lib BUILD: [01:0000000118:ERRORE] LINK : fatal error LNK1181: cannot open input file 'obj\ARMV4I\retail\UsbDevice.obj' BUILD: [00:0000000120:PROGC ] Files Warnings Errors BUILD: [00:0000000121:PROGC ] Midl 0 0 0 BUILD: [00:0000000122:PROGC ] Resource 0 0 0 BUILD: [00:0000000123:PROGC ] Message 0 0 0 BUILD: [00:0000000124:PROGC ] Precomp Header 0 0 0 BUILD: [00:0000000125:PROGC ] C/Cpp/Cxx 7 0 18 BUILD: [00:0000000126:PROGC ] Assembler 0 0 0 BUILD: [00:0000000127:PROGC ] Static Libraries 0 0 0 BUILD: [00:0000000128:PROGC ] Dll's 1 0 1 BUILD: [00:0000000129:PROGC ] Exe's 0 0 0 BUILD: [00:0000000130:PROGC ] Resx 0 0 0 BUILD: [00:0000000131:PROGC ] Csharp Targets 0 0 0 BUILD: [00:0000000132:PROGC ] Other 0 0 1 BUILD: [00:0000000133:PROGC ] BUILD: [00:0000000134:PROGC ] Total 8 0 20 BUILD: [00:0000000135:PROGC ] BUILD: [00:0000000136:PROGC ] 0 Warnings, 20 Errors Build for Windows CE (Release) (Built on Apr 14 2005 13:54:39) File names: Build.log Build.wrn Build.err Build.dat -- Xiaofan ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel