Hi
I'm writing a basic game, but when I try to compile it I get ~80 linker errors. Those linker errors are caused by some symbols that I include in a standard header file and gets redifend all the time.
I've tried to stop this by writing
Code:
#pragma once
and the normal
Code:
#ifndef _HEADER_FILE 
#define...
and rebuilt the whole thing 4 times but nothing seems to work.

This is an example of a linker error:
Code:
CGameApp.obj : error LNK2005: "struct D3DXCOLOR g_Black" (?g_Black@@3UD3DXCOLOR@@A) already defined in main.obj
All are quite similar. Everyone is about a global variable that I define in the header.
Would apreciate some help with this.

Thanks

Daniel