|
From: | Daniel Labarowski |
Subject: | Re: [Discuss-gnuradio] Trouble With UHD Tune Request |
Date: | Thu, 19 Jul 2012 17:09:17 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
-- Dan Error from GRC
Executing: "/home/daniel/top_block.py" Traceback (most recent call last): File "/home/daniel/top_block.py", line 15, in <module> import DL_Hitemp_BlocksFile "/usr/local/lib/python2.7/dist-packages/DL_Hitemp_Blocks/__init__.py", line 45, in <module>from DL_Hitemp_Blocks_swig import *File "/usr/local/lib/python2.7/dist-packages/DL_Hitemp_Blocks/DL_Hitemp_Blocks_swig.py", line 26, in <module>_DL_Hitemp_Blocks_swig = swig_import_helper()File "/usr/local/lib/python2.7/dist-packages/DL_Hitemp_Blocks/DL_Hitemp_Blocks_swig.py", line 22, in swig_import_helper _mod = imp.load_module('_DL_Hitemp_Blocks_swig', fp, pathname, description) ImportError: /usr/local/lib/libgnuradio-DL_Hitemp_Blocks.so: undefined symbol: _ZN3uhd14tune_request_tC1Ed
Error after running make my C++ flowgraph
Scanning dependencies of target top_block [100%] Building CXX object CMakeFiles/top_block.dir/top_block.o/home/daniel/gnuradio/gnuradio_projects/Flowgraphs/c++/Interrogator_Routine/top_block.cc: In function ‘int main(int, char**)’: /home/daniel/gnuradio/gnuradio_projects/Flowgraphs/c++/Interrogator_Routine/top_block.cc:114:99: error: expected primary-expression before ‘(’ token /home/daniel/gnuradio/gnuradio_projects/Flowgraphs/c++/Interrogator_Routine/top_block.cc:114:124: error: expected primary-expression before ‘double’ /home/daniel/gnuradio/gnuradio_projects/Flowgraphs/c++/Interrogator_Routine/top_block.cc:117:2: error: expected ‘,’ or ‘;’ before ‘tb’make[2]: *** [CMakeFiles/top_block.dir/top_block.o] Error 1 make[1]: *** [CMakeFiles/top_block.dir/all] Error 2 make: *** [all] Error 2
On 07/19/2012 02:09 PM, Josh Blum wrote:
You will want to include this in your package http://gnuradio.org/cgit/gnuradio.git/tree/cmake/Modules/FindUHD.cmake and call FindPackage(UHD) You want include_directories(${UHD_INCLUDE_DIRS}) Make sure ${UHD_LIBRARIES} is also used in your list of library linking targets You can also see how gr-uhd uses this find script and variables. -josh
[Prev in Thread] | Current Thread | [Next in Thread] |