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 = 0x41f96e)
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' -
This shouldn't be happening with the new version of Qt SDK but there was similar problem with older version. According to "this article":http://qt-devnotes.blogspot.com/2010/01/cqt200905mingwbinmingw32-makeexe.html the problem might be related to PATH environment variable. Please check the provided link for details.
-
I encountered this same problem. It turned out to be having a git installation in the path.
-
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 = 0x41f96e)
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' -
Try using a clean build environment (e.g. the "Clear System Environment" option under Build Environment in the project settings in Qt Creator).