Can't build container
-
Hi,
I just installed QT 5.1.0 (kit: Desktop Qt 5.1.0 MinGW 32bit) on my windows 7 laptop. I created a subdirs project and then added a QT application project. I did not add any code or any file, projects contain just what wizard created by its own.
If I build the QT project , it is ok.
When I build the subdirs project, I get a two warnings and one error:- could not find /tmp, please create (warning, got it twice)
- [sub-primo-make first] Error 128 (primo is the QTproject name)
here the make output:
@16:26:32: Running steps for project Container...
16:26:32: Configuration unchanged, skipping qmake step.
16:26:32: Starting: "C:\Qt\Qt5.1.0\Tools\mingw48_32\bin\mingw32-make.exe"
C:/Qt/Qt5.1.0/5.1.0/mingw48_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile ../Container/Container.pro
bash.exe: warning: could not find /tmp, please create!
cd primo/ && ( test -e Makefile || C:/Qt/Qt5.1.0/5.1.0/mingw48_32/bin/qmake.exe C:/my/works/sft/QtCreator/Container/primo/primo.pro -spec win32-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile ) && C:/Qt/Qt5.1.0/Tools/mingw48_32/bin/mingw32-make -f Makefile
bash.exe: warning: could not find /tmp, please create!
/cygdrive/c/cygwin/bin/sh: line 1: 3312 Segmentation fault (core dumped) ( test -e Makefile || C:/Qt/Qt5.1.0/5.1.0/mingw48_32/bin/qmake.exe C:/my/works/sft/QtCreator/Container/primo/primo.pro -spec win32-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile )
makefile:39: recipe for target 'sub-primo-make_first' failed
mingw32-make: *** [sub-primo-make_first] Error 139
16:26:35: The process "C:\Qt\Qt5.1.0\Tools\mingw48_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project Container (kit: Desktop Qt 5.1.0 MinGW 32bit)
When executing step 'Make'
16:26:35: Elapsed time: 00:03.Someone can help ? Thanks.
-
Your build process is trying to use MSYS's bash.exe and Cygwin. How are you running the build?
Do you have another copy of MinGW or Cygwin installed on your computer?
- If you are building from an MSYS shell or Cygwin shell, don't. Use the Windows command prompt instead.
- If you are building from Qt Creator, try removing MinGW/Cygwin from your PATH first.