hi, all,

I am trying to build gnuradio from source on kubuntu22.04.

I am flowing the guide:
https://wiki.gnuradio.org/index.php?title=LinuxInstall#From_Source
Where I have done

  1.  build UHD, and installed
  2.  build volk, and installed
  3.  build gnuradio, just clone from git, and build, donot switch to v3.9 or 
else.
     *   using cmake to generate makefile
     *   make

I face error while make:
[ 85%] Linking CXX executable display_qt
/usr/bin/ld: /lib/libqwt-qt5.so: undefined reference to `qt_version_tag@Qt_5.15'
/usr/bin/ld: /lib/libqwt-qt5.so: undefined reference to 
`QPushButton::hitButton(QPoint const&) const@Qt_5'
collect2: error: ld returned 1 exit status
make[2]: *** [gr-qtgui/examples/c++/CMakeFiles/display_qt.dir/build.make:135: 
gr-qtgui/examples/c++/display_qt] Error 1
make[1]: *** [CMakeFiles/Makefile2:3196: 
gr-qtgui/examples/c++/CMakeFiles/display_qt.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

It seems that the version libqwt-qt5.so is not correct.

How can I fix it?

thx


Reply via email to