hi,
I am trying to build static application for deployment and I am following this tutorial:
http://wiki.qtcentre.org/index.php?t..._Qt_on_Windows
The configure step is fine but however at the step where i issue the command: mingw32-make sub-src, i get the following error while running halfway:
C:\Qt\2009.02\qt>mingw32-make sub-src
....
....
gcc -c -O2 -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_LITE_UN
ICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATAS
TREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_S
YSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USIN
G_NAMESPACE -DQT_NODLL -I"..\..\..\include" -I"..\..\..\include\QtCore" -I"..\..
\..\include\QtXml" -I"..\..\3rdparty\zlib" -I"." -I"." -I"..\..\..\mkspecs\win32
-g++" -o tmp\obj\release_static\adler32.o ..\..\3rdparty\zlib\adler32.c
gcc: installation problem, cannot exec `cc1': No such file or directory
mingw32-make[2]: *** [tmp/obj/release_static/adler32.o] Error 1
mingw32-make[2]: Leaving directory `C:/Qt/2009.02/qt/src/tools/bootstrap'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/2009.02/qt/src/tools/bootstrap'
mingw32-make: *** [sub-tools-bootstrap-sub_src_target_ordered] Error 2
C:\Qt\2009.02\qt>mingw32-make sub-src
....
....
gcc -c -O2 -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_LITE_UN
ICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATAS
TREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_S
YSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USIN
G_NAMESPACE -DQT_NODLL -I"..\..\..\include" -I"..\..\..\include\QtCore" -I"..\..
\..\include\QtXml" -I"..\..\3rdparty\zlib" -I"." -I"." -I"..\..\..\mkspecs\win32
-g++" -o tmp\obj\release_static\adler32.o ..\..\3rdparty\zlib\adler32.c
gcc: installation problem, cannot exec `cc1': No such file or directory
mingw32-make[2]: *** [tmp/obj/release_static/adler32.o] Error 1
mingw32-make[2]: Leaving directory `C:/Qt/2009.02/qt/src/tools/bootstrap'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/2009.02/qt/src/tools/bootstrap'
mingw32-make: *** [sub-tools-bootstrap-sub_src_target_ordered] Error 2
To copy to clipboard, switch view to plain text mode
I am using open source Qt (2009.02) and I am running it on windows vista/xp.
Anyone has any solution to this?Please advice.
Thanks in advanced.
Bookmarks