Re: dfu-util for Windows

2012-04-21 Thread Stefan Schmidt
Hello. On Mon, 2012-04-16 at 23:48, Tormod Volden wrote: > > So forget messing around with Windows IDEs, huge downloads, $399 and > EULAs, just do "apt-get install mingw32" instead :) The recommended > way of building dfu-util for Windows _on Windows_ will be running &g

dfu-util for Windows

2012-04-16 Thread Tormod Volden
-util.exe file (and libusb-1.0.dll) on Windows 7 (64-bit) and it works fine. So forget messing around with Windows IDEs, huge downloads, $399 and EULAs, just do "apt-get install mingw32" instead :) The recommended way of building dfu-util for Windows _on Windows_ will be running mingw nati

Re: Re: Re: Re: no luck with building dfu-util for windows

2012-04-15 Thread Tormod Volden
2012/4/15 Daniel Li: > Tormod Volden, > > Well, I didn't get luck. > > So I have fixed my Celeron (Coppermine), which is 700MHz GenuineIntel > processor. Re-install ubuntu 8.04. > > It's ok to flash the device now. > > If there is any good way to build dfu-util with clear guide (windows xp), I >

Re: Re: Re: Re: no luck with building dfu-util for windows

2012-04-14 Thread Daniel Li
Tormod Volden, Well, I didn't get luck. So I have fixed my Celeron (Coppermine), which is 700MHz GenuineIntel processor. Re-install ubuntu 8.04. It's ok to flash the device now. If there is any good way to build dfu-util with clear guide (windows xp), I wish to try then. >2012/4/7 Daniel Li:

Re: Re: Re: no luck with building dfu-util for windows

2012-04-08 Thread Tormod Volden
2012/4/7 Daniel Li: > Hi all, > Anyway, I have been sucessfully build dfu-util with cygwin, which has > libusb1.0 Great to hear! > But it can program the device, any idea about this issue? Why dfu-util can't > open the device? > $ ./dfu-util.exe -l > dfu-util - (C) 2005-2008 by Weston Schmidt,

Re: Re: Re: no luck with building dfu-util for windows

2012-04-08 Thread Tormod Volden
2012/4/7 Daniel Li: > Hi all, > > I downloaded libusb-win32-bin-1.2.6.0.zip, and extract the only head file > "lusb0_usb.h" and msvc library libusb.lib. > > As dfu-util uses libusb.h, I guess it's the only head file "lusb0_usb.h" > > But vc6 can't compile dfu-util sucessfully, see below log: > > A

Re: Re: Re: no luck with building dfu-util for windows

2012-04-07 Thread Daniel Li
Hi all, Anyway, I have been sucessfully build dfu-util with cygwin, which has libusb1.0 But it can program the device, any idea about this issue? Why dfu-util can't open the device? $ ./dfu-util.exe -l dfu-util - (C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc. This program is Fre

Rs: Re: Re: Re: no luck with building dfu-util for windows

2012-04-07 Thread Daniel Li
Hi all, I downloaded libusb-win32-bin-1.2.6.0.zip, and extract the only head file "lusb0_usb.h" and msvc library libusb.lib. As dfu-util uses libusb.h, I guess it's the only head file "lusb0_usb.h" But vc6 can't compile dfu-util sucessfully, see below log: Any idea about this log??? -

Re: Re: no luck with building dfu-util for windows

2012-04-06 Thread Tormod Volden
2012/4/6 Daniel Li: > Hi Tormod Volden, > > > I have get windows dfu-util source and start to use vs2005 to build dfu-util. > And got following compile error: > > 1>dfu.c > 1>z:\openmoko\dfu-util\src\dfu.c(24) : fatal error C1083: Cannot open include > file: 'libusb.h': No such file or directory

Re: Re: no luck with building dfu-util for windows

2012-04-06 Thread Daniel Li
tall/register >the WinUSB driver for your device. Then libusb will access the device >through winusb.dll. > >Tormod > >2012/4/5 Daniel Li : >> Hi All, >> >> I want to build dfu-util for windows. >> >> But no luck with�following links, any one h

Re: Re: no luck with building dfu-util for windows

2012-04-05 Thread Daniel Li
Hi, Tormod Volden >Hi Daniel, > >Did you try the "windows" branch of the git repo? >http://cgit.openezx.org/dfu-util/log/?h=windows >What kind of compiler/environment did you try? ==> I have VS2005/Cygwin/ubuntu(Vmware) installed. And thanks for you info. This is a great link, i'll try ton

Re: no luck with building dfu-util for windows

2012-04-05 Thread Tormod Volden
reference: http://www.libusb.org/wiki/windows_backend If I understand it right, you can use Zadig.exe to install/register the WinUSB driver for your device. Then libusb will access the device through winusb.dll. Tormod 2012/4/5 Daniel Li : > Hi All, > > I want to build dfu-util for windo

Re: Build dfu-util for Windows

2011-11-09 Thread Tormod Volden
On Thu, Nov 10, 2011 at 8:10 AM, Satz Klauer wrote: > Hi, > > according to > http://wiki.openmoko.org/wiki/Dfu-util-windows#Porting_dfu-util_to_Windows > I tried to compile dfu-util for Windows. Unfortunately it seems like > it expects libusb1 while libusb-win32 seems to suppo

Build dfu-util for Windows

2011-11-09 Thread Satz Klauer
Hi, according to http://wiki.openmoko.org/wiki/Dfu-util-windows#Porting_dfu-util_to_Windows I tried to compile dfu-util for Windows. Unfortunately it seems like it expects libusb1 while libusb-win32 seems to support API version 1.0 only. So what did I miss here: are there some modifications