This is probably a very stuipd question, but I hope it's an easy fix. I'm trying to include cbase.h but VS isn't going to let me. I have tons of redeclaration errors like:
Code:
1>c:\sdk\hl2sdk\public\mathlib/math_base.h(1215) : error C2084: function 'bool QuickBoxSphereTest(const Vector &,float,const Vector &,const Vector &)' already has a body
1> C:\sdk\hl2sdk-ob-valve\public\mathlib/mathlib.h(1342) : see previous definition of 'QuickBoxSphereTest'
It stopped at 100 errors, and those were all in mathlib.h. I am including cbase.h like this:
#define GAME_DLL 1
#include "cbase.h"
Thanks for any help! I probably screwed up my include paths or something like that.