2009-10-07, 18:59
The August 2009 SDK for DX removed dxerr9.h entirely. So the two references to it in VideoReferenceClock.h and one other place will fail.
Building XBMC using it, gives build errors as a result.
It already looks like some preprocessor conditionals are in place to detect which header to use (dxerr9 or dxerr) but I think they aren't quite right.
The Aug2009 SDK has a DIRECT3D_VERSION of 0x0900 so building using it will fail with the current conditional.
I googled around, and it looks like dxerr.h has been in place as far back as 2007. So you could just use dxerr.h all the time. Or you can detect which SDK version you have and use that as the conditional to switch between the two.
I forced it to use dxerr.h when I compiled last night and saw no crashes.
Forgive me if my description is bad, but I'm pretty green with c++.
Building XBMC using it, gives build errors as a result.
It already looks like some preprocessor conditionals are in place to detect which header to use (dxerr9 or dxerr) but I think they aren't quite right.
The Aug2009 SDK has a DIRECT3D_VERSION of 0x0900 so building using it will fail with the current conditional.
I googled around, and it looks like dxerr.h has been in place as far back as 2007. So you could just use dxerr.h all the time. Or you can detect which SDK version you have and use that as the conditional to switch between the two.
I forced it to use dxerr.h when I compiled last night and saw no crashes.
Forgive me if my description is bad, but I'm pretty green with c++.