Anyone having problems linking with libQt5Gui.a? I'm using 64bit binaries and have built the steps leading up to Qt qttools-opensource-src-5.3.2 with no issues. The link for Qtdiag.exe doesn't seem to want to work. I'm not an expert at this but know the basics and have managed to get up to here with no errors. I've followed the current instructions as they are (great guide btw!).
I'm wondering how many have actually installed using 64bit. My next step will be to try with 32 if I can't get this resolved. Google searches show a similar problem but so far none resolved.
This is the link and error: g++ -Wl,--gc-sections -Wl,-s -Wl,-subsystem,console -o C:/Qt/5.3.2/bin/qtdiag.exe .obj/release/main.o .obj/release/qtdiag.o .obj/release/qtdiag_plugin_import.o -LC:/deps/libpng-1.6.15/.libs -LC:/deps/openssl-1.0.1j -LC:/Qt/5.3.2/lib -LC:/Qt/5.3.2/plugins/bearer -lqgenericbearer -lqnativewifibearer -lQt5Network -ldnsapi -lcrypt32 -LC:/Qt/5.3.2/plugins/platforms -lqwindows -lwinspool -lshlwapi -lQt5PlatformSupport -LC:/Qt/5.3.2/plugins/imageformats -lqico -lQt5Gui -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lpng -lQt5Core -lole32 -luuid -lws2_32 -ladvapi32 -lshell32 -luser32 -lkernel32 -lz
C:/Qt/5.3.2/lib/libQt5Gui.a(qimage.o):qimage.cpp:(.text+0x6ae9): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' C:/Qt/5.3.2/lib/libQt5Gui.a(qimage.o):qimage.cpp:(.text+0x6be9): undefined reference to `qt_memfill16(unsigned short*, unsigned short, int)' C:/Qt/5.3.2/lib/libQt5Gui.a(qimage.o):qimage.cpp:(.text+0x6d7d): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)' C:/Qt/5.3.2/lib/libQt5Gui.a(qimage.o):qimage.cpp:(.text+0x6e6b): undefined reference to `qt_memfill16(unsigned short*, unsigned short, int)' c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Qt/5.3.2/lib/libQt5Gui.a(qimage.o): bad reloc address 0x0 in section `.pdata'
collect2.exe: error: ld returned 1 exit status Makefile.Release:81: recipe for target 'C:/Qt/5.3.2/bin/qtdiag.exe' failed mingw32-make[3]: *** [C:/Qt/5.3.2/bin/qtdiag.exe] Error 1 mingw32-make[3]: Leaving directory 'c:/Qt/qttools-opensource-src-5.3.2/src/qtdiag' Makefile:34: recipe for target 'release' failed mingw32-make[2]: *** [release] Error 2 mingw32-make[2]: Leaving directory 'c:/Qt/qttools-opensource-src-5.3.2/src/qtdiag' Makefile:220: recipe for target 'sub-qtdiag-make_first' failed mingw32-make[1]: *** [sub-qtdiag-make_first] Error 2
|