Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Building 5.12.2 with cross mingw: wrong EGL/GLES linking

Building 5.12.2 with cross mingw: wrong EGL/GLES linking

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 321 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    thesourcehim
    wrote on last edited by thesourcehim
    #1

    I'm trying to build 5.12.2 with cross-mingw (linux host, windows target) and encountered new problem, which was not present in 5.12.0:
    for some reason GLESv2 and EGL libraries are set as full path to libGLESv2.a and libEGL.a in all Makefiles instead of -lGLESv2 and -lEGL (/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libGLESv2.a, /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libEGL.a).
    This leads to linking failure (you can't link GLES like that). In 5.12.0 Makefiles contained -llibGLESv2 and -llibEGL, which was ok.

    I can't figure out which script generates that, anyone can help? Thank you.

    EDIT: it seems if I have both shared and static versions of angleproject installed, build script prefers static even if I'm building shared version of Qt. Had to remove static angleproject as a workaround.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved