WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: pkg-config cflags for gnuradio-uhd

Re: pkg-config cflags for gnuradio-uhd

by Alexandru Csete :: Rate this Message:

| View in Thread

On Sat, May 12, 2012 at 7:41 PM, Josh Blum <josh@...> 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?

Alex

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

 « Return to Thread: pkg-config cflags for gnuradio-uhd