'd3dx9.h' is part of the DirectX API. You'll need to install that, too. Also, DirectX is "analogous" to OpenGL, but it only runs on Microsoft platforms.

Viggy