Wednesday, January 13, 2021

3.9 Setup for OOT development

I am planning to update an OOT module I wrote 4 years ago. I setup a laptop with a fresh install of Ubuntu 20.04 to use for development. I installed GNU Radio 3.8, but then I decided to go with 3.9, so I removed 3.8, and installed 3.9 from the PPA. Then I ran
modtool newmod streamx ...
cd streamx
modtool add ...
modtool  bind ...

and then tried
mkdir build
cd build
cmake ../

I didn't have cmake, so I installed that, and then doxygen, and then some others. Still getting errors so I installed ALL the dependencies for building GNU Radio as described here https://wiki.gnuradio.org/index.php/UbuntuInstall#Focal_Fossa_.2820.04.29

I'm still getting the following errors from cmake
<...>
-- Checking for module 'mpir >= 3.0'
--   No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
<...>
-- Python checking for pygccxml - not found
<...>
CMake Error in lib/CMakeLists.txt:
  Imported target "gnuradio::gnuradio-runtime" includes non-existent path
    "/include"
  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

So, do I need mpir and pygccxml? If yes, where to find them and how to install?

How do I investigate the missing /include? I can see the include directory in my new streamx module, it's exactly where modtool put it.


Thanks,
Gavin







No comments:

Post a Comment