I'm new to Linux and am working on a project in GNURadio using bastibl's IEEE 802-11 blocks: https://github.com/bastibl/gr-ieee802-11. I keep getting an overflow using my USRP N210, which is why I could really use your block to remove the IQ DC spike. However, I can't seem to get it correctly installed. First, when I did cmake .., I got the following error:
-- Build type not specified: defaulting to release.
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- filesystem
-- system
CMake Error at CMakeLists.txt:126 (find_package):
By not providing "FindGnuradio.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Gnuradio",
but CMake did not find one.
Could not find a package configuration file provided by "Gnuradio"
(requested version 3.7.2) with any of the following names:
GnuradioConfig.cmake
gnuradio-config.cmake
Add the installation prefix of "Gnuradio" to CMAKE_PREFIX_PATH or set
"Gnuradio_DIR" to a directory containing one of the above files. If
"Gnuradio" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
I figured this was because I installed my GNURadio using pybombs into the /prefix directory, so I thought I could let CMAKE look at that directory by using the command export CMAKE_PREFIX_PATH=/prefix. This worked (gave a few warnings though), but now I get the following error when executing the make command:
/usr/bin/ld: CMakeFiles/test-correctiq.dir/correctiq_impl.cc.o: undefined reference to symbol '_ZN3pmt12dict_has_keyERKN5boost13intrusive_ptrINS_8pmt_baseEEES5_'
/home/danilo/prefix/lib/libgnuradio-pmt-3.7.12git.so.0.0.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
lib/CMakeFiles/test-correctiq.dir/build.make:206: recipe for target 'lib/test-correctiq' failed
make[2]: *** [lib/test-correctiq] Error 1
CMakeFiles/Makefile2:174: recipe for target 'lib/CMakeFiles/test-correctiq.dir/all' failed
make[1]: *** [lib/CMakeFiles/test-correctiq.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Do you have any idea what causes this? I tried some small things, and checked I have boost installed, but can't find out what to do. Any help would be really appreciated, sorry for being a Linux noob!