| Shaders.dll Compiling Errors | |
|
Author | Message |
---|
Intradox        
Number of posts : 74
Age : 34
Reputation : 0
Registration date : 2011-02-16
| Subject: Shaders.dll Compiling Errors Sat Jul 02, 2011 5:06 am | |
| Hello, I have tried to compile the shaders.dll file because I wanted to add the D6 Hud, the stealth wire frame effect and the rotating weapon list together; however I cannot compile it for some reason. I made a thread at renegadeforums.com and nobody could figure out what was wrong, if you'd like to see the thread, it's here.
Anyways, I was wondering if anyone could compile this source for me, its located here.
But if nobody wants to, that okay, I was just wondering if anybody could sense I can't for some reason.
Last edited by Intradox on Sat Jul 02, 2011 11:15 am; edited 1 time in total |
|
| |
Good-One-Driver        
Number of posts : 877
Age : 32
Reputation : 11
Registration date : 2009-08-03
| Subject: Re: Shaders.dll Compiling Errors Sat Jul 02, 2011 6:40 am | |
| Hmm are you just copy + pasting?
If that is reason then you must check to see if you don't have same lines written multiple times.
What is the error code? |
|
| |
Intradox        
Number of posts : 74
Age : 34
Reputation : 0
Registration date : 2011-02-16
| Subject: Re: Shaders.dll Compiling Errors Sat Jul 02, 2011 7:00 am | |
| No I manually edited the files I needed to, and here is the compiling error I get: - Code:
-
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 |
|
| |
Intradox        
Number of posts : 74
Age : 34
Reputation : 0
Registration date : 2011-02-16
| Subject: Re: Shaders.dll Compiling Errors Sun Jul 03, 2011 8:56 am | |
| Anyone? Sorry for the bump, just curious.. :p |
|
| |
Good-One-Driver        
Number of posts : 877
Age : 32
Reputation : 11
Registration date : 2009-08-03
| Subject: Re: Shaders.dll Compiling Errors Sun Jul 03, 2011 3:09 pm | |
| Okay I have seen this error before but not with shaders. you have a line with a ; at a begining where it should not be. or where it should be. |
|
| |
Intradox        
Number of posts : 74
Age : 34
Reputation : 0
Registration date : 2011-02-16
| Subject: Re: Shaders.dll Compiling Errors Sun Jul 03, 2011 4:48 pm | |
| Okay well in engine_3dre.h, on line 267, it says - Code:
-
D3DCAPS8 Caps; So I changed it to: - Code:
-
D3DCAPS8; Caps; and so I no longer get this error: - Code:
-
engine_3dre.h(267) : error C2146: syntax error : missing ';' before identifier 'Caps' But of course now I have the other error and have noticed new errors (the new errors were there before but I didn't notice them): - Code:
-
error C2039: 'Caps' : is not a member of 'DX8Caps' error C2228: left of '.TextureOpCaps' must have class/struct/union error C4430: missing type specifier - int assumed. Note: C++ does not support default-int |
|
| |
Intradox        
Number of posts : 74
Age : 34
Reputation : 0
Registration date : 2011-02-16
| Subject: Re: Shaders.dll Compiling Errors Mon Jul 04, 2011 4:20 pm | |
| Okay, well I'm a complete idiot I forgot the line: - Code:
-
D3DCAPS8 Caps; was depreciated and is now: - Code:
-
D3DCAPS9 Caps; So problem solved, thanks for the help though. |
|
| |
Good-One-Driver        
Number of posts : 877
Age : 32
Reputation : 11
Registration date : 2009-08-03
| Subject: Re: Shaders.dll Compiling Errors Tue Jul 05, 2011 9:00 am | |
| |
|
| |
Sponsored content        
| Subject: Re: Shaders.dll Compiling Errors | |
| |
|
| |
| Shaders.dll Compiling Errors | |
|