Advertisement

Dumb question (novice)

Started by March 11, 2001 11:49 AM
2 comments, last by Snap 23 years, 8 months ago
Sorry for my english, but i''m French (quebec) I wrote the first tutorial when i compile everything is ok but i get lot of errors in the linking. Can''t figure out... I''m sorry for the dumb question but please help Using: VC++ 6.0 OS: Win2000 The errors: --------------------Configuration: OPEN_tut_1 - Win32 Debug-------------------- Linking... OPEN_tut_1.obj : error LNK2001: unresolved external symbol _gluPerspective@32 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__glLoadIdentity@0 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__glMatrixMode@4 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__glViewport@16 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__glHint@8 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__glDepthFunc@4 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__glEnable@4 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__glClearDepth@8 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__glClearColor@16 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__glShadeModel@4 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__glEnd@0 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__glVertex3f@12 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__glBegin@4 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__glTranslatef@12 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__glClear@4 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__wglDeleteContext@4 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__wglMakeCurrent@8 OPEN_tut_1.obj : error LNK2001: unresolved external symbol __imp__wglCreateContext@4 LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/OPEN_tut_1.exe : fatal error LNK1120: 19 unresolved externals Error executing link.exe. OPEN_tut_1.exe - 20 error(s), 0 warning(s)
Snap
Sorry, here are the errors:

Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/OPEN_tut_1.exe : fatal error LNK1120: 1 unresolved externals
Snap
Advertisement
It looks like you made a console application. What you needed to do is make a win32 app.

Thanks a lot!!!
Snap

This topic is closed to new replies.

Advertisement