[Top][All Lists]

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

Re: [Discuss-gnuradio] pkg-config cflags for gnuradio-uhd

From: Alexandru Csete
Subject: Re: [Discuss-gnuradio] pkg-config cflags for gnuradio-uhd
Date: Sat, 12 May 2012 20:10:48 +0200

On Sat, May 12, 2012 at 7:41 PM, Josh Blum <address@hidden> wrote:
> On 05/12/2012 04:42 AM, Alexandru Csete wrote:
>> Greetings,
>> Lets say I am trying to compile a C++ application that uses gnuradio-core
>> and gnuradio-uhd. I have gnuradio installed in /opt/gnuradio/some-version
>> and uhd installed in /opt/uhd/some-version - both of these paths are within
>> pkg-config reach. The problem is if I do:
>> pkg-config --cflags gnuradio-core gnuradio-uhd
> Just add uhd to the list of pkg config dependencies.
> Does it work?

Yes, that works for the pkg-config part, but not when compiling
gr-osmosdr using cmake. I guess we can also include uhd as dependency
in the gr-osmosdr cmake files, but I'm curious if that is the right
way to do it?


reply via email to

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