Hi,
My environment is:
win7 64bit sp1
src code: qt-everywhere-opensource-src-5.0.2.zip
Path = D:\Program Files\python3.3.2\;D:\Perl64\site\bin;D:\Perl64\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth Software\syswow64;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;%ANT_HOME%\bin;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;D:\Program Files\MySQL\MySQL Server 5.5\bin;%JBOSS_HOME%\bin;D:\Program Files\TortoiseSVN\bin;%M2_HOME%\bin;D:\Qt\Qt5.0.1\Tools\MinGW\bin;D:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin;D:\Qt\qwt-6.1-rc3\setup\lib;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\
Path = D:\Program Files\python3.3.2\;D:\Perl64\site\bin;D:\Perl64\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth Software\syswow64;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;%ANT_HOME%\bin;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;D:\Program Files\MySQL\MySQL Server 5.5\bin;%JBOSS_HOME%\bin;D:\Program Files\TortoiseSVN\bin;%M2_HOME%\bin;D:\Qt\Qt5.0.1\Tools\MinGW\bin;D:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin;D:\Qt\qwt-6.1-rc3\setup\lib;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\
To copy to clipboard, switch view to plain text mode
I had alreadly installed qt sdk (binary) at D:\Qt\Qt5.0.1\ , therefore, I used the default mingw in Qt5.0.1\mingw47_32 to complie the source code.
my configure cmd is:
configure.bat -confirm-license -opensource -platform win32-g++ -release -static -ltcg -c++11 -fast -prefix "D:\Qt\Qt5.0.2-rel-static" -accessibility -rtti -qt-sql-sqlite -qt-sql-odbc -plugin-sql-sqlite -plugin-sql-odbc -qt-zlib -qt-libpng -qt-libjpeg -audio-backend -nomake docs -opengl desktop -no-qml-debug -no-vcproj -no-dbus -nomake tests -nomake examples -nomake demos -qt-freetype
mingw32-make
my configure cmd is:
configure.bat -confirm-license -opensource -platform win32-g++ -release -static -ltcg -c++11 -fast -prefix "D:\Qt\Qt5.0.2-rel-static" -accessibility -rtti -qt-sql-sqlite -qt-sql-odbc -plugin-sql-sqlite -plugin-sql-odbc -qt-zlib -qt-libpng -qt-libjpeg -audio-backend -nomake docs -opengl desktop -no-qml-debug -no-vcproj -no-dbus -nomake tests -nomake examples -nomake demos -qt-freetype
mingw32-make
To copy to clipboard, switch view to plain text mode
error is:
F
:/qt
-everywhere
-opensource
-src
-5.0.2
/qtbase
/plugins
/platforms\libqwindows.
a(qwindowswindow.
o):qwindowswindow.
cpp:(.
text+0x1569
): undefined reference to `QPlatformWindow
::formatWindowTitle(QString const
&,
QString const
&)'collect2.exe: error: ld returned 1 exit statusMakefile.Release:79: recipe for target 'F:\qt-everywhere-opensource-src-5.0.2\qtbase\bin\qmlscene.exe' failed
mingw32-make[4]: *** [F:\qt-everywhere-opensource-src-5.0.2\qtbase\bin\qmlscene.exe] Error 1
mingw32-make[4]: Leaving directory 'f:/qt-everywhere-opensource-src-5.0.2/qtdeclarative/tools/qmlscene'
Makefile:34: recipe for target 'release' failed
mingw32-make[3]: *** [release] Error 2
mingw32-make[3]: Leaving directory 'f:/qt-everywhere-opensource-src-5.0.2/qtdeclarative/tools/qmlscene'
Makefile:44: recipe for target 'sub-qmlscene-make_first' failed
mingw32-make[2]: *** [sub-qmlscene-make_first] Error 2
mingw32-make[2]: Leaving directory 'f:/qt-everywhere-opensource-src-5.0.2/qtdeclarative/tools'
Makefile:66: recipe for target 'sub-tools-make_first' failed
mingw32-make[1]: *** [sub-tools-make_first] Error 2
mingw32-make[1]: Leaving directory 'f:/qt-everywhere-opensource-src-5.0.2/qtdeclarative'
makefile:154: recipe for target 'module-qtdeclarative-make_first' failed
mingw32-make: *** [module-qtdeclarative-make_first] Error 2
F:/qt-everywhere-opensource-src-5.0.2/qtbase/plugins/platforms\libqwindows.a(qwindowswindow.o):qwindowswindow.cpp:(.text+0x1569): undefined reference to `QPlatformWindow::formatWindowTitle(QString const&, QString const&)'collect2.exe: error: ld returned 1 exit status
Makefile.Release:79: recipe for target 'F:\qt-everywhere-opensource-src-5.0.2\qtbase\bin\qmlscene.exe' failed
mingw32-make[4]: *** [F:\qt-everywhere-opensource-src-5.0.2\qtbase\bin\qmlscene.exe] Error 1
mingw32-make[4]: Leaving directory 'f:/qt-everywhere-opensource-src-5.0.2/qtdeclarative/tools/qmlscene'
Makefile:34: recipe for target 'release' failed
mingw32-make[3]: *** [release] Error 2
mingw32-make[3]: Leaving directory 'f:/qt-everywhere-opensource-src-5.0.2/qtdeclarative/tools/qmlscene'
Makefile:44: recipe for target 'sub-qmlscene-make_first' failed
mingw32-make[2]: *** [sub-qmlscene-make_first] Error 2
mingw32-make[2]: Leaving directory 'f:/qt-everywhere-opensource-src-5.0.2/qtdeclarative/tools'
Makefile:66: recipe for target 'sub-tools-make_first' failed
mingw32-make[1]: *** [sub-tools-make_first] Error 2
mingw32-make[1]: Leaving directory 'f:/qt-everywhere-opensource-src-5.0.2/qtdeclarative'
makefile:154: recipe for target 'module-qtdeclarative-make_first' failed
mingw32-make: *** [module-qtdeclarative-make_first] Error 2
To copy to clipboard, switch view to plain text mode
I had blocked here for whole day, pls help me.
Thank you in advance.
Tang Tao
Bookmarks