Tom, 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.
Regards, Fabrizio On Wed, Sep 22, 2010 at 4:42 PM, Tom Rondeau <[email protected]> wrote: > On Tue, Sep 21, 2010 at 2:26 PM, Thomas Tsou <[email protected]> wrote: >> 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 > > > 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 [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
