... I might as well try to work out what it does and see if I can re-write it to libusb 1.0 instead of the now deprecated libusb 0.1

Not sure if it applies to your usage case, but there is a compatibility libusb library at:
http://sourceforge.net/projects/libusb/files/libusb-compat-0.1/libusb-compat-0.1.4/libusb-compat-0.1.4.tar.bz2
It allows access to libusb-1.0 for code that has been written for the deprecated libusb-0.1.

I used it with libusb-1.0.9 for the purpose of building Device::USB on Windows - Device::USB being another module that has not been updated for libusb-1.0.
I now see that there are much more recent versions than 1.0.9 available from
http://sourceforge.net/projects/libusb/files/libusb-1.0/

I (sisyphus) mentioned this in a post to this bug report. Have a quick read of that post and see if you think this approach might be of use to you.

Cheers,
Rob

In reply to Re^3: Can code using Inline and Inline::C be used as a Role with_traits in Moose? by syphilis
in thread Can code using Inline and Inline::C be used as a Role with_traits in Moose? by DrewP

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.