Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

error during cross compilation



  • I have built a project using Qt creator, i am trying to build the same for an embedded device using a cross platform. when i try to build, i am getting the following error

    /usr/local/QtToolchain/sysroots/x86_64-openstlinux_eglfs_sdk-linux/usr/libexec/arm-openstlinux_eglfs-linux-gnueabi/gcc/arm-openstlinux_eglfs-linux-gnueabi/8.2.0/real-ld:-1: error: cannot find -lGLESv2

    and

    error: collect2: error: ld returned 1 exit status



  • @viveknath

    Hi and welcome to devnet forum

    Did you install the cross-compiled lib versions for your embedded device?
    They are in general different to those used in your desktop app.


Log in to reply