Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Shaders.dll Compiling Errors
Shaders.dll Compiling Errors [message #449300] Thu, 30 June 2011 23:34 Go to previous message
Intradox is currently offline  Intradox
Messages: 60
Registered: February 2011
Location: United States
Karma:
Recruit
Hello, I'm using Windows Visual Studio 2008, and have the March 2009 SDK installed as well. Now when I try to compile the shaders.dll I get this error:

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


Thats what happened after I set it up like in this thread, from this quote:

Omar007 wrote on Tue, 12 January 2010 04:07

You indeed have to update the linker to the new library (if it didnt by itself which it did for me Huh )



Also you'll have to modify a the import line 'd3d8_caps.h' in engine_d3d.h to 'd3d9_caps.h'
It will look like this after that;




I believe that was all but if you encounter another problem just post it here and ill take a look at it again ^^

EDIT: Oh i forgot to tell this;
In shaders.cpp change the line
#if D3DX_SDK_VERSION != 30

to
#if D3DX_SDK_VERSION != 41







Not pro enough at renegade to snipe.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Another Lua question
Next Topic: PATHING TROUBLE
Goto Forum:
  


Current Time: Sun Sep 01 16:20:09 MST 2024

Total time taken to generate the page: 0.00739 seconds