angle/libGLESv2 requires DirectX SDK?

126 views
Skip to first unread message

Daniel Clifford

unread,
Jul 28, 2010, 8:50:46 AM7/28/10
to apat...@chromium.org, chromium-dev
I updated to Chromium ToT this morning and my Windows build now fails. The re-land of the Chromium dependency on angle in r53810 generates a build error because it's missing the DirectX header d3dx9.h on my machine:

2>c:\Development\src\third_party\angle\src\libGLESv2/Shader.h(17) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
2>c:\Development\src\third_party\angle\src\libGLESv2/Program.h(13) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
3>lastchange - 0 error(s), 0 warning(s)
2>.\libGLESv2\Blit.cpp(11) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
2>c:\Development\src\third_party\angle\src\libGLESv2/Program.h(13) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
2>c:\Development\src\third_party\angle\src\libGLESv2/Program.h(13) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
2>c:\Development\src\third_party\angle\src\libGLESv2/Program.h(13) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory

Installing the June 2010 DirectX SDK solves the problem. Is it now a requirement to install the DirectX SDK to build chromium? Has the internal documentation been updated accordingly (I couldn't find it)?

Danno

Alastair Patrick

unread,
Jul 28, 2010, 1:19:26 PM7/28/10
to Daniel Clifford, apat...@chromium.org, chromium-dev
You're right, d3dx9.h isn't in the Platform SDK. Installing the
DirectX SDK is the correct solution. I'll update the prerequisite
instructions.

For those interested, D3DX9 is a dependency of ANGLE. ANGLE is an
implementation of OpenGL ES 2 and EGL on top of Direct3D 9. We are
using it for GPU accelerated compositing, WebGL and the 3D API exposed
to plugins on Windows.

Thanks

Al

Reply all
Reply to author
Forward
0 new messages