title: Using DirectX headers from Wine to compile under MingW
body: <p>I have been attempting to build HLSL shader support into <a href="http://www.videolan.org/vlc/index.html" rel="nofollow noreferrer">VLC</a> player. I have hit a brick wall due to lack of utility methods in d3d9.h in MingW to load a .fx file and compile the shader. So under advise from VLC developers I borrowed the DX9 headers from <a href="http://source.winehq.org/git/" rel="nofollow noreferrer">Wine</a>.</p>
  
  <p>Now with the d3dx9.h include enabled I have lots of compiler errors in the form:</p>
  
  <p>Description Resource    Path    Location    Type
  /mingw/lib/gcc/mingw32/3.4.5/../../../../include/d3dx9core.h declaration for parameter "D3DXCheckVersion" but no such parameter ShadedDXPlugin      line 475    C/C++ Problem</p>
  
  <p>Can any body familiar with MingW, GCC, DirectX and Wine shed some light on getting HLSL shaders working via GCC ?</p>