You have a type redefinition going on, try fiddling your headers.
For example if you have this:
Code:
#include <d3d.h>
#include <d3d9x.h>
// try changing it to:
#include <d3d9x.h>
#include <d3d.h>
If you've tried all combinations, try googeling to see if there's a bug that specific sdk version (june 2010). These problems have three likely causes:
Someone has forgotten to protect his/her header against multiple inclusion (though this often produces linker errors)
Someone has used the same #ifndef/#define definition in his header file
A mistake has been made by them
/anyone and as a result the file is now corrupt ( missing ';', ')' or '(' )
Also if you're building for metro, you need a newer sdk, 2010 is not compatible.