Jump to content
  • Advertisement
Sign in to follow this  
neebee

my header guards won't work (vc++9)

This topic is 3260 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hey. I moved my project from DEVCPP to Visual C++ 2008 express edition. now I get the this error in nearly everything: error LNK2005: ... already defined in ... I have my #ifndef guards, I tried #pragma once. not used anything in header without extern. but I keep getting this error message for any header that I include in more than 1 file.. am I missing anything?

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by EmrldDrgn
Are you defining functions in your header file? Defining, not declaring.


nope. it's all stuff of gl_ext.h like:

typedef void (APIENTRY * PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);

or

extern PFNGLTEXIMAGE3DPROC glTexImage3D;

etc.

Share this post


Link to post
Share on other sites
LNK (linker) errors happen when several translation units are linked together. Since the preprocessor runs independently for each translation unit, it cannot prevent a given entity from being defined in more than one translation unit.

Can you give an example of multiple definition and the code for that entity in the header?

Share this post


Link to post
Share on other sites
ok let me send the code and error...

I've got my own gl_ext:



#ifndef MY_GL_EXT_H_INCLUDED__
#define MY_GL_EXT_H_INCLUDED__

#include <windows.h>
#include <gl/gl.h>

namespace ns_one {

namespace ns_two {

/* OpenGL 1.2 */

#define GL_BGR 0x80E0
#define GL_BGRA 0x80E1

#define GL_TEXTURE_3D 0x806F

#define GL_UNSIGNED_BYTE_3_3_2 0x8032
#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
#define GL_UNSIGNED_INT_8_8_8_8 0x8035
#define GL_UNSIGNED_INT_10_10_10_2 0x8036
#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
#define GL_UNSIGNED_SHORT_5_6_5 0x8363
#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368

#define GL_CLAMP_TO_EDGE 0x812F


typedef void (APIENTRY * PFNGLTEXIMAGE3DPROC)
(GLenum target, GLint level, GLint internalformat, GLsizei width,
GLsizei height, GLsizei depth, GLint border, GLenum format,
GLenum type, const GLvoid *pixels);

typedef void (APIENTRY * PFNGLTEXSUBIMAGE3DPROC)
(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset,
GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type,
const GLvoid *pixels);


extern PFNGLTEXIMAGE3DPROC glTexImage3D;
extern PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D;


/* OpenGL 1.3 */

#define GL_TEXTURE0 0x84C0
#define GL_TEXTURE1 0x84C1
#define GL_TEXTURE2 0x84C2
#define GL_TEXTURE3 0x84C3
#define GL_TEXTURE4 0x84C4
#define GL_TEXTURE5 0x84C5
#define GL_TEXTURE6 0x84C6
#define GL_TEXTURE7 0x84C7
#define GL_TEXTURE8 0x84C8
#define GL_TEXTURE9 0x84C9
#define GL_TEXTURE10 0x84CA
#define GL_TEXTURE11 0x84CB
#define GL_TEXTURE12 0x84CC
#define GL_TEXTURE13 0x84CD
#define GL_TEXTURE14 0x84CE
#define GL_TEXTURE15 0x84CF
#define GL_TEXTURE16 0x84D0
#define GL_TEXTURE17 0x84D1
#define GL_TEXTURE18 0x84D2
#define GL_TEXTURE19 0x84D3
#define GL_TEXTURE20 0x84D4
#define GL_TEXTURE21 0x84D5
#define GL_TEXTURE22 0x84D6
#define GL_TEXTURE23 0x84D7
#define GL_TEXTURE24 0x84D8
#define GL_TEXTURE25 0x84D9
#define GL_TEXTURE26 0x84DA
#define GL_TEXTURE27 0x84DB
#define GL_TEXTURE28 0x84DC
#define GL_TEXTURE29 0x84DD
#define GL_TEXTURE30 0x84DE
#define GL_TEXTURE31 0x84DF

#define GL_TEXTURE_CUBE_MAP 0x8513
#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A

#define GL_MAX_TEXTURE_UNITS 0x84E2


typedef void (APIENTRY* PFNGLCLIENTACTIVETEXTUREPROC)
(GLenum texture);

typedef void (APIENTRY* PFNGLACTIVETEXTUREPROC)
(GLenum texture);

extern PFNGLCLIENTACTIVETEXTUREPROC glClientActiveTexture;
extern PFNGLACTIVETEXTUREPROC glActiveTexture;

/* OpenGL 1.4 */

#define GL_GENERATE_MIPMAP 0x8191

/* OpenGL 1.5 */

#define GL_ARRAY_BUFFER 0x8892
#define GL_ELEMENT_ARRAY_BUFFER 0x8893

#define GL_STREAM_DRAW 0x88E0
#define GL_STREAM_READ 0x88E1
#define GL_STREAM_COPY 0x88E2
#define GL_STATIC_DRAW 0x88E4
#define GL_STATIC_READ 0x88E5
#define GL_STATIC_COPY 0x88E6
#define GL_DYNAMIC_DRAW 0x88E8
#define GL_DYNAMIC_READ 0x88E9
#define GL_DYNAMIC_COPY 0x88EA

typedef long int GLintptr;

typedef long int GLsizeiptr;

typedef void (APIENTRY * PFNGLBINDBUFFERPROC)
(GLenum target, GLuint buffer);

typedef void (APIENTRY * PFNGLDELETEBUFFERSPROC)
(GLsizei n, const GLuint *buffers);

typedef void (APIENTRY * PFNGLGENBUFFERSPROC)
(GLsizei n, GLuint *buffers);

typedef void (APIENTRY * PFNGLBUFFERDATAPROC)
(GLenum target, int size, const GLvoid *data, GLenum usage);

typedef void (APIENTRY * PFNGLBUFFERSUBDATAPROC)
(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);


extern PFNGLGENBUFFERSPROC glGenBuffers;
extern PFNGLBINDBUFFERPROC glBindBuffer;
extern PFNGLBUFFERDATAPROC glBufferData;
extern PFNGLDELETEBUFFERSPROC glDeleteBuffers;
extern PFNGLBUFFERSUBDATAPROC glBufferSubData;


/* OpenGL 2.0 */

#define GL_VERTEX_SHADER 0x8B31
#define GL_FRAGMENT_SHADER 0x8B30

#define GL_MAX_VERTEX_ATTRIBS 0x8869

typedef char GLchar;

typedef GLuint (APIENTRY * PFNGLCREATEPROGRAMPROC)
(void);

typedef void (APIENTRY * PFNGLLINKPROGRAMPROC)
(GLuint program);

typedef void (APIENTRY * PFNGLUSEPROGRAMPROC)
(GLuint program);

typedef void (APIENTRY * PFNGLDELETEPROGRAMPROC)
(GLuint program);

typedef void (APIENTRY * PFNGLGETPROGRAMINFOLOGPROC)
(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);

typedef GLuint (APIENTRY * PFNGLCREATESHADERPROC)
(GLenum type);

typedef void (APIENTRY * PFNGLCOMPILESHADERPROC)
(GLuint shader);

typedef void (APIENTRY * PFNGLATTACHSHADERPROC)
(GLuint program, GLuint shader);

typedef void (APIENTRY * PFNGLSHADERSOURCEPROC)
(GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);

typedef void (APIENTRY * PFNGLDETACHSHADERPROC)
(GLuint program, GLuint shader);

typedef void (APIENTRY * PFNGLDELETESHADERPROC)
(GLuint shader);

typedef void (APIENTRY * PFNGLGETSHADERINFOLOGPROC)
(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);

typedef void (APIENTRY * PFNGLENABLEVERTEXATTRIBARRAYPROC)
(GLuint index);

typedef void (APIENTRY * PFNGLDISABLEVERTEXATTRIBARRAYPROC)
(GLuint index);

typedef void (APIENTRY * PFNGLVERTEXATTRIBPOINTERPROC)
(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);

typedef void (APIENTRY * PFNGLBINDATTRIBLOCATIONPROC)
(GLuint program, GLuint index, const GLchar *name);

typedef GLint (APIENTRY * PFNGLGETUNIFORMLOCATIONPROC)
(GLuint program, const GLchar *name);

typedef void (APIENTRY * PFNGLUNIFORM1FPROC)
(GLint location, GLfloat v0);

typedef void (APIENTRY * PFNGLUNIFORM2FPROC)
(GLint location, GLfloat v0, GLfloat v1);

typedef void (APIENTRY * PFNGLUNIFORM3FPROC)
(GLint location, GLfloat v0, GLfloat v1, GLfloat v2);

typedef void (APIENTRY * PFNGLUNIFORM4FPROC)
(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);

typedef void (APIENTRY * PFNGLUNIFORM1IPROC)
(GLint location, GLint v0);

typedef void (APIENTRY * PFNGLUNIFORM2IPROC)
(GLint location, GLint v0, GLint v1);

typedef void (APIENTRY * PFNGLUNIFORM3IPROC)
(GLint location, GLint v0, GLint v1, GLint v2);

typedef void (APIENTRY * PFNGLUNIFORM4IPROC)
(GLint location, GLint v0, GLint v1, GLint v2, GLint v3);

typedef void (APIENTRY * PFNGLUNIFORM1IVPROC)
(GLint location, GLsizei count, const GLint *value);

typedef void (APIENTRY * PFNGLUNIFORM2IVPROC)
(GLint location, GLsizei count, const GLint *value);

typedef void (APIENTRY * PFNGLUNIFORM3IVPROC)
(GLint location, GLsizei count, const GLint *value);

typedef void (APIENTRY * PFNGLUNIFORM4IVPROC)
(GLint location, GLsizei count, const GLint *value);

typedef void (APIENTRY * PFNGLUNIFORM1FVPROC)
(GLint location, GLsizei count, const GLfloat *value);

typedef void (APIENTRY * PFNGLUNIFORM2FVPROC)
(GLint location, GLsizei count, const GLfloat *value);

typedef void (APIENTRY * PFNGLUNIFORM3FVPROC)
(GLint location, GLsizei count, const GLfloat *value);

typedef void (APIENTRY * PFNGLUNIFORM4FVPROC)
(GLint location, GLsizei count, const GLfloat *value);

typedef void (APIENTRY * PFNGLUNIFORMMATRIX2FVPROC)
(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);

typedef void (APIENTRY * PFNGLUNIFORMMATRIX3FVPROC)
(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);

typedef void (APIENTRY * PFNGLUNIFORMMATRIX4FVPROC)
(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);

extern PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray;
extern PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray;
extern PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer;
extern PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation;

extern PFNGLCREATEPROGRAMPROC glCreateProgram;
extern PFNGLLINKPROGRAMPROC glLinkProgram;
extern PFNGLUSEPROGRAMPROC glUseProgram;
extern PFNGLDELETEPROGRAMPROC glDeleteProgram;
extern PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog;
extern PFNGLCREATESHADERPROC glCreateShader;
extern PFNGLCOMPILESHADERPROC glCompileShader;
extern PFNGLATTACHSHADERPROC glAttachShader;
extern PFNGLSHADERSOURCEPROC glShaderSource;
extern PFNGLDETACHSHADERPROC glDetachShader;
extern PFNGLDELETESHADERPROC glDeleteShader;
extern PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog;

extern PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation;
extern PFNGLUNIFORM1FPROC glUniform1f;
extern PFNGLUNIFORM2FPROC glUniform2f;
extern PFNGLUNIFORM3FPROC glUniform3f;
extern PFNGLUNIFORM4FPROC glUniform4f;
extern PFNGLUNIFORM1IPROC glUniform1i;
extern PFNGLUNIFORM2IPROC glUniform2i;
extern PFNGLUNIFORM3IPROC glUniform3i;
extern PFNGLUNIFORM4IPROC glUniform4i;
extern PFNGLUNIFORM1IVPROC glUniform1iv;
extern PFNGLUNIFORM2IVPROC glUniform2iv;
extern PFNGLUNIFORM3IVPROC glUniform3iv;
extern PFNGLUNIFORM4IVPROC glUniform4iv;
extern PFNGLUNIFORM1FVPROC glUniform1fv;
extern PFNGLUNIFORM2FVPROC glUniform2fv;
extern PFNGLUNIFORM3FVPROC glUniform3fv;
extern PFNGLUNIFORM4FVPROC glUniform4fv;
extern PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv;
extern PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv;
extern PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv;

/* OpenGL 2.1 */

#define GL_PIXEL_PACK_BUFFER 0x88EB
#define GL_PIXEL_UNPACK_BUFFER 0x88EC
#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF


/* EXT */

#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF

/* WGL */

typedef bool (APIENTRY * PFNWGLSWAPINTERVALFARPROC)(int);

extern PFNWGLSWAPINTERVALFARPROC wglSwapIntervalEXT;

static void init_gl_extensions();

}
}

#endif




as you can see there's nothing that is not extern or static in this one (my_gl_ext.h).

When I include this header from couple of files: main.cpp, core.cpp, animation_circular.cpp, etc...

I get the error list:



1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glTexImage3D)(unsigned int,int,int,int,int,int,int,unsigned int,unsigned int,void const *)" (?glTexImage3D@ns_two@ns_one@@3P6GXIHHHHHHIIPBX@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glTexSubImage3D)(unsigned int,int,int,int,int,int,int,int,unsigned int,unsigned int,void const *)" (?glTexSubImage3D@ns_two@ns_one@@3P6GXIHHHHHHHIIPBX@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glClientActiveTexture)(unsigned int)" (?glClientActiveTexture@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glActiveTexture)(unsigned int)" (?glActiveTexture@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGenBuffers)(int,unsigned int *)" (?glGenBuffers@ns_two@ns_one@@3P6GXHPAI@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBindBuffer)(unsigned int,unsigned int)" (?glBindBuffer@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBufferData)(unsigned int,int,void const *,unsigned int)" (?glBufferData@ns_two@ns_one@@3P6GXIHPBXI@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteBuffers)(int,unsigned int const *)" (?glDeleteBuffers@ns_two@ns_one@@3P6GXHPBI@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBufferSubData)(unsigned int,long,long,void const *)" (?glBufferSubData@ns_two@ns_one@@3P6GXIJJPBX@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glEnableVertexAttribArray)(unsigned int)" (?glEnableVertexAttribArray@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDisableVertexAttribArray)(unsigned int)" (?glDisableVertexAttribArray@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glVertexAttribPointer)(unsigned int,int,unsigned int,unsigned char,int,void const *)" (?glVertexAttribPointer@ns_two@ns_one@@3P6GXIHIEHPBX@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBindAttribLocation)(unsigned int,unsigned int,char const *)" (?glBindAttribLocation@ns_two@ns_one@@3P6GXIIPBD@ZA) already defined in core.obj
1>info.obj : error LNK2005: "unsigned int (__stdcall* ns_one::ns_two::glCreateProgram)(void)" (?glCreateProgram@ns_two@ns_one@@3P6GIXZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glLinkProgram)(unsigned int)" (?glLinkProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUseProgram)(unsigned int)" (?glUseProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteProgram)(unsigned int)" (?glDeleteProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGetProgramInfoLog)(unsigned int,int,int *,char *)" (?glGetProgramInfoLog@ns_two@ns_one@@3P6GXIHPAHPAD@ZA) already defined in core.obj
1>info.obj : error LNK2005: "unsigned int (__stdcall* ns_one::ns_two::glCreateShader)(unsigned int)" (?glCreateShader@ns_two@ns_one@@3P6GII@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glCompileShader)(unsigned int)" (?glCompileShader@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glAttachShader)(unsigned int,unsigned int)" (?glAttachShader@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glShaderSource)(unsigned int,int,char const * *,int const *)" (?glShaderSource@ns_two@ns_one@@3P6GXIHPAPBDPBH@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDetachShader)(unsigned int,unsigned int)" (?glDetachShader@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteShader)(unsigned int)" (?glDeleteShader@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGetShaderInfoLog)(unsigned int,int,int *,char *)" (?glGetShaderInfoLog@ns_two@ns_one@@3P6GXIHPAHPAD@ZA) already defined in core.obj
1>info.obj : error LNK2005: "int (__stdcall* ns_one::ns_two::glGetUniformLocation)(unsigned int,char const *)" (?glGetUniformLocation@ns_two@ns_one@@3P6GHIPBD@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1f)(int,float)" (?glUniform1f@ns_two@ns_one@@3P6GXHM@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2f)(int,float,float)" (?glUniform2f@ns_two@ns_one@@3P6GXHMM@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3f)(int,float,float,float)" (?glUniform3f@ns_two@ns_one@@3P6GXHMMM@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4f)(int,float,float,float,float)" (?glUniform4f@ns_two@ns_one@@3P6GXHMMMM@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1i)(int,int)" (?glUniform1i@ns_two@ns_one@@3P6GXHH@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2i)(int,int,int)" (?glUniform2i@ns_two@ns_one@@3P6GXHHH@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3i)(int,int,int,int)" (?glUniform3i@ns_two@ns_one@@3P6GXHHHH@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4i)(int,int,int,int,int)" (?glUniform4i@ns_two@ns_one@@3P6GXHHHHH@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1iv)(int,int,int const *)" (?glUniform1iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2iv)(int,int,int const *)" (?glUniform2iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3iv)(int,int,int const *)" (?glUniform3iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4iv)(int,int,int const *)" (?glUniform4iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1fv)(int,int,float const *)" (?glUniform1fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2fv)(int,int,float const *)" (?glUniform2fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3fv)(int,int,float const *)" (?glUniform3fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4fv)(int,int,float const *)" (?glUniform4fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix2fv)(int,int,unsigned char,float const *)" (?glUniformMatrix2fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix3fv)(int,int,unsigned char,float const *)" (?glUniformMatrix3fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>info.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix4fv)(int,int,unsigned char,float const *)" (?glUniformMatrix4fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>info.obj : error LNK2005: "bool (__stdcall* ns_one::ns_two::wglSwapIntervalEXT)(int)" (?wglSwapIntervalEXT@ns_two@ns_one@@3P6G_NH@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glTexImage3D)(unsigned int,int,int,int,int,int,int,unsigned int,unsigned int,void const *)" (?glTexImage3D@ns_two@ns_one@@3P6GXIHHHHHHIIPBX@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glTexSubImage3D)(unsigned int,int,int,int,int,int,int,int,unsigned int,unsigned int,void const *)" (?glTexSubImage3D@ns_two@ns_one@@3P6GXIHHHHHHHIIPBX@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glClientActiveTexture)(unsigned int)" (?glClientActiveTexture@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glActiveTexture)(unsigned int)" (?glActiveTexture@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGenBuffers)(int,unsigned int *)" (?glGenBuffers@ns_two@ns_one@@3P6GXHPAI@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBindBuffer)(unsigned int,unsigned int)" (?glBindBuffer@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBufferData)(unsigned int,int,void const *,unsigned int)" (?glBufferData@ns_two@ns_one@@3P6GXIHPBXI@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteBuffers)(int,unsigned int const *)" (?glDeleteBuffers@ns_two@ns_one@@3P6GXHPBI@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBufferSubData)(unsigned int,long,long,void const *)" (?glBufferSubData@ns_two@ns_one@@3P6GXIJJPBX@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glEnableVertexAttribArray)(unsigned int)" (?glEnableVertexAttribArray@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDisableVertexAttribArray)(unsigned int)" (?glDisableVertexAttribArray@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glVertexAttribPointer)(unsigned int,int,unsigned int,unsigned char,int,void const *)" (?glVertexAttribPointer@ns_two@ns_one@@3P6GXIHIEHPBX@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBindAttribLocation)(unsigned int,unsigned int,char const *)" (?glBindAttribLocation@ns_two@ns_one@@3P6GXIIPBD@ZA) already defined in core.obj
1>main.obj : error LNK2005: "unsigned int (__stdcall* ns_one::ns_two::glCreateProgram)(void)" (?glCreateProgram@ns_two@ns_one@@3P6GIXZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glLinkProgram)(unsigned int)" (?glLinkProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUseProgram)(unsigned int)" (?glUseProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteProgram)(unsigned int)" (?glDeleteProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGetProgramInfoLog)(unsigned int,int,int *,char *)" (?glGetProgramInfoLog@ns_two@ns_one@@3P6GXIHPAHPAD@ZA) already defined in core.obj
1>main.obj : error LNK2005: "unsigned int (__stdcall* ns_one::ns_two::glCreateShader)(unsigned int)" (?glCreateShader@ns_two@ns_one@@3P6GII@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glCompileShader)(unsigned int)" (?glCompileShader@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glAttachShader)(unsigned int,unsigned int)" (?glAttachShader@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glShaderSource)(unsigned int,int,char const * *,int const *)" (?glShaderSource@ns_two@ns_one@@3P6GXIHPAPBDPBH@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDetachShader)(unsigned int,unsigned int)" (?glDetachShader@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteShader)(unsigned int)" (?glDeleteShader@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGetShaderInfoLog)(unsigned int,int,int *,char *)" (?glGetShaderInfoLog@ns_two@ns_one@@3P6GXIHPAHPAD@ZA) already defined in core.obj
1>main.obj : error LNK2005: "int (__stdcall* ns_one::ns_two::glGetUniformLocation)(unsigned int,char const *)" (?glGetUniformLocation@ns_two@ns_one@@3P6GHIPBD@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1f)(int,float)" (?glUniform1f@ns_two@ns_one@@3P6GXHM@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2f)(int,float,float)" (?glUniform2f@ns_two@ns_one@@3P6GXHMM@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3f)(int,float,float,float)" (?glUniform3f@ns_two@ns_one@@3P6GXHMMM@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4f)(int,float,float,float,float)" (?glUniform4f@ns_two@ns_one@@3P6GXHMMMM@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1i)(int,int)" (?glUniform1i@ns_two@ns_one@@3P6GXHH@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2i)(int,int,int)" (?glUniform2i@ns_two@ns_one@@3P6GXHHH@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3i)(int,int,int,int)" (?glUniform3i@ns_two@ns_one@@3P6GXHHHH@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4i)(int,int,int,int,int)" (?glUniform4i@ns_two@ns_one@@3P6GXHHHHH@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1iv)(int,int,int const *)" (?glUniform1iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2iv)(int,int,int const *)" (?glUniform2iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3iv)(int,int,int const *)" (?glUniform3iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4iv)(int,int,int const *)" (?glUniform4iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1fv)(int,int,float const *)" (?glUniform1fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2fv)(int,int,float const *)" (?glUniform2fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3fv)(int,int,float const *)" (?glUniform3fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4fv)(int,int,float const *)" (?glUniform4fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix2fv)(int,int,unsigned char,float const *)" (?glUniformMatrix2fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix3fv)(int,int,unsigned char,float const *)" (?glUniformMatrix3fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>main.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix4fv)(int,int,unsigned char,float const *)" (?glUniformMatrix4fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>main.obj : error LNK2005: "bool (__stdcall* ns_one::ns_two::wglSwapIntervalEXT)(int)" (?wglSwapIntervalEXT@ns_two@ns_one@@3P6G_NH@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glTexImage3D)(unsigned int,int,int,int,int,int,int,unsigned int,unsigned int,void const *)" (?glTexImage3D@ns_two@ns_one@@3P6GXIHHHHHHIIPBX@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glTexSubImage3D)(unsigned int,int,int,int,int,int,int,int,unsigned int,unsigned int,void const *)" (?glTexSubImage3D@ns_two@ns_one@@3P6GXIHHHHHHHIIPBX@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glClientActiveTexture)(unsigned int)" (?glClientActiveTexture@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glActiveTexture)(unsigned int)" (?glActiveTexture@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGenBuffers)(int,unsigned int *)" (?glGenBuffers@ns_two@ns_one@@3P6GXHPAI@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBindBuffer)(unsigned int,unsigned int)" (?glBindBuffer@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBufferData)(unsigned int,int,void const *,unsigned int)" (?glBufferData@ns_two@ns_one@@3P6GXIHPBXI@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteBuffers)(int,unsigned int const *)" (?glDeleteBuffers@ns_two@ns_one@@3P6GXHPBI@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBufferSubData)(unsigned int,long,long,void const *)" (?glBufferSubData@ns_two@ns_one@@3P6GXIJJPBX@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glEnableVertexAttribArray)(unsigned int)" (?glEnableVertexAttribArray@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDisableVertexAttribArray)(unsigned int)" (?glDisableVertexAttribArray@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glVertexAttribPointer)(unsigned int,int,unsigned int,unsigned char,int,void const *)" (?glVertexAttribPointer@ns_two@ns_one@@3P6GXIHIEHPBX@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBindAttribLocation)(unsigned int,unsigned int,char const *)" (?glBindAttribLocation@ns_two@ns_one@@3P6GXIIPBD@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "unsigned int (__stdcall* ns_one::ns_two::glCreateProgram)(void)" (?glCreateProgram@ns_two@ns_one@@3P6GIXZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glLinkProgram)(unsigned int)" (?glLinkProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUseProgram)(unsigned int)" (?glUseProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteProgram)(unsigned int)" (?glDeleteProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGetProgramInfoLog)(unsigned int,int,int *,char *)" (?glGetProgramInfoLog@ns_two@ns_one@@3P6GXIHPAHPAD@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "unsigned int (__stdcall* ns_one::ns_two::glCreateShader)(unsigned int)" (?glCreateShader@ns_two@ns_one@@3P6GII@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glCompileShader)(unsigned int)" (?glCompileShader@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glAttachShader)(unsigned int,unsigned int)" (?glAttachShader@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glShaderSource)(unsigned int,int,char const * *,int const *)" (?glShaderSource@ns_two@ns_one@@3P6GXIHPAPBDPBH@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDetachShader)(unsigned int,unsigned int)" (?glDetachShader@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteShader)(unsigned int)" (?glDeleteShader@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGetShaderInfoLog)(unsigned int,int,int *,char *)" (?glGetShaderInfoLog@ns_two@ns_one@@3P6GXIHPAHPAD@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "int (__stdcall* ns_one::ns_two::glGetUniformLocation)(unsigned int,char const *)" (?glGetUniformLocation@ns_two@ns_one@@3P6GHIPBD@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1f)(int,float)" (?glUniform1f@ns_two@ns_one@@3P6GXHM@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2f)(int,float,float)" (?glUniform2f@ns_two@ns_one@@3P6GXHMM@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3f)(int,float,float,float)" (?glUniform3f@ns_two@ns_one@@3P6GXHMMM@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4f)(int,float,float,float,float)" (?glUniform4f@ns_two@ns_one@@3P6GXHMMMM@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1i)(int,int)" (?glUniform1i@ns_two@ns_one@@3P6GXHH@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2i)(int,int,int)" (?glUniform2i@ns_two@ns_one@@3P6GXHHH@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3i)(int,int,int,int)" (?glUniform3i@ns_two@ns_one@@3P6GXHHHH@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4i)(int,int,int,int,int)" (?glUniform4i@ns_two@ns_one@@3P6GXHHHHH@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1iv)(int,int,int const *)" (?glUniform1iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2iv)(int,int,int const *)" (?glUniform2iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3iv)(int,int,int const *)" (?glUniform3iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4iv)(int,int,int const *)" (?glUniform4iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1fv)(int,int,float const *)" (?glUniform1fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2fv)(int,int,float const *)" (?glUniform2fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3fv)(int,int,float const *)" (?glUniform3fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4fv)(int,int,float const *)" (?glUniform4fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix2fv)(int,int,unsigned char,float const *)" (?glUniformMatrix2fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix3fv)(int,int,unsigned char,float const *)" (?glUniformMatrix3fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix4fv)(int,int,unsigned char,float const *)" (?glUniformMatrix4fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>texture.obj : error LNK2005: "bool (__stdcall* ns_one::ns_two::wglSwapIntervalEXT)(int)" (?wglSwapIntervalEXT@ns_two@ns_one@@3P6G_NH@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glTexImage3D)(unsigned int,int,int,int,int,int,int,unsigned int,unsigned int,void const *)" (?glTexImage3D@ns_two@ns_one@@3P6GXIHHHHHHIIPBX@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glTexSubImage3D)(unsigned int,int,int,int,int,int,int,int,unsigned int,unsigned int,void const *)" (?glTexSubImage3D@ns_two@ns_one@@3P6GXIHHHHHHHIIPBX@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glClientActiveTexture)(unsigned int)" (?glClientActiveTexture@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glActiveTexture)(unsigned int)" (?glActiveTexture@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGenBuffers)(int,unsigned int *)" (?glGenBuffers@ns_two@ns_one@@3P6GXHPAI@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBindBuffer)(unsigned int,unsigned int)" (?glBindBuffer@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBufferData)(unsigned int,int,void const *,unsigned int)" (?glBufferData@ns_two@ns_one@@3P6GXIHPBXI@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteBuffers)(int,unsigned int const *)" (?glDeleteBuffers@ns_two@ns_one@@3P6GXHPBI@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBufferSubData)(unsigned int,long,long,void const *)" (?glBufferSubData@ns_two@ns_one@@3P6GXIJJPBX@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glEnableVertexAttribArray)(unsigned int)" (?glEnableVertexAttribArray@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDisableVertexAttribArray)(unsigned int)" (?glDisableVertexAttribArray@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glVertexAttribPointer)(unsigned int,int,unsigned int,unsigned char,int,void const *)" (?glVertexAttribPointer@ns_two@ns_one@@3P6GXIHIEHPBX@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBindAttribLocation)(unsigned int,unsigned int,char const *)" (?glBindAttribLocation@ns_two@ns_one@@3P6GXIIPBD@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "unsigned int (__stdcall* ns_one::ns_two::glCreateProgram)(void)" (?glCreateProgram@ns_two@ns_one@@3P6GIXZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glLinkProgram)(unsigned int)" (?glLinkProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUseProgram)(unsigned int)" (?glUseProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteProgram)(unsigned int)" (?glDeleteProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGetProgramInfoLog)(unsigned int,int,int *,char *)" (?glGetProgramInfoLog@ns_two@ns_one@@3P6GXIHPAHPAD@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "unsigned int (__stdcall* ns_one::ns_two::glCreateShader)(unsigned int)" (?glCreateShader@ns_two@ns_one@@3P6GII@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glCompileShader)(unsigned int)" (?glCompileShader@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glAttachShader)(unsigned int,unsigned int)" (?glAttachShader@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glShaderSource)(unsigned int,int,char const * *,int const *)" (?glShaderSource@ns_two@ns_one@@3P6GXIHPAPBDPBH@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDetachShader)(unsigned int,unsigned int)" (?glDetachShader@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteShader)(unsigned int)" (?glDeleteShader@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGetShaderInfoLog)(unsigned int,int,int *,char *)" (?glGetShaderInfoLog@ns_two@ns_one@@3P6GXIHPAHPAD@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "int (__stdcall* ns_one::ns_two::glGetUniformLocation)(unsigned int,char const *)" (?glGetUniformLocation@ns_two@ns_one@@3P6GHIPBD@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1f)(int,float)" (?glUniform1f@ns_two@ns_one@@3P6GXHM@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2f)(int,float,float)" (?glUniform2f@ns_two@ns_one@@3P6GXHMM@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3f)(int,float,float,float)" (?glUniform3f@ns_two@ns_one@@3P6GXHMMM@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4f)(int,float,float,float,float)" (?glUniform4f@ns_two@ns_one@@3P6GXHMMMM@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1i)(int,int)" (?glUniform1i@ns_two@ns_one@@3P6GXHH@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2i)(int,int,int)" (?glUniform2i@ns_two@ns_one@@3P6GXHHH@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3i)(int,int,int,int)" (?glUniform3i@ns_two@ns_one@@3P6GXHHHH@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4i)(int,int,int,int,int)" (?glUniform4i@ns_two@ns_one@@3P6GXHHHHH@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1iv)(int,int,int const *)" (?glUniform1iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2iv)(int,int,int const *)" (?glUniform2iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3iv)(int,int,int const *)" (?glUniform3iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4iv)(int,int,int const *)" (?glUniform4iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1fv)(int,int,float const *)" (?glUniform1fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2fv)(int,int,float const *)" (?glUniform2fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3fv)(int,int,float const *)" (?glUniform3fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4fv)(int,int,float const *)" (?glUniform4fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix2fv)(int,int,unsigned char,float const *)" (?glUniformMatrix2fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix3fv)(int,int,unsigned char,float const *)" (?glUniformMatrix3fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix4fv)(int,int,unsigned char,float const *)" (?glUniformMatrix4fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>my_gl_text.obj : error LNK2005: "bool (__stdcall* ns_one::ns_two::wglSwapIntervalEXT)(int)" (?wglSwapIntervalEXT@ns_two@ns_one@@3P6G_NH@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glTexImage3D)(unsigned int,int,int,int,int,int,int,unsigned int,unsigned int,void const *)" (?glTexImage3D@ns_two@ns_one@@3P6GXIHHHHHHIIPBX@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glTexSubImage3D)(unsigned int,int,int,int,int,int,int,int,unsigned int,unsigned int,void const *)" (?glTexSubImage3D@ns_two@ns_one@@3P6GXIHHHHHHHIIPBX@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glClientActiveTexture)(unsigned int)" (?glClientActiveTexture@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glActiveTexture)(unsigned int)" (?glActiveTexture@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGenBuffers)(int,unsigned int *)" (?glGenBuffers@ns_two@ns_one@@3P6GXHPAI@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBindBuffer)(unsigned int,unsigned int)" (?glBindBuffer@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBufferData)(unsigned int,int,void const *,unsigned int)" (?glBufferData@ns_two@ns_one@@3P6GXIHPBXI@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteBuffers)(int,unsigned int const *)" (?glDeleteBuffers@ns_two@ns_one@@3P6GXHPBI@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBufferSubData)(unsigned int,long,long,void const *)" (?glBufferSubData@ns_two@ns_one@@3P6GXIJJPBX@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glEnableVertexAttribArray)(unsigned int)" (?glEnableVertexAttribArray@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDisableVertexAttribArray)(unsigned int)" (?glDisableVertexAttribArray@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glVertexAttribPointer)(unsigned int,int,unsigned int,unsigned char,int,void const *)" (?glVertexAttribPointer@ns_two@ns_one@@3P6GXIHIEHPBX@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBindAttribLocation)(unsigned int,unsigned int,char const *)" (?glBindAttribLocation@ns_two@ns_one@@3P6GXIIPBD@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "unsigned int (__stdcall* ns_one::ns_two::glCreateProgram)(void)" (?glCreateProgram@ns_two@ns_one@@3P6GIXZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glLinkProgram)(unsigned int)" (?glLinkProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUseProgram)(unsigned int)" (?glUseProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteProgram)(unsigned int)" (?glDeleteProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGetProgramInfoLog)(unsigned int,int,int *,char *)" (?glGetProgramInfoLog@ns_two@ns_one@@3P6GXIHPAHPAD@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "unsigned int (__stdcall* ns_one::ns_two::glCreateShader)(unsigned int)" (?glCreateShader@ns_two@ns_one@@3P6GII@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glCompileShader)(unsigned int)" (?glCompileShader@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glAttachShader)(unsigned int,unsigned int)" (?glAttachShader@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glShaderSource)(unsigned int,int,char const * *,int const *)" (?glShaderSource@ns_two@ns_one@@3P6GXIHPAPBDPBH@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDetachShader)(unsigned int,unsigned int)" (?glDetachShader@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteShader)(unsigned int)" (?glDeleteShader@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGetShaderInfoLog)(unsigned int,int,int *,char *)" (?glGetShaderInfoLog@ns_two@ns_one@@3P6GXIHPAHPAD@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "int (__stdcall* ns_one::ns_two::glGetUniformLocation)(unsigned int,char const *)" (?glGetUniformLocation@ns_two@ns_one@@3P6GHIPBD@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1f)(int,float)" (?glUniform1f@ns_two@ns_one@@3P6GXHM@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2f)(int,float,float)" (?glUniform2f@ns_two@ns_one@@3P6GXHMM@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3f)(int,float,float,float)" (?glUniform3f@ns_two@ns_one@@3P6GXHMMM@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4f)(int,float,float,float,float)" (?glUniform4f@ns_two@ns_one@@3P6GXHMMMM@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1i)(int,int)" (?glUniform1i@ns_two@ns_one@@3P6GXHH@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2i)(int,int,int)" (?glUniform2i@ns_two@ns_one@@3P6GXHHH@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3i)(int,int,int,int)" (?glUniform3i@ns_two@ns_one@@3P6GXHHHH@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4i)(int,int,int,int,int)" (?glUniform4i@ns_two@ns_one@@3P6GXHHHHH@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1iv)(int,int,int const *)" (?glUniform1iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2iv)(int,int,int const *)" (?glUniform2iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3iv)(int,int,int const *)" (?glUniform3iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4iv)(int,int,int const *)" (?glUniform4iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1fv)(int,int,float const *)" (?glUniform1fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2fv)(int,int,float const *)" (?glUniform2fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3fv)(int,int,float const *)" (?glUniform3fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4fv)(int,int,float const *)" (?glUniform4fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix2fv)(int,int,unsigned char,float const *)" (?glUniformMatrix2fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix3fv)(int,int,unsigned char,float const *)" (?glUniformMatrix3fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix4fv)(int,int,unsigned char,float const *)" (?glUniformMatrix4fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>animation_circular.obj : error LNK2005: "bool (__stdcall* ns_one::ns_two::wglSwapIntervalEXT)(int)" (?wglSwapIntervalEXT@ns_two@ns_one@@3P6G_NH@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glTexImage3D)(unsigned int,int,int,int,int,int,int,unsigned int,unsigned int,void const *)" (?glTexImage3D@ns_two@ns_one@@3P6GXIHHHHHHIIPBX@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glTexSubImage3D)(unsigned int,int,int,int,int,int,int,int,unsigned int,unsigned int,void const *)" (?glTexSubImage3D@ns_two@ns_one@@3P6GXIHHHHHHHIIPBX@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glClientActiveTexture)(unsigned int)" (?glClientActiveTexture@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glActiveTexture)(unsigned int)" (?glActiveTexture@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGenBuffers)(int,unsigned int *)" (?glGenBuffers@ns_two@ns_one@@3P6GXHPAI@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBindBuffer)(unsigned int,unsigned int)" (?glBindBuffer@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBufferData)(unsigned int,int,void const *,unsigned int)" (?glBufferData@ns_two@ns_one@@3P6GXIHPBXI@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteBuffers)(int,unsigned int const *)" (?glDeleteBuffers@ns_two@ns_one@@3P6GXHPBI@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBufferSubData)(unsigned int,long,long,void const *)" (?glBufferSubData@ns_two@ns_one@@3P6GXIJJPBX@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glEnableVertexAttribArray)(unsigned int)" (?glEnableVertexAttribArray@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDisableVertexAttribArray)(unsigned int)" (?glDisableVertexAttribArray@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glVertexAttribPointer)(unsigned int,int,unsigned int,unsigned char,int,void const *)" (?glVertexAttribPointer@ns_two@ns_one@@3P6GXIHIEHPBX@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glBindAttribLocation)(unsigned int,unsigned int,char const *)" (?glBindAttribLocation@ns_two@ns_one@@3P6GXIIPBD@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "unsigned int (__stdcall* ns_one::ns_two::glCreateProgram)(void)" (?glCreateProgram@ns_two@ns_one@@3P6GIXZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glLinkProgram)(unsigned int)" (?glLinkProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUseProgram)(unsigned int)" (?glUseProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteProgram)(unsigned int)" (?glDeleteProgram@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGetProgramInfoLog)(unsigned int,int,int *,char *)" (?glGetProgramInfoLog@ns_two@ns_one@@3P6GXIHPAHPAD@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "unsigned int (__stdcall* ns_one::ns_two::glCreateShader)(unsigned int)" (?glCreateShader@ns_two@ns_one@@3P6GII@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glCompileShader)(unsigned int)" (?glCompileShader@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glAttachShader)(unsigned int,unsigned int)" (?glAttachShader@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glShaderSource)(unsigned int,int,char const * *,int const *)" (?glShaderSource@ns_two@ns_one@@3P6GXIHPAPBDPBH@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDetachShader)(unsigned int,unsigned int)" (?glDetachShader@ns_two@ns_one@@3P6GXII@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glDeleteShader)(unsigned int)" (?glDeleteShader@ns_two@ns_one@@3P6GXI@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glGetShaderInfoLog)(unsigned int,int,int *,char *)" (?glGetShaderInfoLog@ns_two@ns_one@@3P6GXIHPAHPAD@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "int (__stdcall* ns_one::ns_two::glGetUniformLocation)(unsigned int,char const *)" (?glGetUniformLocation@ns_two@ns_one@@3P6GHIPBD@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1f)(int,float)" (?glUniform1f@ns_two@ns_one@@3P6GXHM@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2f)(int,float,float)" (?glUniform2f@ns_two@ns_one@@3P6GXHMM@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3f)(int,float,float,float)" (?glUniform3f@ns_two@ns_one@@3P6GXHMMM@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4f)(int,float,float,float,float)" (?glUniform4f@ns_two@ns_one@@3P6GXHMMMM@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1i)(int,int)" (?glUniform1i@ns_two@ns_one@@3P6GXHH@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2i)(int,int,int)" (?glUniform2i@ns_two@ns_one@@3P6GXHHH@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3i)(int,int,int,int)" (?glUniform3i@ns_two@ns_one@@3P6GXHHHH@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4i)(int,int,int,int,int)" (?glUniform4i@ns_two@ns_one@@3P6GXHHHHH@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1iv)(int,int,int const *)" (?glUniform1iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2iv)(int,int,int const *)" (?glUniform2iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3iv)(int,int,int const *)" (?glUniform3iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4iv)(int,int,int const *)" (?glUniform4iv@ns_two@ns_one@@3P6GXHHPBH@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform1fv)(int,int,float const *)" (?glUniform1fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform2fv)(int,int,float const *)" (?glUniform2fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform3fv)(int,int,float const *)" (?glUniform3fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniform4fv)(int,int,float const *)" (?glUniform4fv@ns_two@ns_one@@3P6GXHHPBM@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix2fv)(int,int,unsigned char,float const *)" (?glUniformMatrix2fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix3fv)(int,int,unsigned char,float const *)" (?glUniformMatrix3fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "void (__stdcall* ns_one::ns_two::glUniformMatrix4fv)(int,int,unsigned char,float const *)" (?glUniformMatrix4fv@ns_two@ns_one@@3P6GXHHEPBM@ZA) already defined in core.obj
1>animation_fade.obj : error LNK2005: "bool (__stdcall* ns_one::ns_two::wglSwapIntervalEXT)(int)" (?wglSwapIntervalEXT@ns_two@ns_one@@3P6G_NH@ZA) already defined in core.obj


Share this post


Link to post
Share on other sites
... And the corresponding definitions are found in core.cpp, and not in any other .cpp files? It looks like the linker thinks you also have them in info.cpp, main.cpp, texture.cpp, my_gl_text.cpp, animation_circular.cpp and animation_fade.cpp. Did you by any chance accidentally #include gl_ext.cpp in all of these instead of gl_ext.h ?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!