I am having some serious issues getting any Direct X 10 application to compile under mingw-64 ( I'm using rubenvb-4.7.1 build), getting hundred of errors coming from the direct x sdk headers such as
Microsoft DirectX SDK (June 2010)\Include/dxgi.h:286:13: error: '__in' has not been declared
I have looked online and i didn't find anything interesting, the only thing that catched my attention was this forum thread (first post and last post) but it is about Direct X 11 http://www.gamedev.net/topic/619239-directx-11-mingw-w64/
To reproduce this:
D3DXVECTOR2 x (1.1f, 32.1f);
oh it seems you need to use the headers provided by the headers provided by mingw64.