Skip to content

undefined reference to `qt_version_tag@Qt_5.12' #15

@fpgasdr

Description

@fpgasdr

Hello I have problem to make this project due Qt version incompatibility since I have Qt5 installed in my ubuntu previously:

sudo apt-get install libqwt-qt5-dev qtbase5-dev give me:

libqwt-qt5-dev is already the newest version (6.1.4-1.1build1).
qtbase5-dev is already the newest version (5.12.8+dfsg-0ubuntu2.1).

but when make the project I have:

[ 80%] Linking C executable complexplot_test_c
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/libqwt-qt5.so: undefined reference to `qt_version_tag@Qt_5.12'
collect2: error: ld returned 1 exit status
make[2]: *** [test/c/CMakeFiles/complexplot_test_c.dir/build.make:100: test/c/complexplot_test_c] Error 1
make[1]: *** [CMakeFiles/Makefile2:218: test/c/CMakeFiles/complexplot_test_c.dir/all] Error 2
make: *** [Makefile:139: all] Error 2

this error is related with version incompatibility?.

Maybe could I modify any file for make it compatible...

thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions