On Tue, Sep 21, 2010 at 2:26 PM, Thomas Tsou <tt...@vt.edu> wrote:
> On Tue, Sep 21, 2010 at 10:20 AM, Fabrizio Tappero
> <fabrizio.tapp...@gmail.com> 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


Fabrizio,

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...

Tom

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to