On Wed, Jan 23, 2013 at 3:32 PM, Xiaofan Chen <xiaof...@gmail.com> wrote:
> 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.

I actually asked a colleague who has the WinCE 5.0 installation for help.

> 1) Windows CE USB Wrapper:
> https://github.com/RealVNC/CEUSBKWrapper
>...
> 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

2) libusbx WinCE branch, this looks like a configuration problem
but a bit strange. We are using VS2005 with WinCE Standard SDK 5.0.
We can see all those "undefined"/"undeclared" things in the solution
but no idea why the error message came out.

The normal Windows VS2005 solution works fine under the same
setup.

------ Rebuild All started: Project: libusb-1.0 (dll), Configuration:
Debug STANDARDSDK_500 (ARMV4I) ------
Deleting intermediate and output files for project 'libusb-1.0 (dll)',
configuration 'Debug|STANDARDSDK_500 (ARMV4I)'
Compiling...
core.c
..\libusb\core.c(945) : warning C4013: 'usbi_write' undefined;
assuming extern returning int
..\libusb\core.c(958) : warning C4013: 'usbi_read' undefined; assuming
extern returning int
descriptor.c
io.c
..\libusb\io.c(1066) : warning C4013: 'usbi_pipe' undefined; assuming
extern returning int
..\libusb\io.c(1072) : error C2065: 'POLLIN' : undeclared identifier
..\libusb\io.c(1096) : warning C4013: 'usbi_close' undefined; assuming
extern returning int
..\libusb\io.c(1152) : warning C4013: 'TIMESPEC_TO_TIMEVAL' undefined;
assuming extern returning int
..\libusb\io.c(1864) : error C2027: use of undefined type 'pollfd'
        c:\temp\libusbx_wince\libusbx\libusb\libusbi.h(862) : see
declaration of 'pollfd'
..\libusb\io.c(1874) : error C2036: 'pollfd *' : unknown size
..\libusb\io.c(1874) : error C2037: left of 'fd' specifies undefined
struct/union 'pollfd'
..\libusb\io.c(1875) : error C2036: 'pollfd *' : unknown size
..\libusb\io.c(1875) : error C2037: left of 'events' specifies
undefined struct/union 'pollfd'
..\libusb\io.c(1876) : error C2036: 'pollfd *' : unknown size
..\libusb\io.c(1876) : error C2037: left of 'revents' specifies
undefined struct/union 'pollfd'
..\libusb\io.c(1887) : warning C4013: 'usbi_poll' undefined; assuming
extern returning int
..\libusb\io.c(1902) : error C2036: 'pollfd *' : unknown size
..\libusb\io.c(1902) : error C2037: left of 'revents' specifies
undefined struct/union 'pollfd'
..\libusb\io.c(1913) : error C2036: 'pollfd *' : unknown size
..\libusb\io.c(1913) : error C2037: left of 'revents' specifies
undefined struct/union 'pollfd'
..\libusb\io.c(2278) : warning C4013: 'timersub' undefined; assuming
extern returning int
missing.c
....
poll_windows.c
..\libusb\os\poll_windows.c(75) : error C2079: 'INVALID_WINFD' uses
undefined struct 'winfd'
..\libusb\os\poll_windows.c(75) : error C2078: too many initializers
..\libusb\os\poll_windows.c(75) : error C2065: 'RW_NONE' : undeclared identifier
..\libusb\os\poll_windows.c(76) : error C2065: 'MAX_FDS' : undeclared identifier
..\libusb\os\poll_windows.c(76) : error C2057: expected constant expression
...

-- 
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

Reply via email to