[Solved] Can't build Qt 5.1 alpha
-
I encountered a same error, no matter using nmake or using jom.
configured by:
@
configure -debug-and-release -opensource -nomake examples -nomake tests -nomake webkit
@The two folders qtwebkit and qtwebkit-examples-and-demos are renamed before building.
Errors:
@
c:\program files\microsoft directx sdk (february 2010)\include\d3d10effect.h(271
) : error C2146: syntax error : missing ';' before identifier 'Class'
c:\program files\microsoft directx sdk (february 2010)\include\d3d10effect.h(271
) : error C4430: missing type specifier - int assumed. Note: C++ does not suppor
t default-int
c:\program files\microsoft directx sdk (february 2010)\include\d3d10effect.h(271
) : error C4430: missing type specifier - int assumed. Note: C++ does not suppor
t default-int
c:\program files\microsoft directx sdk (february 2010)\include\d3d10effect.h(272
) : error C2146: syntax error : missing ';' before identifier 'Type'
c:\program files\microsoft directx sdk (february 2010)\include\d3d10effect.h(272
) : error C4430: missing type specifier - int assumed. Note: C++ does not suppor
t default-int
c:\program files\microsoft directx sdk (february 2010)\include\d3d10effect.h(272
) : error C4430: missing type specifier - int assumed. Note: C++ does not suppor
t default-int
c:\program files\microsoft directx sdk (february 2010)\include\d3d10effect.h(947
) : error C2061: syntax error : identifier 'D3D10_SIGNATURE_PARAMETER_DESC'
c:\program files\microsoft directx sdk (february 2010)\include\d3d10effect.h(948
) : error C2061: syntax error : identifier 'D3D10_SIGNATURE_PARAMETER_DESC'
....
....
....
==OMIT MANY ERRORS DUE TO FORUM LIMIT==
....
....
....
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
@It seems something related to DirectX (I'm building the ANGLE version) are lack or somehow. But I've installed "Microsoft DirectX SDK (February 2010)"
Anyone can help me?
Thank you !
-
I guess the “Microsoft DirectX SDK (February 2010)” may not be the correct version.
The link http://msdn.microsoft.com/en-us/directx/default.aspx given in the article http://qt-project.org/wiki/Building_Qt_5_from_Git redirect to http://msdn.microsoft.com/library/windows/apps/hh452744.aspx , which is a bit confusing.
Can someone give a link of DirectX SDK for me?
Thank you :)
-
found a link: http://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/DXSDK_Jun10.exe
downloading. I will post the building result tomorrow.
-
uninstall Microsoft DirectX SDK (February 2010), install a new DirectX SDK (June 2010), unzip a clear copy of source, configure and build, the problem solved.