Hammer missing a bunch of textures.

I had an issue with compiling a map and hammer seems to be missing tons of textures for some reason. You can play the maps in game but the lightmaps arent correct with the missing textures.

materialPath: c:\program files\steam\steamapps\microd\half-life 2\hl2\materials
Loading C:\Users\Ian\Desktop\dm_steamlab_done.vmf
material “brick/brickwall026d” not found.
Material not found!: BRICK/BRICKWALL026D
ConVarRef mat_reduceparticles doesn’t point to an existing ConVar
material “brick/brickwall026f” not found.
Material not found!: BRICK/BRICKWALL026F
material “metal/citadel_metalwall077a_nospec” not found.
Material not found!: METAL/CITADEL_METALWALL077A_NOSPEC
“materials/nature/blendrockdirt005a_tooltexture.vtf”: cached version doesn’t exist
material “metal/metalwall058a” not found.
Material not found!: METAL/METALWALL058A
material “props/metalfilecabinet002a” not found.
Material not found!: PROPS/METALFILECABINET002A
material “wood/woodshelf003a” not found.
Material not found!: WOOD/WOODSHELF003A
Could not locate ‘GameData’ key in c:\program files\steam\steamapps\microd\half-life 2\hl2\gameinfo.txt

How do I go about fixing this?

If you made this map then you should have the all texture files in your hl2, if not there will be missing texture cause whoever made this he might use custom.

Ensure that hl2 is properly installed, verify files.