June 7, 2011

justinhj justinhj
Lab Rat
2 posts

make fails on fresh install of QT SDK

 

I googled for a solution to this problem (see errors below) and it seems to be related to the mingw path, but I don’t have anything about mingw in my path variable. This is a fresh install of QT Creator (2.20) QT (4.7.4) 32 bit on a Windows 7 machine

Running build steps for project desktop…
Starting: “e:\qtsdk\desktop\qt\4.7.3\mingw\bin\qmake.exe” E:\QtSDK\Examples\4.7\desktop\desktop.pro -r -spec win32-g++
Reading E:/QtSDK/Examples/4.7/desktop/screenshot/screenshot.pro [E:/QtSDK/Examples/4.7/desktop-build-desktop/screenshot]
Reading E:/QtSDK/Examples/4.7/desktop/systray/systray.pro [E:/QtSDK/Examples/4.7/desktop-build-desktop/systray]
The process “e:\qtsdk\desktop\qt\4.7.3\mingw\bin\qmake.exe” exited normally.
Starting: “E:\QtSDK\mingw\bin\mingw32-make.exe”
cd screenshot\ && E:/QtSDK/mingw/bin/mingw32-make -f Makefile
E:\QtSDK\mingw\bin\mingw32-make.exe: Interrupt/Exception caught (code = 0xc0000005, addr = 0×41f96e)
The process “E:\QtSDK\mingw\bin\mingw32-make.exe” exited with code 255.
Error while building project desktop (target: Desktop)
When executing build step ‘Make’

4 replies

June 7, 2011

leon.anavi leon.anavi
Mad Scientist
1044 posts

This shouldn’t be happening with the new version of Qt SDK but there was similar problem with older version. According to this article [qt-devnotes.blogspot.com] the problem might be related to PATH environment variable. Please check the provided link for details.

 Signature 

http://anavi.org/

June 7, 2011

Bradley Bradley
Lab Rat
314 posts

I encountered this same problem. It turned out to be having a git installation in the path.

 Signature 

Nokia Certified Qt Specialist.

June 8, 2011

justinhj justinhj
Lab Rat
2 posts

I’ve tried adding the following to my path and restarted the application. when i open a new dos window i can see the new entries…

e:\QtSDK\QtCreator\bin\;E:\QtSDK\mingw\bin\

same error

Running build steps for project desktop…
Configuration unchanged, skipping qmake step.
Starting: “E:\QtSDK\mingw\bin\mingw32-make.exe”
cd screenshot\ && E:/QtSDK/mingw/bin/mingw32-make -f Makefile
E:\QtSDK\mingw\bin\mingw32-make.exe: Interrupt/Exception caught (code = 0xc0000005, addr = 0×41f96e)
The process “E:\QtSDK\mingw\bin\mingw32-make.exe” exited with code 255.
Error while building project desktop (target: Desktop)
When executing build step ‘Make’

June 8, 2011

loladiro loladiro
Lab Rat
596 posts

Try using a clean build environment (e.g. the “Clear System Environment” option under Build Environment in the project settings in Qt Creator).

 
  ‹‹ machine-readable source code      How to find out how libraries are linked via otool ››

You must log in to post a reply. Not a member yet? Register here!