Saturday, July 4th 2009, 4:04am UTC+1

You are not logged in.

  • Login
  • Register

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.

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
  • Go to the top of the page

ferdna

Beginner

Posts: 24

Location: Texas, USA

Occupation: Programming

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
  • Go to the top of the page

giminik

Beginner

Posts: 1

Location: France::Besançon

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.
  • Go to the top of the page

Rate this thread