Send USRP-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of USRP-users digest..."


Today's Topics:

   1. Is it possible to build a uhd lib for using in qt?
      (Patrick Berger)
   2. Re: Is it possible to build a uhd lib for using in qt?
      (Marcus M?ller)
   3. how to reinstall the gnuradio in e310 (Ekko)
   4. Re: how to reinstall the gnuradio in e310 (Marcus M?ller)
   5. Re: how to reinstall the gnuradio in e310 (Marcus M?ller)


----------------------------------------------------------------------

Message: 1
Date: Sat, 4 Jun 2016 18:23:08 +0200
From: Patrick Berger <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [USRP-users] Is it possible to build a uhd lib for using in
        qt?
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi every body

I've read about creating static librarys from uhd, but this are libuhd.so file. 
In addition I found out, that at the build-time a flag could be set for dynamic 
librarys. But when I add the .a lib to any qt programm, I get a couple of 
errors. The include-paths are all set to the uhd and boost directory (so the 
only problem are unresolved references to the functions).

In the mailing list archive I found the succestion for placing the custom file 
in the example directory and modify the CMakeList to build it with all other 
files. But my intention is to create a simple GUI to control the radio and plot 
some information, and not a terminal app.

Or is there a better way to create custom GUI applications with uhd (using also 
custom fpga image)? 

Best regards,
Patrick
                                          
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20160604/203a4250/attachment-0001.html>

------------------------------

Message: 2
Date: Sat, 4 Jun 2016 18:29:08 +0200
From: Marcus M?ller <[email protected]>
To: [email protected]
Subject: Re: [USRP-users] Is it possible to build a uhd lib for using
        in qt?
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"

Hi Patrick,

yes, you can link Qt applications against UHD. For example, GNU Radio
has the gr-qtgui module, and you can do wonderful things containing both
USRP connectivity through UHD and Qt GUIs.

So, probably the exact error messages would be helpful here. I don't
know what your development platform is, but with GCC, you usually don't
add an .a to a program, but point the linker to the right directory
containing the libuhd.a (-L /path/to/) and tell it to link against that
(-luhd). If you're writing your own Makefiles, or need to add
compiler/linker options somewhere and are running linux or any other
system that uses pkg-config:

pkg-config --libs uhd

will give you the right flags.

The CMakeInfo still applies ? the way linking works is totally
indifferent of whether your program has buttons or not ;)

Best regards,
Marcus

On 04.06.2016 18:23, Patrick Berger via USRP-users wrote:
> Hi every body
>
> I've read about creating static librarys from uhd, but this are
> libuhd.so file. In addition I found out, that at the build-time a flag
> could be set for dynamic librarys. But when I add the .a lib to any qt
> programm, I get a couple of errors. The include-paths are all set to
> the uhd and boost directory (so the only problem are unresolved
> references to the functions).
>
> In the mailing list archive I found the succestion for placing the
> custom file in the example directory and modify the CMakeList to build
> it with all other files. But my intention is to create a simple GUI to
> control the radio and plot some information, and not a terminal app.
>
> Or is there a better way to create custom GUI applications with uhd
> (using also custom fpga image)?
>
> Best regards,
> Patrick
>
>
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20160604/3baa34da/attachment-0001.html>

------------------------------

Message: 3
Date: Sun, 5 Jun 2016 20:51:33 +0800
From: Ekko <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [USRP-users] how to reinstall the gnuradio in e310
Message-ID:
        <caggob6zfzcugw-8kjwo-z_vhz1rm2zstsvgkp-t14llkbsy...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

hello all
i download the image of e310,and i write it to the card and boot the E310
sucessfully
now, i wnt to uninstall the gnuradio pre-installed ,and install another
version of gnuradio
but i got the error

 Linking CXX shared library libtest-gnuradio-core.so
[ 47%] Built target test-gnuradio-core
Scanning dependencies of target benchmark_dotprod_ccc
[ 48%] Building CXX object
gnuradio-core/src/tests/CMakeFiles/benchmark_dotprod_ccc.dir/benchmark_dotprod_ccc.cc.o
Linking CXX executable benchmark_dotprod_ccc
../lib/libtest-gnuradio-core.so: undefined reference to
`gr_reverse(std::vector<float, std::allocator<float> > const&)'
collect2: error: ld returned 1 exit status
gnuradio-core/src/tests/CMakeFiles/benchmark_dotprod_ccc.dir/build.make:94:
recipe for target 'gnuradio-core/src/tests/benchmark_dotprod_ccc'
failed
make[2]: *** [gnuradio-core/src/tests/benchmark_dotprod_ccc] Error 1
CMakeFiles/Makefile2:895: recipe for target
'gnuradio-core/src/tests/CMakeFiles/benchmark_dotprod_ccc.dir/all'
failed
make[1]: *** [gnuradio-core/src/tests/CMakeFiles/benchmark_dotprod_ccc.dir/all]
Error 2
Makefile:143: recipe for target 'all' failed
make: *** [all] Error 2


so i want to know how to reinstall the gnuradio of e310 or can i get a
image without gnuradio(just the operating system)

thank you

--Ekko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20160605/b0921608/attachment-0001.html>

------------------------------

Message: 4
Date: Sun, 5 Jun 2016 16:11:52 +0200
From: Marcus M?ller <[email protected]>
To: [email protected], Philip Balister <[email protected]>
Subject: Re: [USRP-users] how to reinstall the gnuradio in e310
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"

Hi Ekko,

the E310 is an embedded system, and you usually don't uninstall things
that are on the device, or build larger things to run on the device on
the device itself.

So the way we generate the E310 images is using
OpenEmbedded/Yocto/Bitbake, as explained on the manual page, to compile
all the software on a PC, and then put all that into a filesystem image.

So for the reduced image, you could just comment out the GNU Radio
layers in the meta-sdr recipe used in the build system; maybe Philip
Balister has even made such a recipe ready to run? He's our OpenEmbedded
guru and in charge of producing these images.

Regarding re-installation of GNU Radio: Why do you need that? The GNU
Radio Recipe(s) should be pretty recent. Again, feel free to modify the
recipes/layers to accomodate changes.

Best regards,
Marcus

On 05.06.2016 14:51, Ekko via USRP-users wrote:
> hello all
> i download the image of e310,and i write it to the card and boot the
> E310 sucessfully
> now, i wnt to uninstall the gnuradio pre-installed ,and install
> another version of gnuradio
> but i got the error
>
>  Linking CXX shared library libtest-gnuradio-core.so
> [ 47%] Built target test-gnuradio-core
> Scanning dependencies of target benchmark_dotprod_ccc
> [ 48%] Building CXX object 
> gnuradio-core/src/tests/CMakeFiles/benchmark_dotprod_ccc.dir/benchmark_dotprod_ccc.cc.o
> Linking CXX executable benchmark_dotprod_ccc
> ../lib/libtest-gnuradio-core.so: undefined reference to 
> `gr_reverse(std::vector<float, std::allocator<float> > const&)'
> collect2: error: ld returned 1 exit status
> gnuradio-core/src/tests/CMakeFiles/benchmark_dotprod_ccc.dir/build.make:94: 
> recipe for target 'gnuradio-core/src/tests/benchmark_dotprod_ccc' failed
> make[2]: *** [gnuradio-core/src/tests/benchmark_dotprod_ccc] Error 1
> CMakeFiles/Makefile2:895: recipe for target 
> 'gnuradio-core/src/tests/CMakeFiles/benchmark_dotprod_ccc.dir/all' failed
> make[1]: *** 
> [gnuradio-core/src/tests/CMakeFiles/benchmark_dotprod_ccc.dir/all] Error 2
> Makefile:143: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
> so i want to know how to reinstall the gnuradio of e310 or can i get a
> image without gnuradio(just the operating system) 
>
> thank you
>
> --Ekko
>
>
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20160605/cdd90365/attachment-0001.html>

------------------------------

Message: 5
Date: Sun, 5 Jun 2016 17:16:11 +0200
From: Marcus M?ller <[email protected]>
To: [email protected], Philip Balister <[email protected]>
Subject: Re: [USRP-users] how to reinstall the gnuradio in e310
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"

Hi Ekko,

Philip informed me of this post:
http://www.opensdr.com/posts/building-small-gnuradio-images/

Maybe that helps.

Best regards,
Marcus

On 05.06.2016 16:11, Marcus M?ller wrote:
> Hi Ekko,
>
> the E310 is an embedded system, and you usually don't uninstall things
> that are on the device, or build larger things to run on the device on
> the device itself.
>
> So the way we generate the E310 images is using
> OpenEmbedded/Yocto/Bitbake, as explained on the manual page, to
> compile all the software on a PC, and then put all that into a
> filesystem image.
>
> So for the reduced image, you could just comment out the GNU Radio
> layers in the meta-sdr recipe used in the build system; maybe Philip
> Balister has even made such a recipe ready to run? He's our
> OpenEmbedded guru and in charge of producing these images.
>
> Regarding re-installation of GNU Radio: Why do you need that? The GNU
> Radio Recipe(s) should be pretty recent. Again, feel free to modify
> the recipes/layers to accomodate changes.
>
> Best regards,
> Marcus
>
> On 05.06.2016 14:51, Ekko via USRP-users wrote:
>> hello all
>> i download the image of e310,and i write it to the card and boot the
>> E310 sucessfully
>> now, i wnt to uninstall the gnuradio pre-installed ,and install
>> another version of gnuradio
>> but i got the error
>>
>>  Linking CXX shared library libtest-gnuradio-core.so
>> [ 47%] Built target test-gnuradio-core
>> Scanning dependencies of target benchmark_dotprod_ccc
>> [ 48%] Building CXX object 
>> gnuradio-core/src/tests/CMakeFiles/benchmark_dotprod_ccc.dir/benchmark_dotprod_ccc.cc.o
>> Linking CXX executable benchmark_dotprod_ccc
>> ../lib/libtest-gnuradio-core.so: undefined reference to 
>> `gr_reverse(std::vector<float, std::allocator<float> > const&)'
>> collect2: error: ld returned 1 exit status
>> gnuradio-core/src/tests/CMakeFiles/benchmark_dotprod_ccc.dir/build.make:94: 
>> recipe for target 'gnuradio-core/src/tests/benchmark_dotprod_ccc' failed
>> make[2]: *** [gnuradio-core/src/tests/benchmark_dotprod_ccc] Error 1
>> CMakeFiles/Makefile2:895: recipe for target 
>> 'gnuradio-core/src/tests/CMakeFiles/benchmark_dotprod_ccc.dir/all' failed
>> make[1]: *** 
>> [gnuradio-core/src/tests/CMakeFiles/benchmark_dotprod_ccc.dir/all] Error 2
>> Makefile:143: recipe for target 'all' failed
>> make: *** [all] Error 2
>>
>>
>> so i want to know how to reinstall the gnuradio of e310 or can i get
>> a image without gnuradio(just the operating system) 
>>
>> thank you
>>
>> --Ekko
>>
>>
>> _______________________________________________
>> USRP-users mailing list
>> [email protected]
>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20160605/b8b0e386/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


------------------------------

End of USRP-users Digest, Vol 70, Issue 5
*****************************************

Reply via email to