[Qt-interest] qt creator 2.0.94 , debugging helper error

Rainer Wiesenfarth Rainer.Wiesenfarth at inpho.de
Tue Jan 11 16:01:21 CET 2011


Am 11.01.2011 15:39, schrieb Qzi:
> Hi all , qt creator 2.0.94 , debugging helper error

First of all:
- please, do _not_ post megabytes of output - why should anyone want to 
read it, if you show us, that you did not read it? Ok, I did...
- please, do not post in HTML unless there is a good reason for it. 
Plain ASCII is sufficient for us here...

The for your problem:
It seems you are mixing environments, you use mingw/gcc build rules 
(mkspecs/win32-g++) with MS Visual Studio 2008 includes.

> /////////////////////////////////////////////////////////////////////////////////////////////
> Error running 'D:/Qt/2010.05/mingw/bin/mingw32-make.exe' in
> d:/Qt/2010.05/qt/qtc-debugging-helper/: The process returned exit code 2:
> D:/Qt/2010.05/mingw/bin/mingw32-make -f Makefile.Debug all
> mingw32-make[1]: Entering directory `d:/Qt/2010.05/qt/qtc-debugging-helper'
> g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE
> -DQT_LARGEFILE_SUPPORT -DUSE_QT_GUI=1 -DHAS_QOBJECT_P_H -DQT_DLL
> -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\include\QtCore"
> -I"..\include\QtGui" -I"..\include" -I"..\include\ActiveQt"
> -I"tmp\moc\debug_shared" -I"c:\Program Files\Microsoft
> SDKs\Windows\v6.1\Include" -I"d:\Program Files\Microsoft Visual Studio
> 9.0\VC\include" -I"d:\Program Files\OpenAL 1.1 SDK\include"
> -I"d:\OpenCV2.0\vs2008\include\opencv" -I"..\mkspecs\win32-g++" -o
> tmp\obj\debug_shared\gdbmacros.o gdbmacros.cpp
> [...]
> d:\Program Files\Microsoft Visual Studio 9.0\VC\include/string.h:141:
> warning: ignoring #pragma warning
>
> [hundreds of lines of (unneeded) messages]
>
> In file included from d:\Program Files\Microsoft Visual Studio
> 9.0\VC\include/stddef.h:22,
> from ..\include\QtCore/../../src/corelib/global/qglobal.h:45,
> from ..\include\QtCore/qglobal.h:1,
> from gdbmacros.cpp:30:
> d:\Program Files\Microsoft Visual Studio 9.0\VC\include/crtdefs.h:530:
> error: redeclaration of C++ built-in type 'wchar_t'
>
> [even more garbage]
>
> mingw32-make[1]: *** [tmp/obj/debug_shared/gdbmacros.o] Error 1
> mingw32-make[1]: Leaving directory `d:/Qt/2010.05/qt/qtc-debugging-helper'
> mingw32-make: *** [debug-all] Error 2

Best Regards / Mit freundlichen Grüßen
Rainer Wiesenfarth

-- 
INPHO GmbH * Smaragdweg 1 * 70174 Stuttgart * Germany
phone: +49 711 2288 10 * fax: +49 711 2288 111 * web: www.inpho.de
place of business: Stuttgart * managing director: Johannes Saile
commercial register: Stuttgart, HRB 9586
Leader in Photogrammetry and Digital Surface Modelling

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6050 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110111/94ef175d/attachment.bin 


More information about the Qt-interest-old mailing list