[Top][All Lists]

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

Re: gr-osmosdr link error with target_link_libraries

From: Ron Economos
Subject: Re: gr-osmosdr link error with target_link_libraries
Date: Tue, 15 Sep 2020 03:34:58 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

I've been able to reproduce this. It happens with any OOT that links to gnuradio-blocks.

I've added the patch to this pull request.


BTW, that pull request makes libsndfile1-dev a soft dependency. If it's not available, the wavfile sink and source blocks are not included in GNU Radio instead of the build failing.


On 9/14/20 15:29, Chris Gorman wrote:
Hello All,

Just a quick patch for gr-blocks/lib/CMakeLists.txt.  I find without
this patch the command passes sndfile::sndfile to the linker, which
causes a gr-osmosdr build to fail.  I am using a LFS-10.0 install and
have libsndfile installed.  I'm not sure this patch is necessary, but
it fixes the error on my system.

Please let me know if this should be fixed elsewhere, or if it causes
any breakages.


reply via email to

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