I'm getting the following error (and many more) when trying to compile Qt 4.5.2 with GCC 3.4.5 on Windows Vista:
I have VS2008 installed and see there are some include files being pulled from it. I think that's not how it should be but have no clue how to fix it.In file included from c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/INCLUDE/excpt.h:22,
from c:/Program Files/Microsoft SDKs/Windows/v6.0A/include/windows.h:151,
from ../../include/QtCore/../../src/corelib/global/qt_windows.h:56,
from ../../include/QtCore/qt_windows.h:1,
from qtmain_win.cpp:40:
c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/INCLUDE/crtdefs.h:530: error: redeclaration of C++ built-in type `short'
c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/INCLUDE/crtdefs.h:574: error: `__int64' does not name a type
c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/INCLUDE/crtdefs.h:582: error: `__time64_t' does not name a type
Any ideas?
Bookmarks