C++ Error

  • Thread starter Thread starter MrWicked
  • Start date Start date
M

MrWicked

Guest
ok well i tried to compile a premade cpp file that was in the hl2_hud directory and i got this error,

Compiling...
hud_ammo.cpp
c:\cssmod\src\cl_dll\hl2_hud\hud_ammo.cpp(7) : fatal error C1083: Cannot open include file: 'cbase.h': No such file or directory
Error executing cl.exe.

hud_ammo.exe - 1 error(s), 0 warning(s)

this happens with all my header files can someone help me try to configure my visual c++ compiler to find the headers. thanks
 
if u have visual studios 2003 then instead of loading cpp files load Game_sdk.sln with Microsoft Visual Sudios .NET 2003. Then build client and hl2 and voila it should all compile without a hitch
 
i have visual c++ 6 lol i also have VS .net 7 but it wont let me install saying some crap about prerequist disk i dont have :S
 
MrWicked said:
i have visual c++ 6 lol i also have VS .net 7 but it wont let me install saying some crap about prerequist disk i dont have :S


Someone get a naughty copy??? tssh tssh...
 
Those files are on the third CD... what? you don't have it? You should email Microsoft and tell them they didn't put the third CD in the VS.NET package.
 
Back
Top