Libusb-win32 for USRP

Hello,
I am running GNU Radio on Cygwin and I would like to use USRP hardware.
Software requirements are still a confusing for me:

  • USRP Driver is successfully installed (following
    gnuradio.org/trac/wiki/USRPWindowsDriverInstall instructions)
  • libusb-win32-device-bin-0.1.10.1 and sdcc-2.6.0 are also installed
  • The PYTHONPATH is fixed to be /usr/local/lib/python2.5/site-packages
  • usrp and gr-usrp exist in /usr/src/gnuradio-3.1.1
  1. Did I forget something?
    When trying to run “import usrp” I get an Import Error.
    I realised that “make” command in the usrp folder isn’t successful
    apparently due to usrp_basic.cc file errors all associated to usb such
    as
    usb.h include or functions like _usb_strerror.
  2. Does anybody have an idea where the problem comes from?
  3. I found usb.h in libusb-win32-device-bin-0.1.10.1 that I have placed
    in
    \usr\include\libusb-win32-device-bin-0.1.10.1, where must this folder be
    in
    order to be found when running make at \usr\src\gnuradio-3.1.1\usrp?
    Thank you for your help!
    Regards,
    Irene


View this message in context:
http://www.nabble.com/libusb-win32-for-USRP-tp16467790p16467790.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Hello Irene!

irene159 wrote am 2008-04-03 18:12:

When trying to run “import usrp” I get an Import Error.
I realised that “make” command in the usrp folder isn’t successful
apparently due to usrp_basic.cc file errors all associated to usb such as
usb.h include or functions like _usb_strerror.

Do you have the command line and the output? This would simplify the
procedure of finding the very point of failure a lot.

  1. Does anybody have an idea where the problem comes from?

More Information is needed.
Please provide as much and precise information as possible:
*) What environment you have (system, tools, settings)
*) what exactly you did
*) The output of failing commands
This makes it possible for other hackers to reconstruct the error and
avoids lengthly question-answers mails, which are frustrating and take
lot of time.

Patrick

ps: If unshure how to report errors, see
How To Ask Questions The Smart Way

Engineers motto: cheap, good, fast: choose any two
Patrick S.
Student of Telematik, Techn. University Graz, Austria