Raised This Month: $ Target: $400
 0% 

sourcehook troubles


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
setigamer
New Member
Join Date: Sep 2006
Old 09-12-2006 , 22:26   sourcehook troubles
Reply With Quote #1

I'm trying to compile the base sourcemm and am running into a whole host of problems with sourcehook.h. I'm using Visual Studio .NET 2002 (version 7.00). I've tripple checked my includes and setup.

c:\metamod\src\metamod\sourcehook\sourcehook. h(320) : error C2065: 'T' : undeclared identifier
c:\metamod\src\metamod\sourcehook\sourcehook. h(320) : error C2059: syntax error : '>'
c:\metamod\src\metamod\sourcehook\sourcehook. h(321) : error C2143: syntax error : missing ';' before '{'
c:\metamod\src\metamod\sourcehook\sourcehook. h(323) : error C2143: syntax error : missing ';' before '{'

Those errors continue endlessly. I've read through the code a hundred times and CANNOT see anything wrong. Any ideas? Any help is appreciated.

Last edited by setigamer; 09-12-2006 at 22:30.
setigamer is offline
BAILOPAN
Join Date: Jan 2004
Old 09-13-2006 , 02:09   Re: sourcehook troubles
Reply With Quote #2

Visual Studio .NET 2002 has broken template support. It does not support template specialization. I highly recommend you upgrade to 2003 as it greatly increases standards compliance (2003 is also the version the Valve SDK is made to compile on).

If you can't get VS2k3, MM:S fully supports MSVC8 and has a ported copy of the HL2SDK for MSVC8 as well (thanks to Damaged Soul). So you can use Visual C++ .NET 2005 Express Edition, which is free.
__________________
egg
BAILOPAN is offline
setigamer
New Member
Join Date: Sep 2006
Old 09-13-2006 , 04:42   Re: sourcehook troubles
Reply With Quote #3

sweet. thanks very much bailopan. i was going absolutely crazy over this wondering wtf i was missing.
setigamer is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode