Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't proceed with cmake #44

Open
Andy823 opened this issue May 3, 2021 · 4 comments
Open

can't proceed with cmake #44

Andy823 opened this issue May 3, 2021 · 4 comments

Comments

@Andy823
Copy link

Andy823 commented May 3, 2021

I installed the GNU radio with pybombs. I tried several times, but each time I do the cmake, it always indicates a failed generation. Here is the whole message after I tried to cmake.

  • Build type not specified: defaulting to release.
    -- Found LOG4CPP: /usr/lib/x86_64-linux-gnu/liblog4cpp.so
    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
    -- Checking for module 'gmp'
    -- Found gmp, version 6.2.0
    -- Found GMP: /usr/lib/x86_64-linux-gnu/libgmpxx.so
    -- 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/x86_64-linux-gnu/libgmpxx.so
    -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.71.0") found components: date_time program_options filesystem system regex thread unit_test_framework
    -- Found VOLK: Volk::volk
    -- User set python executable /usr/bin/python3
    -- Found PythonInterp: /usr/bin/python3 (found version "3.8.5")
    -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found suitable exact version "3.8.5")
    -- Found Git: /usr/bin/git
    -- Extracting version information from git describe...
    -- Python checking for PyQt5 - found
    -- Checking for module 'Qt5Qwt6'
    -- Found Qt5Qwt6, version 6.1.4
    -- QWT Version: 6.1.4
    -- Found Qwt: /usr/lib/libqwt-qt5.so
    -- Found Doxygen: /usr/bin/doxygen (found version "1.8.17") found components: doxygen missing components: dot
    -- Checking for module 'uhd'
    -- No package 'uhd' found
    -- Checking for module 'fftw3f >= 3.0'
    -- Found fftw3f , version 3.3.8
    -- Found FFTW3f: /usr/lib/x86_64-linux-gnu/libfftw3f.so
    -- Using install prefix: /usr/local
    -- Building for version: ceebb6d / 1.0.0git
    -- No C++ unit tests... skipping
    --
    -- Checking for module SWIG
    -- Found SWIG version 4.0.1.
    -- Found SWIG: /usr/bin/swig4.0
    -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found version "3.8.5")
    -- Configuring done
    CMake Error at lib/CMakeLists.txt:78 (add_library):
    Target "gnuradio-radar" 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/lib/x86_64-linux-gnu/cmake/gnuradio/UseSWIG.cmake:573 (add_library):
Target "radar_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/lib/x86_64-linux-gnu/cmake/gnuradio/GrSwig.cmake:133 (swig_add_library)
swig/CMakeLists.txt:50 (GR_SWIG_MAKE)

CMake Error at lib/CMakeLists.txt:78 (add_library):
Target "gnuradio-radar" 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.

Looking forward to hearing from you.

@V0rt
Copy link

V0rt commented Sep 1, 2021

Are anybody solved MPIR dependence? (No package 'mpir' found)


Look here -> http://mpir.org/downloads.html

@Gambler46
Copy link

I am struggling with the same problem, please help me solve it

@hfarooq98
Copy link

hfarooq98 commented Dec 14, 2022

Hi, I had couple of issues and this was one of them. You have to install UHD first,
https://files.ettus.com/manual/page_install.html, see this link & install using those commands & retry. I followed same & I didn't get this error again. If you have any difficulty following above link, use these commands:
sudo apt update
sudo apt install uhd-host

@hfarooq98
Copy link

The other errors I faced included, No package 'Qt5Qwt6' found. I tried several ways but couldn't solve this.

Since you didn't face this error, how did you install Qwt?
-- Checking for module 'Qt5Qwt6'
-- Found Qt5Qwt6, version 6.1.4
-- QWT Version: 6.1.4
-- Found Qwt: /usr/lib/libqwt-qt5.so
(From your comment)

Kindly help me with this. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants