[Top][All Lists]
[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
From: |
Thomas Tsou |
Subject: |
Re: [Discuss-gnuradio] GNU Radio and usrp_standard.h: No such file or directory |
Date: |
Tue, 21 Sep 2010 14:26:32 -0400 |
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"
> in:
> #include "usrp/usrp_standard.h"
> #include <stdio.h>
>
> the code from here:
> http://gnuradio.org/redmine/wiki/1/UsrpFAQCppInterface
>
> 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
distributions.
Thomas