On Tue, Sep 21, 2010 at 10:20 AM, Fabrizio Tappero <[email protected]> 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 _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
