Sign in to follow this  
Shamino

Unresolved external Linker errors..

Recommended Posts

Okay, so at home this works fine, but here, when I get to school, I try to compile, and now I get this..
--------------------Configuration: NeHeGL - Win32 Debug--------------------
Compiling...
Bitmap.cpp
Camera.cpp
Globals.cpp
MS3D.CPP
NeHeGL.cpp
Point.cpp
Quaternion.cpp
Renderer.cpp
Resource_Manager.cpp
Scene_Manager.cpp
Terrain.cpp
Vector.cpp
Generating Code...
Linking...
Terrain.obj : error LNK2005: "void __cdecl LoadRawFile(char *,int,unsigned char *)" (?LoadRawFile@@YAXPADHPAE@Z) already defined in NeHeGL.obj
Camera.obj : error LNK2001: unresolved external symbol __imp__glTranslatef@12
Globals.obj : error LNK2001: unresolved external symbol __imp__glTranslatef@12
Camera.obj : error LNK2001: unresolved external symbol __imp__glMultMatrixf@4
MS3D.OBJ : error LNK2001: unresolved external symbol _auxDIBImageLoadA@4
MS3D.OBJ : error LNK2001: unresolved external symbol __imp__glTexParameteri@12
MS3D.OBJ : error LNK2001: unresolved external symbol __imp__glTexImage2D@36
MS3D.OBJ : error LNK2001: unresolved external symbol __imp__glBindTexture@8
MS3D.OBJ : error LNK2001: unresolved external symbol __imp__glGenTextures@8
MS3D.OBJ : error LNK2001: unresolved external symbol __imp__glEnd@0
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glEnd@0
MS3D.OBJ : error LNK2001: unresolved external symbol __imp__glVertex3fv@4
MS3D.OBJ : error LNK2001: unresolved external symbol __imp__glTexCoord2f@8
MS3D.OBJ : error LNK2001: unresolved external symbol __imp__glNormal3fv@4
MS3D.OBJ : error LNK2001: unresolved external symbol __imp__glBegin@4
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glBegin@4
MS3D.OBJ : error LNK2001: unresolved external symbol __imp__glDisable@4
MS3D.OBJ : error LNK2001: unresolved external symbol __imp__glEnable@4
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glEnable@4
MS3D.OBJ : error LNK2001: unresolved external symbol __imp__glMaterialf@12
MS3D.OBJ : error LNK2001: unresolved external symbol __imp__glMaterialfv@12
MS3D.OBJ : error LNK2001: unresolved external symbol __imp__glIsEnabled@4
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glHint@8
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glShadeModel@4
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glDepthFunc@4
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glClearDepth@8
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glClearColor@16
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glColor3f@12
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glColor4f@16
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glVertex3i@12
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glLoadIdentity@0
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glScalef@12
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glClear@4
NeHeGL.obj : error LNK2001: unresolved external symbol _gluPerspective@32
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glMatrixMode@4
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__glViewport@16
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__wglDeleteContext@4
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__wglMakeCurrent@8
NeHeGL.obj : error LNK2001: unresolved external symbol __imp__wglCreateContext@4
Debug/NeHeGL.exe : fatal error LNK1120: 34 unresolved externals
Error executing link.exe.
Creating browse info file...

NeHeGL.exe - 40 error(s), 0 warning(s)

This is really annoying, I've tried rebuilding the project from scratch, its like the source files are just broken, period.. What to doooo!!

Share this post


Link to post
Share on other sites
Also, I can run other projects that didn't come from my home to here at school.

These projects use opengl as well.

I am switching compilers, going from vs2005 at home to vc6 here at school..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this