libftdi Archives

Subject: Re: libftdi-1.0: libusb-winusb backend with cygwin

From: Jie Zhang <jzhang918@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 15 Mar 2010 05:04:14 +0800
Hi,

On Mon, Mar 15, 2010 at 4:44 AM, Scott Smyth
<ssmyth@xxxxxxxxxxxxxxxxxxxx> wrote:
> I am trying to compile the libusb-winusb backend with libftdi
> and openocd to use with the Marvell sheevaplug on cygwin
> for W7 ultimate x64.
>
> 1) libusb-winusb compiled correctly with a patch for ntdef.h
> included in a couple files.
>
> 2) Using cmake on libftdi-1.0, I keep getting the same error
> which is that there is not a target specified.  I see that the
> possible generators are "mingw32 Makefiles and
> "Unix Makefiles" so for cygwin, I use "Unix Makefiles".
>
> Then, I fix the cmake cache file for the appropriate libusb-1.0
> library and then the libusb include files.  However, when I
> compile the build always stops saying I have not defined
> a TARGET.  Should that not be defined by "Unix Makefiles"
> which I specify in "cmake -G"?  I am mostly ignorant of
> cmake but having read the docs I cannot find my mistake
> for a cygwin compile.
>
I'm currently maintaining libftdi-1.0. However, I have little
knowledge of CMake. If you are willing to submit a patch to fix it, I
will appreciate and install it in the git tree. Thanks!


Jie

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread