kit-cel / gr-radar

GNU Radio Radar Toolbox
GNU General Public License v3.0
237 stars 83 forks source link

can't proceed with cmake #44

Open Andy823 opened 3 years ago

Andy823 commented 3 years ago

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.

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 commented 3 years ago

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


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

Gambler46 commented 2 years ago

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

hfarooq98 commented 1 year ago

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 commented 1 year ago

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.