Description of problem: When trying to build Qt against angle project GLES libraries I can not link 64 bit version for some reason. 32bit version builds just fine (with i686-w64-mingw32-g++) but when building and linking with x86_64-w64-mingw32-g++ I gen this error: ./.obj/release/qopengltexturehelper.o:qopengltexturehelper.cpp:(.text+0x1ba3): undefined reference to `__imp_glCompressedTexSubImage2D' ./.obj/release/qopengltexturehelper.o:qopengltexturehelper.cpp:(.text+0x1be8): undefined reference to `__imp_glCompressedTexImage2D' ./.obj/release/qopengltexturehelper.o:qopengltexturehelper.cpp:(.text+0x1c0c): undefined reference to `__imp_glActiveTexture' ./.obj/release/qopengltexturehelper.o:qopengltexturehelper.cpp:(.text+0x1c1a): undefined reference to `__imp_glGenerateMipmap' The symbols are in libGLESv2, I checked with nm, but linker can't find them somehow. Linker command line is: x86_64-w64-mingw32-g++ -Wl,-s -shared -Wl,-subsystem,windows -Wl,--out-implib,/mnt/d/distr/qt-everywhere-opensource-src-5.9.1/qtbase/lib/libQt5Gui.a -o ../../lib/Qt5Gui.dll object_script.Qt5Gui.Release -lcomdlg32 -loleaut32 -limm32 -lwinmm -lws2_32 -lole32 -luuid -ladvapi32 -L/mnt/d/distr/mysql-5.7.19-winx64/lib -L/mnt/d/distr/oracle_12c_oci_devel/winx64/lib/msvc -llibEGL -llibGLESv2 -lgdi32 -luser32 -L/mnt/d/distr/qt-everywhere-opensource-src-5.9.1/qtbase/lib /mnt/d/distr/qt-everywhere-opensource-src-5.9.1/qtbase/lib/libQt5Core.a .obj/release/Qt5Gui_resource_res.o /mnt/d/distr/qt-everywhere-opensource-src-5.9.1/qtbase/lib/libqtlibpng.a -L/mnt/d/distr/mysql-5.7.19-winx64/lib -L/mnt/d/distr/oracle_12c_oci_devel/winx64/lib/msvc -L/mnt/d/distr/qt-everywhere-opensource-src-5.9.1/qtbase/lib /mnt/d/distr/qt-everywhere-opensource-src-5.9.1/qtbase/lib/libQt5Core.a /mnt/d/distr/qt-everywhere-opensource-src-5.9.1/qtbase/lib/libqtharfbuzz.a I also tried replacing -llibGLESv2 and -llibEGL with -lEGL -lGLESv2 but the result is the same. Version-Release number of selected component (if applicable): mingw64-angleproject-0-0.17.git8613f49.fc26.noarch How reproducible: always Steps to Reproduce: 1.Download qt 5.9.1 source code archive 2.Run ./configure -prefix /mnt/d/Qt5.9.1/winx64 -xplatform win32-g++ -device-option CROSS_COMPILE=x86_64-w64-mingw32- -shared -opensource -release -nomake examples -qt-zlib -qt-pcre -qt-freetype -qt-harfbuzz -no-direct2d -qt-libpng -qt-libjpeg Replace prefix with one that suits you. 3.Run make Actual results: Expected results: Additional info:
Ah correct, the f26 version still has the incorrect def files for the 64bit libraries. As a quick fix you can use the f27 version, download the rpms from [1]. I'll build the fixed version for f26 also. [1] https://koji.fedoraproject.org/koji/buildinfo?buildID=929704
Downloaded f26 build from koji, links fine now, thanks.
mingw-qt5-qtmultimedia-5.7.1-3.fc26 mingw-qt5-qtlocation-5.7.1-3.fc26 mingw-qt5-qtwebkit-5.7.1-3.fc26 mingw-qt5-qtbase-5.7.1-5.fc26 mingw-angleproject-0-0.20.git8613f49.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d5735b89e6
mingw-angleproject-0-0.20.git8613f49.fc26, mingw-qt5-qtbase-5.7.1-5.fc26, mingw-qt5-qtlocation-5.7.1-3.fc26, mingw-qt5-qtmultimedia-5.7.1-3.fc26, mingw-qt5-qtwebkit-5.7.1-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d5735b89e6
mingw-qt5-qtbase-5.7.1-5.fc26 mingw-qt5-qtlocation-5.7.1-3.fc26 mingw-qt5-qtmultimedia-5.7.1-3.fc26 mingw-qt5-qtwebkit-5.7.1-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d5735b89e6
mingw-angleproject-0-0.20.git8613f49.fc26 mingw-qt5-qtwebkit-5.9.1-2.fc26 mingw-qt5-qtgraphicaleffects-5.9.1-2.fc26 mingw-qt5-qtwinextras-5.9.1-2.fc26 mingw-qt5-qtwebsockets-5.9.1-2.fc26 mingw-qt5-qttools-5.9.1-4.fc26 mingw-qt5-qtsensors-5.9.1-2.fc26 mingw-qt5-qtquickcontrols-5.9.1-2.fc26 mingw-qt5-qtmultimedia-5.9.1-3.fc26 mingw-qt5-qtlocation-5.9.1-2.fc26 mingw-qt5-qt3d-5.9.1-4.fc26 mingw-qt5-qtxmlpatterns-5.9.1-2.fc26 mingw-qt5-qttranslations-5.9.1-2.fc26 mingw-qt5-qtsvg-5.9.1-2.fc26 mingw-qt5-qtscript-5.9.1-2.fc26 mingw-qt5-qtimageformats-5.9.1-2.fc26 mingw-qt5-qtdeclarative-5.9.1-4.fc26 mingw-qt5-qtactiveqt-5.9.1-2.fc26 mingw-qt5-qtbase-5.9.1-6.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-bfe5da9ab7
mingw-angleproject-0-0.20.git8613f49.fc26, mingw-qt5-qt3d-5.9.1-4.fc26, mingw-qt5-qtactiveqt-5.9.1-2.fc26, mingw-qt5-qtbase-5.9.1-6.fc26, mingw-qt5-qtdeclarative-5.9.1-4.fc26, mingw-qt5-qtgraphicaleffects-5.9.1-2.fc26, mingw-qt5-qtimageformats-5.9.1-2.fc26, mingw-qt5-qtlocation-5.9.1-2.fc26, mingw-qt5-qtmultimedia-5.9.1-3.fc26, mingw-qt5-qtquickcontrols-5.9.1-2.fc26, mingw-qt5-qtscript-5.9.1-2.fc26, mingw-qt5-qtsensors-5.9.1-2.fc26, mingw-qt5-qtsvg-5.9.1-2.fc26, mingw-qt5-qttools-5.9.1-4.fc26, mingw-qt5-qttranslations-5.9.1-2.fc26, mingw-qt5-qtwebkit-5.9.1-2.fc26, mingw-qt5-qtwebsockets-5.9.1-2.fc26, mingw-qt5-qtwinextras-5.9.1-2.fc26, mingw-qt5-qtxmlpatterns-5.9.1-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-bfe5da9ab7
mingw-angleproject-0-0.20.git8613f49.fc26, mingw-qt5-qt3d-5.9.1-4.fc26, mingw-qt5-qtactiveqt-5.9.1-2.fc26, mingw-qt5-qtbase-5.9.1-6.fc26, mingw-qt5-qtdeclarative-5.9.1-4.fc26, mingw-qt5-qtgraphicaleffects-5.9.1-2.fc26, mingw-qt5-qtimageformats-5.9.1-2.fc26, mingw-qt5-qtlocation-5.9.1-2.fc26, mingw-qt5-qtmultimedia-5.9.1-3.fc26, mingw-qt5-qtquickcontrols-5.9.1-2.fc26, mingw-qt5-qtscript-5.9.1-2.fc26, mingw-qt5-qtsensors-5.9.1-2.fc26, mingw-qt5-qtsvg-5.9.1-2.fc26, mingw-qt5-qttools-5.9.1-4.fc26, mingw-qt5-qttranslations-5.9.1-2.fc26, mingw-qt5-qtwebkit-5.9.1-2.fc26, mingw-qt5-qtwebsockets-5.9.1-2.fc26, mingw-qt5-qtwinextras-5.9.1-2.fc26, mingw-qt5-qtxmlpatterns-5.9.1-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.