Menu

CMake Error: "GNURadio required to compile openLTE" (pybombs issue?)

ben
2015-02-24
2016-02-20
  • ben

    ben - 2015-02-24

    Hi all,
    I finally got a computer and SDR capable of meeting OpenLTE's requirements. Sorry for such a newb question, but when i run the installation, i can't get it to compile past this issue:

    CMake Error at CMakeLists.txt:99 (message):
    GNURadio required to compile openLTE

    -- Configuring incomplete, errors occurred!
    See also "/home/cnlsdr1/openlte_v00-18-03/build/CMakeFiles/CMakeOutput.log".
    cnlsdr1@cnlsdr1:~/openlte_v00-18-03/build$ sudo cmake -verbose ../
    -- Build type not specified: defaulting to release.
    -- Boost version: 1.54.0
    -- Found the following Boost libraries:
    -- system
    CMake Warning at CMakeLists.txt:92 (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.0) 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.

    -- checking for module 'gnuradio-osmosdr'
    -- package 'gnuradio-osmosdr' not found
    -- Could NOT find GNURADIO_OSMOSDR (missing: GNURADIO_OSMOSDR_LIBRARIES GNURADIO_OSMOSDR_INCLUDE_DIRS)
    -- checking for module 'uhd'
    -- package 'uhd' not found
    -- UHD LIBRARIES UHD_LIBRARIES-NOTFOUND
    -- UHD INCLUDE DIRS UHD_INCLUDE_DIRS-NOTFOUND
    -- Could NOT find UHD (missing: UHD_LIBRARIES UHD_INCLUDE_DIRS)
    -- checking for module 'polarssl'
    -- package 'polarssl' not found
    -- POLARSSL LIBRARIES /usr/lib/libpolarssl.so
    -- POLARSSL INCLUDE DIRS /usr/include
    CMake Error at CMakeLists.txt:99 (message):
    GNURadio required to compile openLTE

    -- Configuring incomplete, errors occurred!

    I used PYBOMBS when installing GNURADIO and i'm almost sure that's why it's not finding it. The thing of it is, i'm just not familiar enough with the file system to be able to re-link the GnuadioConfig.cmake file which is located in the pybombs folder in my home directory.
    Any help with this would be greatly appreciated, seems like i just have to edit a couple of lines and i'm good to go.

    Thanks,
    -ben

     
    • Balwinder S Dheeman

      Hey! though I couldn't find time to build/compile OpenLTE as yet, but I'm sure you forget to follow instructions; see: https://sourceforge.net/p/openlte/wiki/Installing%20OpenLTE/

      I mean, you need to build and install GNU Radio, before you start build/compile your OpenLTE ;-)

       
      • ben

        ben - 2015-02-25

        thanks, its already built and working, but its built using pybombs which (i'm finding) requires some massaging to get it to integrate into your environment (have to manually place .rules files in init.d, etc, etc.)

         
  • ben

    ben - 2015-02-24

    so, i got past the initial issue of finding gnuradio by copying my cmake files from the gnuradio pybombs directory into the cmake directory. issue now is:

    GNURADIO_FILTER_FOUND = TRUE
    Checking for GNU Radio Module: PMT
    -- checking for module 'gnuradio-pmt'
    -- package 'gnuradio-pmt' not found

    • INCLUDES=GNURADIO_PMT_INCLUDE_DIRS-NOTFOUND
    • LIBS=GNURADIO_PMT_LIBRARIES-NOTFOUND
      -- Could NOT find GNURADIO_PMT (missing: GNURADIO_PMT_LIBRARIES GNURADIO_PMT_INCLUDE_DIRS)
      GNURADIO_PMT_FOUND = FALSE
      CMake Error at /usr/share/cmake-2.8/Modules/FindGnuradio.cmake:97 (message):
      Required GNU Radio Component: PMT missing!
      Call Stack (most recent call first):
      /usr/share/cmake-2.8/Modules/FindGnuradio.cmake:123 (GR_MODULE)
      CMakeLists.txt:92 (find_package)

    -- Configuring incomplete, errors occurred!

    i'm aware that this is more of an issue for the gnuradio board, but if there's a quick bit of insight here, i'd appreciate it.

     
  • Balwinder S Dheeman

    I think, your GNU Radio build is installing is *.cmake files in a wrong path.

    Try moving them to /usr/lib/cmake or /usr/lib/cmake/GNURadio or something like that. Hope that helps.

     
  • ben

    ben - 2015-02-26

    first off, easy answer is, there's an openlte recipe for pybombs which makes it ridiculously easy to compile the code.

    I still want to figure out the cmake issues, but in the interest of keeping issues on this forum relevant to the project at hand (openlte), i'm working on this with the folks at the gnuradio-discuss forum.

     

    Last edit: ben 2015-02-26
  • Andrea_G1977

    Andrea_G1977 - 2016-02-20

    Hello all,
    I tried to compile OpenLTE but in case Gnuradio is compiled and installed through pybombs into Home/target, to avoid the following error:
    ...
    checking for module 'gnuradio-osmosdr'
    -- found gnuradio-osmosdr, version v0.1.4-67-gac15e789
    -- Could NOT find GNURADIO_OSMOSDR (missing: GNURADIO_OSMOSDR_INCLUDE_DIRS)
    ...
    CMake Error at CMakeLists.txt:103 (message):
    GNURadio Osmosdr required to compile openLTE
    (http://sdr.osmocom.org/trac/wiki/GrOsmoSDR)
    ....
    -- Configuring incomplete, errors occurred!
    See also "/home/and/openlte_v00-19-02/build/CMakeFiles/CMakeOutput.log".

    I copied all libraries and configuration files into usr/local and building worked!

     

    Last edit: Andrea_G1977 2016-02-20

Log in to post a comment.

MongoDB Logo MongoDB