Original Post
I am developing a Framework for use with OpenGL . But I've come across a problem about header files. So far my source files are WinApp.h,WinApp.cpp, GLRenderer.h, GLRenderer.cpp. I packed all common files(windows.h, string.h, etc) into a stdafx.h header. But whenever I try to include it in some files, compiler gives the error LNK1169 (multiple defined symbols)found in XXX.obj. How can I avoid this?