This kind of error is often caused by defining a variable in a header file which is then included in multiple translation units (.cpp files).
one or more re definition in c++?
mc
4,576
Reputation points
struct IDXGIDevice1 *dxgiDevice (?dxgiDevice@@3PEAUIDXGIDevice1@@EA) already define in game.obj.
this is my code:
IDXGIDevice1* dxgiDevice = NULL;
why?