Page 1 of 1

last man standing prob :(

PostPosted: Sat Oct 27, 2007 2:42 pm
by wyl3

I followed the last man standing tut

and half way through this tut (done a quick compile all was well ) you have to do this one

the prob im having is a compile error
c:\src\dlls\mapfilter.h(35) : error C2976: 'CUtlSortVector' : too few template arguments

this is the 1st error, 32 in total but it's the same line you go back to when you click the errors :(
// our list of entities to keep
CUtlSortVector< const char* > *keepList;

which is the bottom of the mapfilter.h file

im not sure if i have to add the keeplist to the CUtlSortVector.h file i have tried to but then get serious amount of errors.

just dont know how to add keeplist to CUtlSortVector

You can see the mapfilter.h file in the tut and i have put the CUtlSortVextor file here

any help or advice much appreciated

Re: last man standing prob :(

PostPosted: Sun Oct 28, 2007 2:36 pm
by Bob
I really dont know that can be said about that tutorial. its definitely a relic. I would suggest that you hit the dev wiki or something because those folks seem to have found some issues with it. I have no clue what is causing that one error, but if you could post the other errors i may be able to read it better. And even higher possibility if you can post code.