avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] Compiling avrdude with libusb


From: dlc
Subject: [avrdude-dev] Compiling avrdude with libusb
Date: Sun, 06 Dec 2009 22:06:14 -0700
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

Greetings,

I've finally gotten a need to use avrdude with a USB AVR programmer. I downloaded libusb 1.0.6, built that, got the latest avrdude source 5.8, configured pointing to the libusb libs, but the configure says this about libusb:
checking for usb_get_string_simple in -lusb... no

Nothing I do will get avrdude's configure to recognize libusb. Here are the "things" that I set up:

export CFLAGS=-I$IDIR/include
export LDFLAGS=-L$IDIR/lib
cd avrdude-5.8/
./configure --prefix=$IDIR

where IDIR is the installation directory where the libusb stuff lands in the appropriate lib and include directories. I've checked, they're there.

There seems some confusion (to me) in on-line resources which refer to "the latest libusb", but then they talk about 0.1.12 which is a year old, libusb 1.0.6 is a couple of months old. I vaguely remember reading something about one of the libusb trees being abandoned and not working correctly, but the dates on the two repositories leave me wondering which "branch" might be the old or defective one.

Can someone shed some light on this for me - It is obvious to me that I've missed some note or page that details what I should be doing since I'm pretty sure that I have the procedure correct, just something is not working...

Thanks all,
DLC

--
-------------------------------------------------
Dennis Clark          TTT Enterprises
www.techtoystoday.com
-------------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]