Forums › BB Series Discussions › Cannot Get gr-bb60c files to install – problems with cmake
- This topic has 2 replies, 2 voices, and was last updated 5 years, 2 months ago by Gary.
- AuthorPosts
GaryParticipant- This topic was modified 5 years, 2 months ago by Gary.
I’ve been trying to install the Gnu Radio BB60C block, but have totally failed.
I’m running Linux Mint 19.1 with Gnu Radio already installed from the Software Manager. No issues there. Gnu Radio runs fine and I can control RTL-SDRs, USRPs, and HackRF Ones.
I also have the BB60C SDK installed. I’m able to run the example programs “device_info” and “simple_sweep” with no issues.
When I go to install the BB60C block using the software from Github, I change to the “build” directory, run the “cmake ..” command, and get the following errors:— Build type not specified: defaulting to release.
— Boost version: 1.65.1
— Found the following Boost libraries:
— filesystem
— system
CMake Error at CMakeLists.txt:114 (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.cmakeAdd 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 have absolutely no idea how to fix this. Any suggestions?
Thanks!
AndrewModeratorGary,
It looks like cmake isn’t able to find the necessary files it needs for our OOT modules.
What have you tried so far? Have you searched this issue and tried any of the troubleshooting steps found online?
Here are some hits that look relevant.
https://github.com/daniestevez/gr-satellites/issues/15
and
https://lists.gnu.org/archive/html/discuss-gnuradio/2016-01/msg00174.html
and
https://github.com/daniestevez/gr-satellites/issues/37Regards,
Andrew
GaryParticipant- This reply was modified 5 years, 2 months ago by Gary.
UPDATE: SUCCESS! Turned out I needed to load “swig” (available in Software Manager). Once I did that, then went through the process from “cmake ..” on down, I opened GRC, ran the flowgraph, and it worked!
Once I summarize my notes (they’re, uh, kinda messy), I’ll post another thread explaining how I did it.
Thanks, again!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Long story short: I had tried to install Gnu Radio from source and with Pybombs, both of which gave me more errors than did the BB60C “cmake..” command. I followed your links and the answer was to install “gnuradio-dev”.
However, even with that, I kept getting:/sbin/ldconfig.real: /usr/local/lib/libftd2xx.so is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libbb_api.so.4 is not a symbolic link
after the “sudo ldconfig” command.
I thought it might still work, so I opened Gnu Radio Companion and added the “BB60C: IQ Source”. However, when I attempted to run the simple flowgraph (it was simply attached to a frequency sink to look at the spectrum), I got the following errors in GRC:
Generating: '/home/gary/gnuradio/bb60SpectrumAnalyzer.py' >>> Warning: This flow graph may not have flow control: no audio or RF hardware blocks found. Add a Misc->Throttle block to your flow graph to avoid CPU congestion. Executing: /usr/bin/python -u /home/gary/gnuradio/bb60SpectrumAnalyzer.py Warning: failed to XInitThreads() qt5ct: using qt5ct plugin Traceback (most recent call last): File "/home/gary/gnuradio/bb60SpectrumAnalyzer.py", line 156, in <module> main() File "/home/gary/gnuradio/bb60SpectrumAnalyzer.py", line 144, in main tb = top_block_cls() File "/home/gary/gnuradio/bb60SpectrumAnalyzer.py", line 116, in __init__ self.bb60c_source_0 = bb60c.source(1e9, -20, -1, -1, 2, samp_rate, False, False, 0, 0) AttributeError: 'module' object has no attribute 'source' inotify_add_watch("/home/gary/.config/qt5ct") failed: "No such file or directory"
I don’t know if those two issues are related.
Thank you for the help. I think I’m pretty close to making this work. Once I do, I’ll do a short write-up explaining to others how I got it to work in Mint 19.1.
- AuthorPosts
You must be logged in to reply to this topic.