discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Creating a USRP2 C++ Object


From: Mike Leferman
Subject: Re: [Discuss-gnuradio] Creating a USRP2 C++ Object
Date: Thu, 5 Mar 2009 14:52:36 -0500

I ran those commands and those are the outputs I got.

On Thu, Mar 5, 2009 at 1:09 PM, Eric Blossom <address@hidden> wrote:
On Thu, Mar 05, 2009 at 12:47:24PM -0500, Mike Leferman wrote:
> I'm using Ubuntu 8.10, and /usr/local/lib is in my ld.so.conf.  Does
> ldconfig just update ld.so.conf? My program finds libusrp2 in the
> /usr/local/lib folder, so it should be able to find libgruel (which I'm
> guessing is the problem?)  Do I have to have my program link libgruel as
> well?  Is this failing because I don't use usrp2.lo when i link the library?
>  Thanks for the help!
> - Mike

Try using pkg-config to get the usrp2 dependencies:

 $ pkg-config usrp2 --cflags
 -DOMNITHREAD_POSIX=1 -pthread -I/usr/local/include -I/usr/local/include/gnuradio

 $ pkg-config usrp2 --libs
 -L/usr/local/lib -lusrp2 -lgromnithread -lgruel

Eric


reply via email to

[Prev in Thread] Current Thread [Next in Thread]