OpenGL :/

0

mam problem.kompiluje lekcje3 do VC++ z nehe.gamedev.net.
w include jest:

#include <windows.h>
#include <gl\gl.h>
#include <gl\glu.h>
#include <gl\glaux.h>

czyli wszycho co trzeba. ale mam błąd:

--------------------Configuration: main - Win32 Debug--------------------
Linking...
main.obj : error LNK2001: unresolved external symbol _gluPerspective@32
main.obj : error LNK2001: unresolved external symbol __imp__glLoadIdentity@0
main.obj : error LNK2001: unresolved external symbol __imp__glMatrixMode@4
main.obj : error LNK2001: unresolved external symbol __imp__glViewport@16
main.obj : error LNK2001: unresolved external symbol __imp__glHint@8
main.obj : error LNK2001: unresolved external symbol __imp__glDepthFunc@4
main.obj : error LNK2001: unresolved external symbol __imp__glEnable@4
main.obj : error LNK2001: unresolved external symbol __imp__glClearDepth@8
main.obj : error LNK2001: unresolved external symbol __imp__glClearColor@16
main.obj : error LNK2001: unresolved external symbol __imp__glShadeModel@4
main.obj : error LNK2001: unresolved external symbol __imp__glEnd@0
main.obj : error LNK2001: unresolved external symbol __imp__glVertex3f@12
main.obj : error LNK2001: unresolved external symbol __imp__glColor3f@12
main.obj : error LNK2001: unresolved external symbol __imp__glBegin@4
main.obj : error LNK2001: unresolved external symbol __imp__glTranslatef@12
main.obj : error LNK2001: unresolved external symbol __imp__glClear@4
main.obj : error LNK2001: unresolved external symbol __imp__wglDeleteContext@4
main.obj : error LNK2001: unresolved external symbol __imp__wglMakeCurrent@8
main.obj : error LNK2001: unresolved external symbol __imp__wglCreateContext@4
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/main.exe : fatal error LNK1120: 20 unresolved externals
Error executing link.exe.

main.exe - 21 error(s), 0 warning(s)

jaka biblioteka jest mi potrzebna???

0

musisz dolaczyc biblioteki opengl32.lib i glu32.lib w opcjach projektu

0

thx:)

1 użytkowników online, w tym zalogowanych: 0, gości: 1