Reputation: 416
So i was working with kinect, my programs which i downloaded from the developer's kit were working fine. I simply downloaded the project and imported them to visual studio.
Then i wanted to try D3d color depth example. It stated that you need directx3D as a pre req. So i looked up and found out i need some windows sdk for it and i downloaded it.
Now i don't know what happened all of a sudden, but none of my programs actually work anymore they throw this error. I uninstalled what i downloaded but still nothing happens.
I'm new to kinect and c++ so i'm having problems in figuring out the problem. Please help me out.
EDIT: I got it working. I was getting an error installing 8.0 after i removed it, so i was only able to install 8.1 sdk. But then again when i looked at the VC++ directories it had somethings like this $(FrameworkSdkDir) which still was referring to windows 8 sdk. which was non existent. So what i did is, i simply copied the windows sdk from my friends computer and pasted in mine. And it got working. Since i couldn't find a perfect solution. I believe this could be of some help to those who were facing the same problem.
Upvotes: 0
Views: 101
Reputation: 801
It looks like you still have a version of Windows SDK present on your machine:
C:\Program Files (x86)\Windows Kits\8.0\Include\*
being the origin of your redefinition conflicts.
If no other Windows SDK entries remain in your installed programs list, I would try deleting the C:\Program Files (x86)\Windows Kits\8.0
directory (perhaps move it somewhere else in case something goes wrong).
You can always re-download the SDK, should you need it later (or VS start yelling at you).
Upvotes: 1