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
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment