[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] GNU Radio and usrp_standard.h: No such file or di
Re: [Discuss-gnuradio] GNU Radio and usrp_standard.h: No such file or directory
Wed, 22 Sep 2010 17:16:43 +0200
that is exactly the conclusion I came to after lots of googleing !.
Thanks a lot for the really good help. I am glad that now guys who
adventure in c++ development will have this piece of info.
On Wed, Sep 22, 2010 at 4:42 PM, Tom Rondeau <address@hidden> wrote:
> On Tue, Sep 21, 2010 at 2:26 PM, Thomas Tsou <address@hidden> wrote:
>> On Tue, Sep 21, 2010 at 10:20 AM, Fabrizio Tappero
>> <address@hidden> wrote:
>>> Dear All,
>>> I'd like to add a little piece of information about this problem.
>>> if I try to compile the previously mentioned code with:
>>> g++ usrp_test_c++.cpp -o testusrp `pkg-config --cflags usrp`
>>> `pkg-config --libs usrp`
>>> and I change:
>>> #include "usrp_standard.h"
>>> #include "usrp/usrp_standard.h"
>>> #include <stdio.h>
>>> the code from here:
>>> almost compile...
>> As you discovered, there are a number of problems with the example
>> code. I made some quick changes to the wiki page, which was quite
>> dated. It should now compile with gnuradio 3.3 and recent Linux
> I made some edits to the FAQ page you pointed to
> (http://gnuradio.org/redmine/wiki/1/UsrpFAQCppInterface). I added more
> information about how to set up and use pkg-config for linking to
> libusrp when GNU Radio isn't installed in the standard paths.
> Hope this helps...