Advertisement

Errors, errors, errors... OpenGL and particles

Started by January 20, 2005 04:01 PM
2 comments, last by MeusH 19 years, 10 months ago
Hello. I've just finished NeHe's lesson 7, and I decided to put some particles to my script. Unfortunatelly, I'm getting really lot of errors not made in my script! Look: --------------------Configuration: lander - Win32 Debug-------------------- Compiling... glowne.cpp Linking... glowne.obj : error LNK2001: unresolved external symbol _auxDIBImageLoadA@4 glowne.obj : error LNK2001: unresolved external symbol _gluBuild2DMipmaps@28 glowne.obj : error LNK2001: unresolved external symbol __imp__glTexImage2D@36 glowne.obj : error LNK2001: unresolved external symbol __imp__glTexParameteri@12 glowne.obj : error LNK2001: unresolved external symbol __imp__glBindTexture@8 glowne.obj : error LNK2001: unresolved external symbol __imp__glGenTextures@8 glowne.obj : error LNK2001: unresolved external symbol _gluPerspective@32 glowne.obj : error LNK2001: unresolved external symbol __imp__glLoadIdentity@0 glowne.obj : error LNK2001: unresolved external symbol __imp__glMatrixMode@4 glowne.obj : error LNK2001: unresolved external symbol __imp__glViewport@16 glowne.obj : error LNK2001: unresolved external symbol __imp__glEndList@0 glowne.obj : error LNK2001: unresolved external symbol __imp__glEnd@0 glowne.obj : error LNK2001: unresolved external symbol __imp__glVertex3f@12 glowne.obj : error LNK2001: unresolved external symbol __imp__glTexCoord2f@8 glowne.obj : error LNK2001: unresolved external symbol __imp__glBegin@4 glowne.obj : error LNK2001: unresolved external symbol __imp__glNewList@8 glowne.obj : error LNK2001: unresolved external symbol __imp__glGenLists@4 glowne.obj : error LNK2001: unresolved external symbol __imp__glLightfv@12 glowne.obj : error LNK2001: unresolved external symbol __imp__glHint@8 glowne.obj : error LNK2001: unresolved external symbol __imp__glDepthFunc@4 glowne.obj : error LNK2001: unresolved external symbol __imp__glClearDepth@8 glowne.obj : error LNK2001: unresolved external symbol __imp__glClearColor@16 glowne.obj : error LNK2001: unresolved external symbol __imp__glShadeModel@4 glowne.obj : error LNK2001: unresolved external symbol __imp__glEnable@4 glowne.obj : error LNK2001: unresolved external symbol __imp__glNormal3f@12 glowne.obj : error LNK2001: unresolved external symbol __imp__glCallList@4 glowne.obj : error LNK2001: unresolved external symbol __imp__glColor4f@16 glowne.obj : error LNK2001: unresolved external symbol __imp__glRotatef@16 glowne.obj : error LNK2001: unresolved external symbol __imp__glTranslatef@12 glowne.obj : error LNK2001: unresolved external symbol __imp__glClear@4 glowne.obj : error LNK2001: unresolved external symbol __imp__wglDeleteContext@4 glowne.obj : error LNK2001: unresolved external symbol __imp__wglMakeCurrent@8 glowne.obj : error LNK2001: unresolved external symbol __imp__wglCreateContext@4 glowne.obj : error LNK2001: unresolved external symbol __imp__glDisable@4 Debug/lander.exe : fatal error LNK1120: 34 unresolved externals Error executing link.exe. lander.exe - 35 error(s), 0 warning(s) Here is list of my includes: #include <windows.h> // Header File For Windows #include <stdio.h> // Header File For Standard Input/Output #include <gl\gl.h> // Header File For The OpenGL32 Library #include <gl\glu.h> // Header File For The GLu32 Library #include <gl\glaux.h> // Header File For The Glaux Library Can anyone help me, please?
#pragma comment(lib,"opengl32.lib")
Advertisement
um.. you haven't linked OpenGL32.lib, GLu32.lib and GLAuxu32.lib to the app.
Thank you both! The external declarations somehow were cleared from project settings...

This topic is closed to new replies.

Advertisement