Advertisement

hmm... Nehe's code is um......

Started by December 29, 2000 11:40 PM
4 comments, last by Prod 23 years, 10 months ago
good!, just when i try to get the tileing in OGL to work, i get a bunch of weird errors (i''ve never seen them before)i "mixed" the code correctly, it compiles but durring the linking stage i get Compiling... Gentic Main.cpp Linking... Gentic Main.obj : error LNK2001: unresolved external symbol _auxDIBImageLoadA@4 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glTexParameteri@12 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glTexImage2D@36 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glBindTexture@8 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glGenTextures@8 Gentic Main.obj : error LNK2001: unresolved external symbol _gluPerspective@32 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glLoadIdentity@0 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glMatrixMode@4 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glViewport@16 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glHint@8 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glDepthFunc@4 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glClearDepth@8 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glClearColor@16 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glShadeModel@4 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glEnable@4 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glEnd@0 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glVertex3f@12 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glTexCoord2f@8 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glBegin@4 Gentic Main.obj : error LNK2001: unresolved external symbol _gluLookAt@72 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__glClear@4 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__wglDeleteContext@4 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__wglMakeCurrent@8 Gentic Main.obj : error LNK2001: unresolved external symbol __imp__wglCreateContext@4 LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/Gentic Main.exe : fatal error LNK1120: 25 unresolved externals Error executing link.exe. im using VC6 any guidance toward fixing this would be much appreciated "Aaaaah! where all these errors come from?" ~ some newbie
Go to Project | Settings | Link, and add Opengl32.lib to the Object/library modules.
Advertisement
You made a Win32 Console App; you need: Win32 App

In Project->Settings->Link, add opengl32.lib and glu32.lib
You made a Win32 Console App; you need: Win32 App

In Project->Settings->Link, add opengl32.lib and glu32.lib
thanks very much
thanks very much

This topic is closed to new replies.

Advertisement