|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Compilation Error of the sample code "tags_demo.cc" |
Date: | Fri, 5 Feb 2016 10:39:45 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
Hi Zhihong, please stop posting screenshots of text. It's text, you can mark it, copy it, and paste it to an email as text. It's way easier for everyone to deal with that. Now, you've used target_link_libraries(tags gnuradio-uhd boost_system) which links the target "tags" against the libraries "gnuradio-uhd" and "boost_system". Now, the error you're getting is that the linker can't find things related to top_block. Point is that top_block belongs to the GNU Radio run-time. Hence, the error should be pointing you in the right direction: what you actually need to do is target_link_libraries(tags gnuradio-runtime gnuradio-uhd boost_system) Best regards, Marcus On 05.02.2016 06:39, Zhihong Luo wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |