Missing 'usb.h' file when installing package.
Hello world,
Summary:
What is 'usb.h'?
-- Is this a system specific file that should be installed with my OS?
--Is it a software specific file that should be included with the source code I'm compiling?
-- Is it generically replaceable by download?
-- Can I write this file from scratch?
Expansion:
Very new to Ubuntu. Working my way through installations of my desired software (GNU-RADIO and GNSS-SDR).
While trying to configure a certain piece of hardware (SiGe GN3S Sampler v2) as an RF-Front End for the software, I received the following errors:
dsradin@
Scanning dependencies of target gr-gn3s
[ 6%] Building CXX object lib/CMakeFiles/
In file included from /home/dsradin/
/home/dsradin/
#include <usb.h>
^
compilation terminated.
make[2]: *** [lib/CMakeFiles
make[1]: *** [lib/CMakeFiles
make: *** [all] Error 2
I tried looking through the system to find the files with no joy:
dsradin@
usb:
dsradin@
libusb:
The excerpt from the readme I am following with the instructions say:
* Build GN3S V2 Custom firmware and driver (OPTIONAL)
- Go to GR-GN3S root directory, compile and install the driver:
(read the drivers/
$ cd gnss-sdr/
$ cd build
$ cmake ../
$ make
$ sudo make install
$ sudo ldconfig
- Set the environment variable GN3S_DRIVER=1 in order to enable the GN3S_Signal_Source in GNSS-SDR (OPTIONAL)
$ export GN3S_DRIVER=1
In order to gain access to USB ports, gnss-sdr should be used as root.
In addition, the driver requires access to the GN3S firmware binary file.
It should be available in the same path where the application is called.
GNSS-SDR comes with a pre-compiled custom GN3S firmware available at gnss-sdr/
Please copy this file to the application path. The GNSS-SDR default path is gnss-sdr/install
(in order to disable the GN3S_Signal_Source compilation, you should remove the GN3S_DRIVER variable and build again GNSS-SDR)
I have uninstalled all packages related and re-cloned the GIT repositories that house all the relevant source codes and scoured the internet but without more information about what exactly I'm looking for I'm stuck.
Any suggestions??
Thank you for your help!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- DaveR
- Solved:
- Last query:
- Last reply: