Raspberry Pi 4 ARM64 Qt5 project

Sysprogs forums Forums VisualGDB Raspberry Pi 4 ARM64 Qt5 project

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34066
    ptihanyi
    Participant

    Hi!

    I tried to follow the official “Developing graphical applications for Raspberry Pi with Qt5” tutorial, but I get a bunch of “undefined reference to…” error messages when linking.
    The sysroot has been synchronized, and all the files missed by ld are exist.
    The Raspberry Pi 4 is running the latest official “Raspberry Pi OS 64 bit” and all the necessary packages are installed.

    I attached a screenshot from the error.

    Thanks a lot for any suggestions!

    Attachments:
    You must be logged in to view attached files.
    #34068
    paulh001
    Participant

    I think you have to add libraries to your project, If you use MSBuild you can add them to “Libraries Names”  like pthread; GL etc

    #34072
    ptihanyi
    Participant

    I use Cmake builder as recommended in the tutorial.

    Of course, I can explicitly add libraries to CMakeLists.txt; however, the tutorial does not say that.
    If sysroot is synchronized, shouldn’t it find the system libraries?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.