Proces kompajliranja prođe bez grešaka, problem se javlja prilikom linkanja.
Inače, koristim v5.0 iz Microsoft SDKs.
Evo i grešaka:
1>------ Build started: Project: TRANSF, Configuration: Release Win32 ------
1>Linking...
1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification
1>main.obj : error LNK2019: unresolved external symbol __imp__glEnable@4 referenced in function "void __cdecl initRendering(void)" (?initRendering@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol _gluPerspective@32 referenced in function "void __cdecl handleResize(int,int)" (?handleResize@@YAXHH@Z)
1>main.obj : error LNK2019: unresolved external symbol __imp__glLoadIdentity@0 referenced in function "void __cdecl handleResize(int,int)" (?handleResize@@YAXHH@Z)
1>main.obj : error LNK2019: unresolved external symbol __imp__glMatrixMode@4 referenced in function "void __cdecl handleResize(int,int)" (?handleResize@@YAXHH@Z)
1>main.obj : error LNK2019: unresolved external symbol __imp__glViewport@16 referenced in function "void __cdecl handleResize(int,int)" (?handleResize@@YAXHH@Z)
1>main.obj : error LNK2019: unresolved external symbol _glutSwapBuffers@0 referenced in function "void __cdecl drawScene(void)" (?drawScene@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glScalef@12 referenced in function "void __cdecl drawScene(void)" (?drawScene@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glPopMatrix@0 referenced in function "void __cdecl drawScene(void)" (?drawScene@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glEnd@0 referenced in function "void __cdecl drawScene(void)" (?drawScene@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glVertex3f@12 referenced in function "void __cdecl drawScene(void)" (?drawScene@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glBegin@4 referenced in function "void __cdecl drawScene(void)" (?drawScene@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glPushMatrix@0 referenced in function "void __cdecl drawScene(void)" (?drawScene@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glTranslatef@12 referenced in function "void __cdecl drawScene(void)" (?drawScene@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glRotatef@16 referenced in function "void __cdecl drawScene(void)" (?drawScene@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glClear@4 referenced in function "void __cdecl drawScene(void)" (?drawScene@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol _glutTimerFunc@12 referenced in function "void __cdecl update(int)" (?update@@YAXH@Z)
1>main.obj : error LNK2019: unresolved external symbol _glutPostRedisplay@0 referenced in function "void __cdecl update(int)" (?update@@YAXH@Z)
1>main.obj : error LNK2019: unresolved external symbol _glutMainLoop@0 referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _glutReshapeFunc@4 referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _glutKeyboardFunc@4 referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _glutDisplayFunc@4 referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _glutCreateWindow@4 referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _glutInitWindowSize@8 referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _glutInitDisplayMode@4 referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _glutInit@8 referenced in function _main
1>D:\transform\Release\TRANSF.exe : fatal error LNK1120: 25 unresolved externals
1>Build log was saved at "file://d:\transform\Release\BuildLog.htm"
1>TRANSF - 26 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Unaprijed hvala
|