Thursday, November 20th 2008, 1:27pm UTC

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

Tuesday, February 27th 2007, 4:57pm

QT 4.2.2 Opensource on Vista

Hi

I have earlier installed QT4 with no problems on win xp sp2, but when I tried it on Vista I got problems during mingw32-make.

These are the last lines:

gcc -c -O2 -O2 -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_RCC
-DQT_LITE_UNICODE -DQT_NO_DATASTREAM -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_UNI
CODETABLES -DQT_NO_LIBRARY -DQT_NO_SYSTEMLOCALE -DQT_NODLL -I"..\..\corelib\arch
\generic" -I"C:/Qt/4.2.2/include" -I"." -I"C:/Qt/4.2.2/include/QtCore" -I"C:/Qt/
4.2.2/include/QtXml" -I"..\..\3rdparty\zlib" -I"." -I"..\..\..\mkspecs\win32-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[3]: *** [tmp\obj\release_shared\adler32.o] Error 1
mingw32-make[3]: Leaving directory `C:/Qt/4.2.2/src/tools/rcc'
mingw32-make[2]: *** [release] Error 2
mingw32-make[2]: Leaving directory `C:/Qt/4.2.2/src/tools/rcc'
mingw32-make[1]: *** [sub-tools_rcc-make_default] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/4.2.2/src'
mingw32-make: *** [sub-src-make_default-ordered] Error 2


For the record, both mingw/bin and qt/4.2.2/bin is in the path.
  • Go to the top of the page

2

Monday, March 5th 2007, 2:02am

RE: QT 4.2.2 Opensource on Vista

It looks like a mingw problem. You should try to compile a simple basic C++ program to check your mingw install.
  • Go to the top of the page

3

Tuesday, March 6th 2007, 8:31pm

RE: QT 4.2.2 Opensource on Vista

Same problem here.

I've added the path to cc1.exe to the path (c:\mingw\libexec\gcc\mingw32\3.4.2 on my system) and so far Qt is compiling fine.
  • Go to the top of the page

4

Wednesday, March 28th 2007, 10:53pm

hi,
i had the same problem but now i get following errors:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-DQT_LITE_UNICODE -DQT_NO_DATASTREAM -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_UNI
CODETABLES -DQT_NO_LIBRARY -DQT_NO_SYSTEMLOCALE -DQT_NODLL -I"..\..\corelib\arch
\generic" -I"C:/dev/qt/include" -I"." -I"C:/dev/qt/include/QtCore" -I"C:/dev/qt/
include/QtXml" -I"..\..\3rdparty\zlib" -I"." -I"..\..\..\mkspecs\win32-g++" -o t
mp\obj\release_shared\crc32.o ..\..\3rdparty\zlib\crc32.c
In file included from ..\..\3rdparty\zlib\crc32.c:29:
..\..\3rdparty\zlib\/zutil.h:21:24: stddef.h: No such file or directory
..\..\3rdparty\zlib\/zutil.h:23:22: string.h: No such file or directory
..\..\3rdparty\zlib\/zutil.h:24:22: stdlib.h: No such file or directory
..\..\3rdparty\zlib\/zutil.h:38:23: errno.h: No such file or directory
..\..\3rdparty\zlib\crc32.c:36:24: limits.h: No such file or directory
mingw32-make[2]: *** [tmp\obj\release_shared\crc32.o] Error 1
mingw32-make[2]: Leaving directory `C:/dev/qt/src/tools/rcc'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `C:/dev/qt/src/tools/rcc'
mingw32-make: *** [debug-tools/rcc] Error 2


Os: vista
qt 4.2.3
mingw from qt installer

thanx for any help :)

my path:

Source code

1
2
3
4
5
6
7
8
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Co
mmon Files\GTK\2.0\bin;C:\dev\qt\bin;C:\dev\MinGW\bin;C:\dev\MinGW\libexec\gcc\m
ingw32\3.4.2;C:\dev\MinGW\include;C:\dev\qt\src\3rdparty\zlib;C:\dev\MinGW\lib\g
cc\mingw32\3.4.2\include;C:\Program Files\OpenVPN\bin;C:\Program Files\Common Fi
les\GTK\2.0\bin;C:\dev\qt\bin;C:\dev\MinGW\bin;C:\dev\MinGW\libexec\gcc\mingw32\
3.4.2;C:\dev\qt\bin;C:\dev\MinGW\bin;C:\Windows\System32;C:\dev\MinGW\include;C:
\Windows\System32 ;C:\dev\qt\bin;C:\dev\MinGW\bin;C:\Windows\System32;C:\dev\Min
GW\include;C:\Windows\System32
  • Go to the top of the page

Rate this thread