discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Problem building gr-display


From: Barry Duggan
Subject: [Discuss-gnuradio] Problem building gr-display
Date: Wed, 24 Jul 2019 10:04:47 -0400
User-agent: Roundcube Webmail/1.3.8

Now that I have GR 3.8 built and running, I tried to build gr-display.

from the README instructions:
"""
get the latest code from https://github.com/dl1ksv/gr-display

The build process is cmake based. So change to the code directory.
There
$mkdir build
$cd build
$cmake -DCMAKE_INSTALL_PREFIX=<where gnuradio is installed> ../
"""

When I did the cmake, I got:
"""
pi@raspberrypi:~/gr-display/build $ cmake -DCMAKE_INSTALL_PREFIX="/usr/local" -DCMAKE_BUILD_TYPE=Release ../
-- Modules found in /usr/local/lib/cmake/gnuradio
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Checking for module 'gmp'
--   No package 'gmp' found
-- Checking for module 'mpir >= 3.0'
--   No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
-- User set python executable /usr/bin/python3
CMake Error at CMakeLists.txt:102 (message):
  GnuRadio Runtime required to compile display


-- Configuring incomplete, errors occurred!
See also "/home/pi/gr-display/build/CMakeFiles/CMakeOutput.log".
""

from CMakeLists.txt:
"""
########################################################################
# Make sure to find the appropriate gnuradio installition if more than
# one installation of gnuradio exists
########################################################################
find_package(Gnuradio "3.8" REQUIRED PATHS ${CMAKE_INSTALL_PREFIX} ${GNURADIO_MODULE_DIRECTORY})

if(NOT GNURADIO_RUNTIME_FOUND)
    message(FATAL_ERROR "GnuRadio Runtime required to compile display")
endif()
"""

I have tried:
cmake -DCMAKE_INSTALL_PREFIX="/usr/local" -DCMAKE_BUILD_TYPE=Release -DGNURADIO_MODULE_DIRECTORY="/usr/local" ../ cmake -DCMAKE_INSTALL_PREFIX="/usr/local" -DCMAKE_BUILD_TYPE=Release -DGNURADIO_MODULE_DIRECTORY="/usr/local/bin" ../ cmake -DCMAKE_INSTALL_PREFIX="/usr/local" -DCMAKE_BUILD_TYPE=Release -DGNURADIO_MODULE_DIRECTORY="/usr/local/lib" ../ cmake -DCMAKE_INSTALL_PREFIX="/usr/local" -DCMAKE_BUILD_TYPE=Release -DGNURADIO_MODULE_DIRECTORY="/usr/local/lib/cmake/gnuradio" ../ cmake -DCMAKE_INSTALL_PREFIX="/usr/local" -DCMAKE_BUILD_TYPE=Release -DGNURADIO_MODULE_DIRECTORY="/usr/local/include/gnuradio" ../
but none of them worked.

What do I need for GNURADIO_MODULE_DIRECTORY?

As always, your help is appreciated greatly.

--
Barry Duggan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]