gr-lora_sdr icon indicating copy to clipboard operation
gr-lora_sdr copied to clipboard

Error `include could not find requested file:`

Open Kampi opened this issue 1 year ago • 1 comments

I tried to install this module on my Raspberry Pi 4 with GNURadio 3.10 installed and got this error.

daniel@devpi:~ $  git clone https://github.com/tapparelj/gr-lora_sdr.git
Klone nach 'gr-lora_sdr'...
remote: Enumerating objects: 2061, done.
remote: Counting objects: 100% (1483/1483), done.
remote: Compressing objects: 100% (422/422), done.
remote: Total 2061 (delta 1087), reused 1310 (delta 985), pack-reused 578
Empfange Objekte: 100% (2061/2061), 1.04 MiB | 4.40 MiB/s, fertig.
L▒se Unterschiede auf: 100% (1404/1404), fertig.
daniel@devpi:~ $  git clone https://github.com/tapparelj/gr-lora_sdr.gitcd gr-lora_sdr/^C
daniel@devpi:~ $ cd gr-lora_sdr/
daniel@devpi:~/gr-lora_sdr $ mkdir build
daniel@devpi:~/gr-lora_sdr $ cd build/
daniel@devpi:~/gr-lora_sdr/build $  cmake ../
-- The CXX compiler identification is GNU 12.2.0
-- The C compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Checking for module 'gmp'
--   Found gmp, version 6.2.1
-- Found GMP: /usr/lib/aarch64-linux-gnu/libgmpxx.so
-- Using GMP.
-- Found MPLIB: /usr/lib/aarch64-linux-gnu/libgmpxx.so
-- Found Boost: /usr/lib/aarch64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.74.0") found components: date_time program_options system regex thread unit_test_framework
-- Found Volk: Volk::volk
CMake Error at /usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake:40 (include):
  include could not find requested file:

    /usr/local/lib/cmake/gnuradio/gnuradio-pmtConfig.cmake
Call Stack (most recent call first):
  CMakeLists.txt:43 (find_package)


CMake Error at /usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake:41 (include):
  include could not find requested file:

    /usr/local/lib/cmake/gnuradio/gnuradio-runtimeConfig.cmake
Call Stack (most recent call first):
  CMakeLists.txt:43 (find_package)


-- Performing Test HAVE_VISIBILITY_HIDDEN
-- Performing Test HAVE_VISIBILITY_HIDDEN - Success
-- Performing Test HAVE_WARN_SIGN_COMPARE
-- Performing Test HAVE_WARN_SIGN_COMPARE - Success
-- Performing Test HAVE_WARN_ALL
-- Performing Test HAVE_WARN_ALL - Success
-- Performing Test HAVE_WARN_NO_UNINITIALIZED
-- Performing Test HAVE_WARN_NO_UNINITIALIZED - Success
-- Found Git: /usr/bin/git
-- Extracting version information from git describe...
Schwerwiegend: Keine Namen gefunden, kann nichts beschreiben.
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.4") found components: doxygen dot
-- Using install prefix: /usr/local
-- Building for version: gc2a2bd6 / 1.0.0git
-- No C++ unit tests... skipping
-- PYTHON_EXECUTABLE not set - using default python3
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.11.2", minimum required is "3.7.2")
-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.11.so (found suitable exact version "3.11.2")
-- PYTHON and GRC components are disabled
-- Configuring incomplete, errors occurred!
See also "/home/daniel/gr-lora_sdr/build/CMakeFiles/CMakeOutput.log".

How can I fix it?

Kampi avatar Feb 20 '24 08:02 Kampi

Hello @Kampi, it looks like cmake can not find the module gnuradio-pmt. How did you install gnuradio? build from source, apt, conda, others?

tapparelj avatar Mar 04 '24 14:03 tapparelj