Re: [Discuss-gnuradio] using uhd_fft with USRP1

2014-05-19 Thread Tom Rondeau
On Mon, May 19, 2014 at 12:40 AM, Activecat active...@gmail.com wrote:

 On Wed, Apr 30, 2014 at 4:17 AM, Martin Braun martin.br...@ettus.comwrote:

 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
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] using uhd_fft with USRP1

2014-05-19 Thread Activecat
On Mon, May 19, 2014 at 9:04 PM, Tom Rondeau t...@trondeau.com wrote:

 On Mon, May 19, 2014 at 12:40 AM, Activecat active...@gmail.com wrote:

 On Wed, Apr 30, 2014 at 4:17 AM, Martin Braun martin.br...@ettus.comwrote:

 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:

  activecat@rs: ~/download/gnuradio37/gnuradio/gr-uhd $ make
  make: *** No targets specified and no makefile found.  Stop.
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] using uhd_fft with USRP1

2014-05-19 Thread Marcus Müller
You should be inside your build directory when you run make.

On 19.05.2014 15:15, Activecat wrote:
 On Mon, May 19, 2014 at 9:04 PM, Tom Rondeau t...@trondeau.com wrote:

 On Mon, May 19, 2014 at 12:40 AM, Activecat active...@gmail.com wrote:

 On Wed, Apr 30, 2014 at 4:17 AM, Martin Braun martin.br...@ettus.comwrote:

 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:

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



 ___
 Discuss-gnuradio mailing list
 Discuss-gnuradio@gnu.org
 https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] using uhd_fft with USRP1

2014-05-19 Thread Tom Rondeau
On Mon, May 19, 2014 at 9:15 AM, Activecat active...@gmail.com wrote:


 On Mon, May 19, 2014 at 9:04 PM, Tom Rondeau t...@trondeau.com wrote:

 On Mon, May 19, 2014 at 12:40 AM, Activecat active...@gmail.com wrote:

 On Wed, Apr 30, 2014 at 4:17 AM, Martin Braun martin.br...@ettus.comwrote:

 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:

   activecat@rs: ~/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
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] using uhd_fft with USRP1

2014-05-19 Thread Activecat
On Mon, May 19, 2014 at 9:20 PM, Tom Rondeau t...@trondeau.com wrote:

 On Mon, May 19, 2014 at 9:15 AM, Activecat active...@gmail.com wrote:


 On Mon, May 19, 2014 at 9:04 PM, Tom Rondeau t...@trondeau.com wrote:

 On Mon, May 19, 2014 at 12:40 AM, Activecat active...@gmail.com wrote:

 On Wed, Apr 30, 2014 at 4:17 AM, Martin Braun 
 martin.br...@ettus.comwrote:

 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:

   activecat@rs: ~/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.

  activecat@rs: ~/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 ?
  activecat@rs: ~/download/gnuradio37 $ find -name build
  ./uhd/host/build
  ./gnuradio/build
  ./grextras/build
  ./gr-baz/build
  ./gr-iqbal/build
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] using uhd_fft with USRP1

2014-05-19 Thread Activecat
On Mon, May 19, 2014 at 9:39 PM, Tom Rondeau t...@trondeau.com wrote:

 Yes, in this case, you want to look in gnuradio/build/gr-uhd.
 Tom


Thanks. Next time I could try to rebuild this part only.
Earlier I had rebuilt the whole gnuradio already.
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] using uhd_fft with USRP1

2014-05-19 Thread Tom Rondeau
On Mon, May 19, 2014 at 9:28 AM, Activecat active...@gmail.com wrote:

 On Mon, May 19, 2014 at 9:20 PM, Tom Rondeau t...@trondeau.com wrote:

 On Mon, May 19, 2014 at 9:15 AM, Activecat active...@gmail.com wrote:


 On Mon, May 19, 2014 at 9:04 PM, Tom Rondeau t...@trondeau.com wrote:

 On Mon, May 19, 2014 at 12:40 AM, Activecat active...@gmail.comwrote:

 On Wed, Apr 30, 2014 at 4:17 AM, Martin Braun 
 martin.br...@ettus.comwrote:

 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:

   activecat@rs: ~/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.

   activecat@rs: ~/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 ?
   activecat@rs: ~/download/gnuradio37 $ find -name build
   ./uhd/host/build
   ./gnuradio/build
   ./grextras/build
   ./gr-baz/build
   ./gr-iqbal/build


Yes, in this case, you want to look in gnuradio/build/gr-uhd.

Tom
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] using uhd_fft with USRP1

2014-05-18 Thread Activecat
On Wed, Apr 30, 2014 at 4:17 AM, Martin Braun martin.br...@ettus.comwrote:

 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 ..?
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] using uhd_fft with USRP1

2014-04-29 Thread Martin Braun
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

On 04/29/2014 09:58 PM, Don Latham wrote:
 
 Ok, I got the address correct, I know the usrp and daughtercard are there. I
 can't get the simplest uhd_fft to run from GRC.  I get the following message
 on trying to execute, Generating the graph works.
 
 -- Opening a USRP1 device...
 -- Using FPGA clock rate of 64.00MHz...
 Using Volk machine: avx_64_mmx_orc
 thread[thread-per-block[0]: block gr uhd usrp source (1)]: LookupError:
 KeyError: Cannot find an item size:
 
 The error output, as usual, has no meaning for me, entirely arcane.  I'm
 running Ubunu 12.04.4 64 bit and gnuradio installed without a burp. Actually,
 the error message looks like something to do with multithreading. I tried the
 archives, no help.
 
 uhd_usrp_probe says the usrp1 is there and reports the daughterboards that are
 really there.
 so, need an interpreter, please.
 Thanks, Don
 
 


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] using uhd_fft with USRP1

2014-04-29 Thread Andy Walls
It is also fixed on maint for 003.007.001.  

Regards,
Andy

On April 29, 2014 1:17:19 PM MST, Martin Braun martin.br...@ettus.com 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

On 04/29/2014 09:58 PM, Don Latham wrote:
 
 Ok, I got the address correct, I know the usrp and daughtercard are
there. I
 can't get the simplest uhd_fft to run from GRC.  I get the following
message
 on trying to execute, Generating the graph works.
 
 -- Opening a USRP1 device...
 -- Using FPGA clock rate of 64.00MHz...
 Using Volk machine: avx_64_mmx_orc
 thread[thread-per-block[0]: block gr uhd usrp source (1)]:
LookupError:
 KeyError: Cannot find an item size:
 
 The error output, as usual, has no meaning for me, entirely arcane. 
I'm
 running Ubunu 12.04.4 64 bit and gnuradio installed without a burp.
Actually,
 the error message looks like something to do with multithreading. I
tried the
 archives, no help.
 
 uhd_usrp_probe says the usrp1 is there and reports the daughterboards
that are
 really there.
 so, need an interpreter, please.
 Thanks, Don
 
 


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio