Can´t find "hud.h", but It´s in there!! Created 5 years ago2019-02-05 18:08:52 UTC by abbadon abbadon

Created 5 years ago2019-02-05 18:08:52 UTC by abbadon abbadon

Posted 5 years ago2019-02-05 18:08:52 UTC Post #341975
Hi guys. I was trying to compile the client.dll after adding new files to the project, but It does not compile because... (sorry for the lenght)
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_backend.cpp(5) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_bloom.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_bloom.cpp(18) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_brushdecals.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_brushdecals.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_cull.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_cull.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_debug.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_debug.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_frustum.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_frustum.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_grass.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_grass.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_light.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_light.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_lightmap.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_lightmap.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_main.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_main.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_misc.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_misc.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_movie.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_movie.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_opengl.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_opengl.cpp(18) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_particle.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_particle.cpp(17) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_postprocess.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_postprocess.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_shader.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_shader.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_shadows.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_shadows.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_sprite.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_sprite.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_studio.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_studio.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_studiodecal.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_studiodecal.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_subview.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_subview.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_surf.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_surf.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_tempents.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_tempents.cpp(21) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_view.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_view.cpp(6) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_warp.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_warp.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_weather.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_weather.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
r_world.cpp
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\r_world.cpp(16) : fatal error C1083: Cannot open include file: 'hud.h': No such file or directory
But the hud.h is there, I did not touched it!! is in there!! look:
Wtf...Wtf...
I know it will look like a VERY basic mistake, but believe me if this don´t happen to me for some years now; Ok, maybe when I started to make disasters with the code in 2004, but I´m sure I know how to include a header file.

H-E-L-P :zomg:
Posted 5 years ago2019-02-05 18:26:26 UTC Post #341976
Check the "include directories" in the project's settings
Posted 5 years ago2019-02-05 21:06:17 UTC Post #341979
Eeemmmmm... I am using MSVC++ 6.0 (the "oldie goldie" one). The only "include" I found is in Tools > Options > And in "Project Settings" the only tabs I see are "General", "Debug","C/C++", "link","resources", "MIDL", "Browse Info", "custom build", "Pre-link step" and "post-build setup"... :\

Also, I have tried to cheat and create my own hud.h file renamed to hud1.h... but I have obtained the same 27 errors... :crowbar:

And if I put...

#include "..\hud.h"

The compiler throw this error that does not exist before!!

F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\utils.h(36) : error C2146: syntax error : missing ';' before identifier 'g_fRenderInitialized'
F:\DEVZWC20\ELEMENTOS BASICOS MAYO 2017\SINGLE-PLAYER SOURCE\cl_dll\renderer\utils.h(36) : fatal error C1004: unexpected end of file found

For this code in utils.h

extern int g_iXashEngineBuildNumber;
extern BOOL g_fRenderInitialized;

Lost... I am lost... If someone want to take a look to the source, I will be glad to give a link to download it,..
Posted 5 years ago2019-02-09 00:35:55 UTC Post #341993
Have you made any other modifications?
Does including other header files in the same directory work?
Posted 5 years ago2019-02-09 09:42:02 UTC Post #341997
No, every file is included, in fact there must be a problem of "location" of those files because if I move the lost header to another folder the problem disappear and other error pops out... I am still on it.
You must be logged in to post a response.