OBJ_Loader.h linking error when included in multiple files

222 Views Asked by At

I am using OBJ-Loader to load .obj. For my project, I need to include the OBJ_Loader.h in multiple files. It gives me the LNK2005 linking error on visual studio. It says something like "the object file is already defined". But if I include it twice in a single file, it works okay.

0

There are 0 best solutions below