discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] using uhd_fft with USRP1


From: Activecat
Subject: Re: [Discuss-gnuradio] using uhd_fft with USRP1
Date: Mon, 19 May 2014 21:28:34 +0800

On Mon, May 19, 2014 at 9:20 PM, Tom Rondeau <address@hidden> wrote:
On Mon, May 19, 2014 at 9:15 AM, Activecat <address@hidden> wrote:

On Mon, May 19, 2014 at 9:04 PM, Tom Rondeau <address@hidden> wrote:
On Mon, May 19, 2014 at 12:40 AM, Activecat <address@hidden> wrote:
On Wed, Apr 30, 2014 at 4:17 AM, Martin Braun <address@hidden> wrote:
Hey Don,

this is a bug in UHD, which is fixed on the current 'master'. If you're
using 'master', you can simply update UHD and reinstall (git pull etc.).

If you can't update for some reason right now, --wire-format=sc16 might
help.

Cheers,
Martin


Unfortunately it becomes incompatible after the uhd update:

  RuntimeError:
  GR-UHD detected ABI compatibility mismatch with UHD library.
  GR-UHD was build against ABI: 3.7.0-0,
  but UHD library reports ABI: 3.7.1-0
  Suggestion: install an ABI compatible version of UHD,
  or rebuild GR-UHD component against this ABI version.

So, how to update the ABI, without a complete gnuradio rebuild ..?

If you still have the build directory from your previous build of GNU Radio, you can just go into the gr-uhd directory and type make and make install. You might want to make clean to make sure it rebuilds and therefore links against the newest versions; gr-uhd isn't that big, so rebuilding the whole component isn't that time consuming.

If you did not save the original build directory, you will have to rebuild the whole thing to update the library.

Tom


Do I need to "cmake ../" first?  The "make" within gr-uhd produces following error:

  address@hidden: ~/download/gnuradio37/gnuradio/gr-uhd $ make
  make: *** No targets specified and no makefile found.  Stop.

Is that the build directory or the source directory? Looks like the latter to me. But if it is the build directory, then missing the make files means that you've gotten rid of the build, so yes, you'd have to rerun cmake.

Tom


During gnuradio installation, I executed the build-gnuradio in folder ~/download/gnuradio37
I am unsure of which are considered as build directories.

  address@hidden: ~/download/gnuradio37 $ l
  total 76k
  drwxr-xr-x  9 sgku sgku 4.0K Apr  9 08:31 bladeRF/
  -rwxr-xr-x  1 sgku sgku  37K Apr  5 07:47 build-gnuradio*
  drwxr-xr-x 31 sgku sgku 4.0K Apr  9 08:46 gnuradio/
  drwxr-xr-x 14 sgku sgku 4.0K Apr  9 09:50 gr-baz/
  drwxr-xr-x 11 sgku sgku 4.0K Apr  9 09:52 grextras/
  drwxr-xr-x 13 sgku sgku 4.0K Apr  9 09:47 gr-iqbal/
  drwxr-xr-x 12 sgku sgku 4.0K Apr  9 09:50 gr-osmosdr/
  drwxr-xr-x 10 sgku sgku 4.0K Apr  9 09:47 hackrf/
  drwxr-xr-x  8 sgku sgku 4.0K Apr  9 09:47 rtl-sdr/
  drwxr-xr-x  8 sgku sgku 4.0K May 15 22:42 uhd/


Are below directories considered "build directory" ?
  address@hidden: ~/download/gnuradio37 $ find -name build
  ./uhd/host/build
  ./gnuradio/build
  ./grextras/build
  ./gr-baz/build
  ./gr-iqbal/build




reply via email to

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