You are not logged in.

1

Saturday, October 20th 2007, 4:04pm

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

ferdna

Beginner

Posts: 25

Location: Texas, USA

Occupation: Programming

  • Send private message

2

Saturday, November 24th 2007, 5:18am

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
It Is Not That I'm Different! ... I'm Only Making The Difference!
Slackware 12.1 http://www.eonsoft.us
myspace: www.myspace.com/ferloc

giminik

Beginner

Posts: 1

Location: France::Besançon

  • Send private message

3

Tuesday, December 4th 2007, 3:00pm

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.

Rate this thread