Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
How to build debug lib in Vista
I Build the Debug lib in vista with the cygwin.
but it say can not exec ‘cc1’: no such file
why? the path of cygwin is in the path.
THX
RE: How to build debug lib in Vista
yeah, i need this too.
qtvars compile_debug
mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `C:/Qt/4.3.2/src/tools/rcc'
gcc -c -O2 -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_RCC -DQ
T_LITE_UNICODE -DQT_NO_DATASTREAM -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_UNICODE
TABLES -DQT_NO_LIBRARY -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -DQT_NODLL -I".
.\..\corelib\arch\generic" -I"..\..\..\include" -I"." -I"..\..\..\include\QtCore
" -I"..\..\..\include\QtXml" -I"..\..\3rdparty\zlib" -I"." -I"..\..\..\mkspecs\w
in32-g++" -o tmp\obj\release_shared\adler32.o ..\..\3rdparty\zlib\adler32.c
gcc: installation problem, cannot exec `cc1': No such file or directory
mingw32-make[1]: *** [tmp\obj\release_shared\adler32.o] Error 1
mingw32-make[1]: Leaving directory `C:/Qt/4.3.2/src/tools/rcc'
mingw32-make: *** [release] Error 2
hello,
to solve the problem, you have just to add the following line in the Qt\bin\qtvars.bat :
SET PATH=%PATH%;C:\MinGW\libexec\gcc\mingw32\3.4.2
replace the last number with your actual version of gcc.