Discussion:
[UrJTAG-dev] Is anyone able to compile UrJtag for Windows?
Jahn
2013-04-01 06:27:01 UTC
Permalink
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<title></title>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
</head>
<body>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
Hi all,</span></font>
</div>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
is anyone capable of compilling the latest version of UrJtag for Windows 7?</span></font>
</div>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
The version found at </span></font>
</div>
<div align="left">
<font face="Arial" color="#008000" size="2">
<span style=" font-size:10pt">
<u>http://sourceforge.net/projects/urjtag/files/urjtag/</u></span></font>
</div>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
did NOT work.</span></font>
</div>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
Thank you</span></font>
</div>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
BR,</span></font>
</div>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
L.</span></font>
</div>
<div align="left">
&nbsp;</div>
</body>
</html>
Mike Frysinger
2013-04-01 06:49:37 UTC
Permalink
On Monday 01 April 2013 02:27:01 Jahn wrote:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

-ENOPARSE
-mike
Xiaofan Chen
2013-04-02 04:23:01 UTC
Permalink
On Mon, Apr 1, 2013 at 2:27 PM, Jahn <***@centrum.cz> wrote:
> Hi all,
> is anyone capable of compilling the latest version of UrJtag for Windows 7?
> The version found at
> http://sourceforge.net/projects/urjtag/files/urjtag/
> did NOT work.

Have you tried to build urjtag git (or svn HEAD) under Windows?

You can use MinGW.org toolchain. Use the GUI installer to
install the toolchain, MSys and MinGW Development Toolkit.

For libusb-1.0, you can either build it from source or use the ready
made Windows binary from libusbx.
http://sourceforge.net/projects/libusbx/files/releases/1.0.14/Windows/

If you choose to use libftdi1 and not ftd2xx, you can either build it
from source or get the binary here (built by me).
https://code.google.com/p/picusb/downloads/list

After that, you can try to build urjtag under Windows.

--
Xiaofan
Xiaofan Chen
2013-04-02 04:42:11 UTC
Permalink
On Tue, Apr 2, 2013 at 12:23 PM, Xiaofan Chen <***@gmail.com> wrote:
> On Mon, Apr 1, 2013 at 2:27 PM, Jahn <***@centrum.cz> wrote:
>> Hi all,
>> is anyone capable of compilling the latest version of UrJtag for Windows 7?
>> The version found at
>> http://sourceforge.net/projects/urjtag/files/urjtag/
>> did NOT work.
>
> Have you tried to build urjtag git (or svn HEAD) under Windows?
>
> You can use MinGW.org toolchain. Use the GUI installer to
> install the toolchain, MSys and MinGW Development Toolkit.
>
> For libusb-1.0, you can either build it from source or use the ready
> made Windows binary from libusbx.
> http://sourceforge.net/projects/libusbx/files/releases/1.0.14/Windows/
>
> If you choose to use libftdi1 and not ftd2xx, you can either build it
> from source or get the binary here (built by me).
> https://code.google.com/p/picusb/downloads/list
>
> After that, you can try to build urjtag under Windows.

But if you have access to Linux, probably it is easier (and faster)
to cross build urjtag under Linux using the MinGW 32bit toolchain
or MinGW-w64 32/64bit toolchain.


--
Xiaofan
Xiaofan Chen
2013-04-02 15:08:44 UTC
Permalink
On Tue, Apr 2, 2013 at 12:23 PM, Xiaofan Chen <***@gmail.com> wrote:
> On Mon, Apr 1, 2013 at 2:27 PM, Jahn <***@centrum.cz> wrote:
>> Hi all,
>> is anyone capable of compilling the latest version of UrJtag for Windows 7?
>> The version found at
>> http://sourceforge.net/projects/urjtag/files/urjtag/
>> did NOT work.
>
> Have you tried to build urjtag git (or svn HEAD) under Windows?
>
> You can use MinGW.org toolchain. Use the GUI installer to
> install the toolchain, MSys and MinGW Development Toolkit.
>
> For libusb-1.0, you can either build it from source or use the ready
> made Windows binary from libusbx.
> http://sourceforge.net/projects/libusbx/files/releases/1.0.14/Windows/
>
> If you choose to use libftdi1 and not ftd2xx, you can either build it
> from source or get the binary here (built by me).
> https://code.google.com/p/picusb/downloads/list
>
> After that, you can try to build urjtag under Windows.

FYI, I just tried to build urjtag under Windows 7 with
MinGW/MSys, libusbx-1.0.14 and libftdi1-1.0, the
build process is fine and I can build latest urjtag git
tree.

I use pkg-config-lite to get urjtag to detect libusb-1.0
and libftdi1, but you can manually do that as well
be specifying the necessary flags.


--
Xiaofan
Jahn
2013-04-02 19:59:55 UTC
Permalink
Xiaofan ,
Does it mean you were able to build EXE file, for Windows 7, from the latest source?
If so, can you please upload it somewhere?
Thank you
Jan.



> On Tue, Apr 2, 2013 at 12:23 PM, Xiaofan Chen <***@gmail.com> wrote:
> > On Mon, Apr 1, 2013 at 2:27 PM, Jahn <***@centrum.cz> wrote:
> >> Hi all,
> >> is anyone capable of compilling the latest version of UrJtag for Windows 7?
> >> The version found at
> >> http://sourceforge.net/projects/urjtag/files/urjtag/
> >> did NOT work.
> >
> > Have you tried to build urjtag git (or svn HEAD) under Windows?
> >
> > You can use MinGW.org toolchain. Use the GUI installer to
> > install the toolchain, MSys and MinGW Development Toolkit.
> >
> > For libusb-1.0, you can either build it from source or use the ready
> > made Windows binary from libusbx.
> > http://sourceforge.net/projects/libusbx/files/releases/1.0.14/Windows/
> >
> > If you choose to use libftdi1 and not ftd2xx, you can either build it
> > from source or get the binary here (built by me).
> > https://code.google.com/p/picusb/downloads/list
> >
> > After that, you can try to build urjtag under Windows.
>
> FYI, I just tried to build urjtag under Windows 7 with
> MinGW/MSys, libusbx-1.0.14 and libftdi1-1.0, the
> build process is fine and I can build latest urjtag git
> tree.
>
> I use pkg-config-lite to get urjtag to detect libusb-1.0
> and libftdi1, but you can manually do that as well
> be specifying the necessary flags.
>
>
> --
> Xiaofan
Mike Frysinger
2013-04-02 20:11:02 UTC
Permalink
On Tuesday 02 April 2013 11:08:44 Xiaofan Chen wrote:
> FYI, I just tried to build urjtag under Windows 7 with
> MinGW/MSys, libusbx-1.0.14 and libftdi1-1.0, the
> build process is fine and I can build latest urjtag git
> tree.

FWIW, i've built libusb-1 + urjtag for Windows for a while now and i know it
works fine. but i've only done testing with Windows XP (and nominally Vista).

there's a urjtag in this installer that might help:
http://blackfin.uclinux.org/gf/download/frsrelease/588/10177/blackfin-toolchain-
win32-2012R2.exe
-mike
Xiaofan Chen
2013-04-03 13:27:07 UTC
Permalink
On Wed, Apr 3, 2013 at 3:59 AM, Jahn <***@centrum.cz> wrote:
> Xiaofan ,
> Does it mean you were able to build EXE file, for Windows 7,
> from the latest source?

Yes.

> If so, can you please upload it somewhere?

Not now, I will wait for the formal release of libusbx-1.0.15
which is due in about two weeks since it fixes quite a few
issues with regard to USB Composite Device (like FT2232x
used in many JTAG adapters).


--
Xiaofan
Loading...