Sunday, June 30, 2024

Re: error when linking display_qt

This problem has been resolved; becoming apparent after including -DCMAKE_FIND_DEBUG_MODE=ON to the cmake invocation. The QWT library was explicitly set to
(the FILE PATH) -DQWT_LIBRARIES=/usr/lib64/ as opposed to (THE LIBRARY) -DQWT_LIBRARIES=/usr/lib64/libqwt-qt6.so
The library location: /usr/lib64/libqwt-qt5.so -> libqwt-qt5.so.6.2.0
I now have only one failed test to debug; moving on.

Rick

On 2024-06-28 15:51, aardric wrote:

> When building gnuradio using ~/.local as the make prefix from 3.10.0
> (commit 207d020f1) source with openSuSE Leap 15.6, the following error
> upon linking occurs:
>
> /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: ../../lib/libgnuradio-qtgui.so.3.10.10.0: undefined reference to `QwtPlotItem::getCanvasMarginHint(QwtScaleMap const&, QwtScaleMap const&, QRectF const&, double&, double&, double&, double&) const'
> collect2: error: ld returned 1 exit status
> make[2]: *** [gr-qtgui/examples/c++/CMakeFiles/display_qt.dir/build.make:133: gr-qtgui/examples/c++/display_qt] Error 1
> make[1]: *** [CMakeFiles/Makefile2:6820: gr-qtgui/examples/c++/CMakeFiles/display_qt.dir/all] Error 2
>
>
>
> The build configuration appears to be successful. QT5, QWT6(QT5),
> python3.11 were all found. I have a feeing that this is not a code issue
> but I am unsure of how to obtain further information. Any suggestions
> would be greatly appreciated.
>
> Rick
>
>

No comments:

Post a Comment