 
                                
                    
                        Re: Building Client.dll - cl_dll Project Corrupt?
                        Posted by StoneFrog on 
    Sun Nov 18th 2007 at 1:16am
                     
                    
                 
                
            
            
                
    
            3 posts
        0 snarkmarks
        Registered: 
    Nov 17th 2007
                     
                
                        For my mod, I've been using MSVC++ 6.0, as is suggested by most, to program. My hl.dll file builds perfectly. Alas, my client.dll (the thing in the cl_dll file) does not. The default project that is there, if I try to build it, I get these errors:
--------------------Configuration: cl_dll - Win32 Debug--------------------
Compiling...
GameStudioModelRenderer_Sample.cpp
d:\kenneth\sdk\single-player source\cl_dll\gamestudiomodelrenderer_sample.cpp(79) : error C2065: 'm_bLocal' : undeclared identifier
d:\kenneth\sdk\single-player source\cl_dll\gamestudiomodelrenderer_sample.cpp(89) : error C2509: 'StudioSetupBones' : member function not declared in 'CGameStudioModelRenderer'
        d:\kenneth\sdk\single-player source\cl_dll\gamestudiomodelrenderer.h(20) : see declaration of 'CGameStudioModelRenderer'
d:\kenneth\sdk\single-player source\cl_dll\gamestudiomodelrenderer_sample.cpp(290) : error C2509: 'StudioEstimateGait' : member function not declared in 'CGameStudioModelRenderer'
        d:\kenneth\sdk\single-player source\cl_dll\gamestudiomodelrenderer.h(20) : see declaration of 'CGameStudioModelRenderer'
d:\kenneth\sdk\single-player source\cl_dll\gamestudiomodelrenderer_sample.cpp(360) : error C2509: 'StudioProcessGait' : member function not declared in 'CGameStudioModelRenderer'
        d:\kenneth\sdk\single-player source\cl_dll\gamestudiomodelrenderer.h(20) : see declaration of 'CGameStudioModelRenderer'
d:\kenneth\sdk\single-player source\cl_dll\gamestudiomodelrenderer_sample.cpp(450) : error C2039: 'SavePlayerState' : is not a member of 'CGameStudioModelRenderer'
        d:\kenneth\sdk\single-player source\cl_dll\gamestudiomodelrenderer.h(20) : see declaration of 'CGameStudioModelRenderer'
d:\kenneth\sdk\single-player source\cl_dll\gamestudiomodelrenderer_sample.cpp(451) : fatal error C1903: unable to recover from previous error(s); stopping compilation
soundsystem.cpp
d:\kenneth\sdk\single-player source\common\r_studioint.h(136) : error C2629: unexpected 'void ('
d:\kenneth\sdk\single-player source\common\r_studioint.h(136) : error C2238: unexpected token(s) preceding ';'
Error executing cl.exe.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Debug\GameStudioModelRenderer_Sample.sbr': No such file or directory
Error executing bscmake.exe.
client.dll - 9 error(s), 0 warning(s)
I'm using the 2.3 Half-Life SDK, the source version that lacks the tools. Do I need to tweak the default client project? If so, how? I am still relatively new to Half-Life modding and am unsure how to declare the stuff.
I believe that is all pertaining to Hammer's 3D view regarding models, though I'm not sure why it's having all these declaration errors.
Help would be appreciated!
                                    
             
        
            
            
                                     
                                
                    
                        Re: Building Client.dll - cl_dll Project Corrupt?
                        Posted by StoneFrog on 
    Fri Nov 30th 2007 at 11:35pm
                     
                    
                        
                        Posted 
    2007-11-30 11:35pm
                     
                 
                
            
            
                
    
            3 posts
        0 snarkmarks
        Registered: 
    Nov 17th 2007
                     
                
                        I know that they're errors, but I don't know how to fix them. I'm fairly new to coding, though I've been able to do several new things in the hl.dll project, I even made some new monsters and whatnot.
I just can't get the cl_dll to work though, because of those GameStudioRender errors!
                                    
             
        
            
            
                                     
                                
                    
                        Re: Building Client.dll - cl_dll Project Corrupt?
                        Posted by Crono on 
    Sat Dec 1st 2007 at 11:29am
                     
                    
                        
                        Posted 
    2007-12-01 11:29am
                     
                 
                
            
            
                
    
                    
                             Crono
                            Crono
            
                        super admin
     
            6628 posts
        700 snarkmarks
        Registered: 
    Dec 19th 2003
                            Location: Oregon, USA
             
                
                        Get them straight. Because they're not the same thing.
                                            
                        Blame it on Microsoft, God does.
                                    
             
        
            
            
                                     
                                
                    
                        Re: Building Client.dll - cl_dll Project Corrupt?
                        Posted by Crono on 
    Sat Dec 1st 2007 at 12:03pm
                     
                    
                        
                        Posted 
    2007-12-01 12:03pm
                     
                 
                
            
            
                
    
                    
                             Crono
                            Crono
            
                        super admin
     
            6628 posts
        700 snarkmarks
        Registered: 
    Dec 19th 2003
                            Location: Oregon, USA
             
                
                        No they're not, and I'm not explaining why, because I know it's above your knowledge level right now.
                                            
                        Blame it on Microsoft, God does.
                                    
             
        
            
            
                                     
                                
                    
                        Re: Building Client.dll - cl_dll Project Corrupt?
                        Posted by fishy on 
    Sat Dec 1st 2007 at 9:59pm
                     
                    
                 
                
            
            
                
    
                    
                             fishy
                            fishy
            
                        member
     
            2623 posts
        1476 snarkmarks
        Registered: 
    Sep 7th 2003
                            Location: glasgow
             
                
                        who else would use an idiots guide to 'anything' in an arguement with Crono; but coding! hah, nice one aaron. :razz:
/offtopic
                                            
                        i eat paint
                                    
             
        
            
            
                                     
                                
                    
                        Re: Building Client.dll - cl_dll Project Corrupt?
                        Posted by Crono on 
    Sat Dec 1st 2007 at 10:02pm
                     
                    
                        
                        Posted 
    2007-12-01 10:02pm
                     
                 
                
            
            
                
    
                    
                             Crono
                            Crono
            
                        super admin
     
            6628 posts
        700 snarkmarks
        Registered: 
    Dec 19th 2003
                            Location: Oregon, USA
             
                
                        Remember that "A lot of C++ books are wrong" discussion we had? Welcome to the world of misinformation.
The difference between a declaration and a prototype is that a declaration is something you define when you declare it, like a variable or type. They need no further information on how to be used ... unlike a function.
The only time you can say a function is a declaration is in the new age thinking of object orientation where variables are fields and functions are methods, in which case, it's a method declaration. But, that's still in the instance where it's used in a class structure and not on its own.
                                            
                        Blame it on Microsoft, God does.
                                    
             
        
            
            
                                     
                                
                    
                        Re: Building Client.dll - cl_dll Project Corrupt?
                        Posted by Crono on 
    Sat Dec 1st 2007 at 11:00pm
                     
                    
                        
                        Posted 
    2007-12-01 11:00pm
                     
                 
                
            
            
                
    
                    
                             Crono
                            Crono
            
                        super admin
     
            6628 posts
        700 snarkmarks
        Registered: 
    Dec 19th 2003
                            Location: Oregon, USA
             
                
                        Not only is this someone else's thread ... but it's in the editing forum. If you want people to look at your work put it where it belongs.
Lots of books are wrong, ESPECIALLY in the world of technology (well software, anyway, it's kind of hard to be wrong about hardware). The only reason why other similar books are correct, like Math or Physics or something like that is because they're far more defined and older.
But, books on language have the same issues.
Just wait, you'll run across stuff that is wrong for more than a language semantics issue. It'll flat out not work and the author will use it as some crutch to explain everything with and the entire book will not make sense because of it.
I wonder if that guy tried my suggestions.
                                            
                        Blame it on Microsoft, God does.