Windows 7 DirectX SDK [message #417310] |
Mon, 11 January 2010 14:10 |
|
Gen_Blacky
Messages: 3250 Registered: September 2006
Karma: 1
|
General (3 Stars) |
|
|
I tried installing DirectX SDK August 2006 but after i install it it corrupts my windows 7 and my screen will be black when i restart my pc. had to do a system restore. Can i use a newer version of directx sdk and still compile scripts.dll.
|
|
|
|
|
|
|
|
Re: Windows 7 DirectX SDK [message #417404 is a reply to message #417310] |
Tue, 12 January 2010 09:49 |
|
Gen_Blacky
Messages: 3250 Registered: September 2006
Karma: 1
|
General (3 Stars) |
|
|
I got two new errors when i changed 'd3d8_caps.h' in engine_d3d.h to 'd3d9_caps.h'
My linker looks exactly like yours and it still says it needs dx 2006.
engine_3dre.h(267) : error C2146: syntax error : missing ';' before identifier 'Caps'
engine_3dre.h(267) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
shaders.cpp(37) : fatal error C1189: #error : The Renegade shaders.dll requires the DirectX August 2006 SDK installed in order to produce a proper executable. If you wish to use a different version of the SDK, modify the delay load dll in linker settings to point to the newer d3dx.dll
I think it might because i did i system restore after installing 2006 and the files are still there so the lib and include files are still being added.
[Updated on: Tue, 12 January 2010 09:52] Report message to a moderator
|
|
|
|
Re: Windows 7 DirectX SDK [message #417417 is a reply to message #417411] |
Tue, 12 January 2010 11:51 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma: 0
|
General (1 Star) |
|
|
Omar007 wrote on Tue, 12 January 2010 13:08 | You either didnt change the line in shaders.cpp
#if D3DX_SDK_VERSION != 30
to
#if D3DX_SDK_VERSION != 41
Or because of you system restore you lost the newer version or w/e
|
That only would explain one error (the one with the fancy text). The other two are caused because you changed #include "d3d8_caps.h" to #include "d3d9_caps.h". Newer versions of the DirectX SDK don't really include D3D8 header files anymore, so you'll need to find that header (and all dependencies) on the intertubes and toss it in your shaders folder.
|
|
|
|
|