[Top][All Lists]

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

Re: [Discuss-gnuradio] installing gr-ettus

From: Martin Braun
Subject: Re: [Discuss-gnuradio] installing gr-ettus
Date: Fri, 13 Mar 2015 14:16:31 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

And you must have rfnoc-devel branch of UHD installed. This is not on the default image.


On 13.03.2015 14:14, Martin Braun wrote:
I didn't realize you were doing on this on the device. If you have all
the PATHs set up correctly, you should be good, but it looks like you're
using the default UHD. Have a look at your CMake cache (in gr-ettus) and
see where the UHD_* vars point to. They're 'advanced' vars, in case you
can't see them immediately.


On 13.03.2015 12:08, Ben Lapointe wrote:
I am not using the SDK.  The steps I have taken so far:
Created a new SD card from the dizzy dev image found at [1].
Followed the steps at [2] to clone the RFNoC git repository, switch to
rfnoc-devel branch, build it, install it to /opt/uhd
My next challenge was to install the gr-ettus OOT module to be able to
use the RFNoC blocks in GRC.
The dizzy image already had a previous install of UHD and GNU RADIO.
For RFNoC I installed a new UHD with the RFNoC branch.  I was hoping to
add gr-ettus to the existing GNU RADIO install, to simplify things.
I am doing all of this on the E310.  Is this the right way to do it?  I
assumed that I didn't need the SDK because I already had an SD image
[1] http://files.ettus.com/e3xx_images/beta/dizzy-test/
[2] https://github.com/EttusResearch/uhd/wiki/RFNoC:-Getting-Started

On Fri, Mar 13, 2015 at 2:12 PM, Martin Braun <address@hidden
<mailto:address@hidden>> wrote:


    you *must* use the right branch of UHD (which I know you've been
    using). For cross-compiling, you need to make sure that *all* the
    CMake vars starting with UHD_ are correctly set.

    Are you using our SDK? If yes, it's probably pointing to the SDK's
    default UHD.


    On 13.03.2015 10:55, Ben Lapointe wrote:

        I'm trying to install gr-ettus on an E310.
        I previously installed a new version of UHD (to support RFNoC)
        in the
        directory /opt/uhd
        I would like to install gr-ettus into the existing version of
        that is installed.

        Inside the build directory of gr-ettus, when I type "cmake ../"
        I get
        the following message and error:
        -- Found UHD: /usr/lib/libuhd.so
        CMake Error at CMakeLists.txt:108 (message):
        RFNoC not found.

        When I had installed UHD, I followed the steps in [1], and
made sure
        that the new libuhd.so was in my LD_LIBRARY_PATH and I added
the new
        path to /etc/ld.so.conf; however, when I ran ldconfig I got the
        following error:
        ldconfig: /usr/lib/libstdc++.so.6.0.20-__gdb.py
        <http://so.6.0.20-gdb.py> <http://so.6.0.20-gdb.py>
        is not an ELF file - it has the wrong magic bytes at the start.
        I had ignored that error, partly because I didn't understand
it, and
        partly because I had already updated the LD_LIBRARY_PATH
        variable.  Was
        it a mistake to ignore it?

        I welcome any advice on installing gnuradio out-of-tree modules
        (such as
        gr-ettus mentioned in [2]), and advice on managing different
        versions of
        UHD on the same system.  I can't seem to get the gr-ettus
        to look at the new version of UHD.  Note: I am using the E310
        build [3].


        [1] http://files.ettus.com/manual/__page_build_guide.html


        [3] http://files.ettus.com/e3xx___images/beta/dizzy-test/

        Discuss-gnuradio mailing list
        address@hidden <mailto:address@hidden>

    Discuss-gnuradio mailing list
    address@hidden <mailto:address@hidden>

reply via email to

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