Qt5.1.0 Static linking, “This application cannot be statically linked to the fftreal library”
-
These are the exact steps that I took:
-
Installed Qt 5.1.0 from this link and placed it in
@C:\Qt\Qt5.1.0@
http://download.qt-project.org/development_releases/qt/5.1/5.1.0-rc2/qt-windows-opensource-5.1.0-rc2-mingw48_opengl-x86-offline.exe -
Extracted sources and put it into
@C:\Qt\Qt5.1.0\Source@
http://download.qt-project.org/development_releases/qt/5.1/5.1.0-rc2/single/qt-everywhere-opensource-src-5.1.0-rc2.zip -
Installed Active Python 2.7 (Added to PATH) in:
@C:\Python27@
Ruby 200 (ticked the option to add to PATH when installing) in:
@C:\Qt\Qt5.1.0\Source\Ruby200@
and Perl64 in:
@C:\Qt\Qt5.1.0\Source@ -
Installed only "Client C API Library" portion from mysql-5.5.32-win32.msi: http://dev.mysql.com/downloads/installer/
-
Ran
@Qt5.1.0 for Desktop (MinGW 4.8 32 bit)@
as admin and typed
@configure -static -qt-sql-mysql -I C:\MySql\include -L C:\MySql\lib@
all in one line. Like so: http://i.stack.imgur.com/lZeqm.png
I noticed this http://i.stack.imgur.com/l4YE0.png when it prompted me to run
@mingw32-make@
(just above "WARNING:" It says my additional libraries are located in -LC:\MySql\lib without a space between L and C.- I disregarded that and ran
@mingw32-make@
after the configure was done.
After awhile, I get this error (at the bottom of image).
http://i.stack.imgur.com/HI7W9.png
What am I missing/not doing? I need some guidance. If there is some sort of 5.1.0 Static build guide that I can reference, that would be great! Thank you all ahead of time.
My PATH has this
@%APPDATA%\Python\Scripts;C:\Qt\Qt5.1.0\Source\Ruby200\bin;C:\cygwin;C:\Program Files (x86)\MiKTeX\miktex\bin;C:\Python27@ -