pi@raspberrypi:~/sparsdr/gr-sparsdr/build $ cmake ..
-- The CXX compiler identification is GNU 8.3.0
-- The C compiler identification is GNU 8.3.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
-- Build type not specified: defaulting to release.
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Found LOG4CPP: /usr/lib/arm-linux-gnueabihf/liblog4cpp.so
CMake Warning (dev) at /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
The package name passed to find_package_handle_standard_args (PkgConfig)
does not match the name of the calling package (GMP). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPkgConfig.cmake:59 (find_package_handle_standard_args)
/usr/local/lib/cmake/gnuradio/FindGMP.cmake:1 (include)
/usr/local/lib/cmake/gnuradio/FindMPLIB.cmake:1 (find_package)
/usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake:26 (find_dependency)
CMakeLists.txt:89 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Checking for module 'gmp'
-- No package 'gmp' found
-- Found GMP: /usr/lib/arm-linux-gnueabihf/libgmpxx.so
CMake Warning (dev) at /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
The package name passed to find_package_handle_standard_args (PkgConfig)
does not match the name of the calling package (MPIR). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPkgConfig.cmake:59 (find_package_handle_standard_args)
/usr/local/lib/cmake/gnuradio/FindMPIR.cmake:1 (include)
/usr/local/lib/cmake/gnuradio/FindMPLIB.cmake:2 (find_package)
/usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake:26 (find_dependency)
CMakeLists.txt:89 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Checking for module 'mpir >= 3.0'
-- No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
-- Found MPLIB: /usr/lib/arm-linux-gnueabihf/libgmpxx.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Boost: /usr/include (found suitable version "1.67.0", minimum required is "1.67.0") found components: date_time program_options filesystem system regex thread unit_test_framework chrono atomic
CMake Warning (dev) at /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
The package name passed to find_package_handle_standard_args (VOLK) does
not match the name of the calling package (Volk). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/usr/local/lib/cmake/volk/VolkConfig.cmake:32 (find_package_handle_standard_args)
/usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake:46 (find_dependency)
CMakeLists.txt:89 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found VOLK: Volk::volk
-- User set python executable /usr/bin/python3
-- Found PythonInterp: /usr/bin/python3 (found version "3.7.3")
-- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython3.7m.so (found suitable exact version "3.7.3")
CMake Warning (dev) at /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
The package name passed to find_package_handle_standard_args (PkgConfig)
does not match the name of the calling package (UHD). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPkgConfig.cmake:59 (find_package_handle_standard_args)
/usr/local/lib/cmake/uhd/UHDConfig.cmake:42 (include)
/usr/local/lib/cmake/gnuradio/FindUHD.cmake:43 (find_package)
/usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/usr/local/lib/cmake/gnuradio/gnuradio-uhdConfig.cmake:24 (find_dependency)
/usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake:116 (include)
CMakeLists.txt:89 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found UHD: /usr/local/lib/libuhd.so
-- Found Git: /usr/bin/git
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Found Boost: /usr/include (found version "1.67.0") found components: chrono serialization system
-- Found IIO: /usr/include (found version "0.16")
-- Using install prefix: /usr/local
-- Building for version: v1.0-compat-xxx-xunknown / 1.0.0git
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
--
-- Checking for module SWIG
-- Found SWIG version 3.0.12.
-- Found SWIG: /usr/bin/swig3.0
-- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython3.7m.so (found version "3.7.3")
-- Configuring done
CMake Error at /usr/local/lib/cmake/gnuradio/GrTest.cmake:163 (add_executable):
Target "sparsdr_qa_threshold_file.cc" links to target "UHD::uhd" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
lib/CMakeLists.txt:116 (GR_ADD_CPP_TEST)
CMake Error at lib/CMakeLists.txt:58 (add_library):
Target "gnuradio-sparsdr" links to target "UHD::uhd" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at /usr/local/lib/cmake/gnuradio/UseSWIG.cmake:573 (add_library):
Target "sparsdr_swig" links to target "UHD::uhd" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
/usr/local/lib/cmake/gnuradio/GrSwig.cmake:137 (swig_add_library)
swig/CMakeLists.txt:51 (GR_SWIG_MAKE)
CMake Error at lib/CMakeLists.txt:58 (add_library):
Target "gnuradio-sparsdr" links to target "UHD::uhd" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Hello,
I'm working with a RaspberryPi 4B. The OS is the PiSDR v5.0 with gnuRadio 3.8.2 preinstalled. To install sparsdr, I'm following the instruction here: https://github.com/ucsdsysnet/sparsdr/blob/master/doc/getting_started_pluto.md At the 'cmake' step, I'm getting the error messages below. Please help.Thank you.
Jae
pi@raspberrypi:~/sparsdr/gr-sparsdr/build $ cmake .. -- The CXX compiler identification is GNU 8.3.0 -- The C compiler identification is GNU 8.3.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 -- Build type not specified: defaulting to release. -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") -- Found LOG4CPP: /usr/lib/arm-linux-gnueabihf/liblog4cpp.so CMake Warning (dev) at /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to
find_package_handle_standard_args
(PkgConfig) does not match the name of the calling package (GMP). This can lead to problems in calling code that expectsfind_package
result variables (e.g.,_FOUND
) to follow a certain pattern. Call Stack (most recent call first): /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPkgConfig.cmake:59 (find_package_handle_standard_args) /usr/local/lib/cmake/gnuradio/FindGMP.cmake:1 (include) /usr/local/lib/cmake/gnuradio/FindMPLIB.cmake:1 (find_package) /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) /usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake:26 (find_dependency) CMakeLists.txt:89 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.-- Checking for module 'gmp' -- No package 'gmp' found -- Found GMP: /usr/lib/arm-linux-gnueabihf/libgmpxx.so
CMake Warning (dev) at /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to
find_package_handle_standard_args
(PkgConfig) does not match the name of the calling package (MPIR). This can lead to problems in calling code that expectsfind_package
result variables (e.g.,_FOUND
) to follow a certain pattern. Call Stack (most recent call first): /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPkgConfig.cmake:59 (find_package_handle_standard_args) /usr/local/lib/cmake/gnuradio/FindMPIR.cmake:1 (include) /usr/local/lib/cmake/gnuradio/FindMPLIB.cmake:2 (find_package) /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) /usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake:26 (find_dependency) CMakeLists.txt:89 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.-- Checking for module 'mpir >= 3.0' -- No package 'mpir' found -- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR) -- Found MPLIB: /usr/lib/arm-linux-gnueabihf/libgmpxx.so
-- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Found Boost: /usr/include (found suitable version "1.67.0", minimum required is "1.67.0") found components: date_time program_options filesystem system regex thread unit_test_framework chrono atomic CMake Warning (dev) at /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to
find_package_handle_standard_args
(VOLK) does not match the name of the calling package (Volk). This can lead to problems in calling code that expectsfind_package
result variables (e.g.,_FOUND
) to follow a certain pattern. Call Stack (most recent call first): /usr/local/lib/cmake/volk/VolkConfig.cmake:32 (find_package_handle_standard_args) /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) /usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake:46 (find_dependency) CMakeLists.txt:89 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.-- Found VOLK: Volk::volk
-- User set python executable /usr/bin/python3 -- Found PythonInterp: /usr/bin/python3 (found version "3.7.3") -- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython3.7m.so (found suitable exact version "3.7.3") CMake Warning (dev) at /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to
find_package_handle_standard_args
(PkgConfig) does not match the name of the calling package (UHD). This can lead to problems in calling code that expectsfind_package
result variables (e.g.,_FOUND
) to follow a certain pattern. Call Stack (most recent call first): /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPkgConfig.cmake:59 (find_package_handle_standard_args) /usr/local/lib/cmake/uhd/UHDConfig.cmake:42 (include) /usr/local/lib/cmake/gnuradio/FindUHD.cmake:43 (find_package) /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.18/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) /usr/local/lib/cmake/gnuradio/gnuradio-uhdConfig.cmake:24 (find_dependency) /usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake:116 (include) CMakeLists.txt:89 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.-- Found UHD: /usr/local/lib/libuhd.so
-- Found Git: /usr/bin/git
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Found Boost: /usr/include (found version "1.67.0") found components: chrono serialization system -- Found IIO: /usr/include (found version "0.16") -- Using install prefix: /usr/local -- Building for version: v1.0-compat-xxx-xunknown / 1.0.0git -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- -- Checking for module SWIG -- Found SWIG version 3.0.12. -- Found SWIG: /usr/bin/swig3.0
-- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython3.7m.so (found version "3.7.3") -- Configuring done CMake Error at /usr/local/lib/cmake/gnuradio/GrTest.cmake:163 (add_executable): Target "sparsdr_qa_threshold_file.cc" links to target "UHD::uhd" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): lib/CMakeLists.txt:116 (GR_ADD_CPP_TEST)
CMake Error at lib/CMakeLists.txt:58 (add_library): Target "gnuradio-sparsdr" links to target "UHD::uhd" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?
CMake Error at /usr/local/lib/cmake/gnuradio/UseSWIG.cmake:573 (add_library): Target "sparsdr_swig" links to target "UHD::uhd" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): /usr/local/lib/cmake/gnuradio/GrSwig.cmake:137 (swig_add_library) swig/CMakeLists.txt:51 (GR_SWIG_MAKE)
CMake Error at lib/CMakeLists.txt:58 (add_library): Target "gnuradio-sparsdr" links to target "UHD::uhd" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?
-- Generating done CMake Generate step failed. Build files cannot be regenerated correctly.