我已经链接到 glut32.lib 并将 glut32.dll 放在调试文件夹中
但是,仍然存在我不知道它们链接到哪些库的错误
solved external symbol __imp__glMaterialfv@12 referenced in function "void __cdecl copper_texture(void)" (?copper_texture@@YAXXZ)
1>rc.obj : error LNK2019: unresolved external symbol __imp__glVertex3f@12 referenced in function "void __cdecl do_display(void)" (?do_display@@YAXXZ)
1>rc.obj : error LNK2019: unresolved external symbol __imp__glNormal3f@12 referenced in function "void __cdecl do_display(void)" (?do_display@@YAXXZ)
1>rc.obj : error LNK2019: unresolved external symbol __imp__glEnd@0 referenced in function "void __cdecl do_display(void)" (?do_display@@YAXXZ)
1>rc.obj : error LNK2019: unresolved external symbol __imp__glVertex3fv@4 referenced in function "void __cdecl do_display(void)" (?do_display@@YAXXZ)
1>rc.obj : error LNK2019: unresolved external symbol __imp__glNormal3fv@4 referenced in function "void __cdecl do_display(void)" (?do_display@@YAXXZ)
我可能已经在 GL.h 中跟踪并找到了它们的定义,如下所示:
WINGDIAPI void APIENTRY glVertex2sv (const GLshort *v);
WINGDIAPI void APIENTRY glVertex3d (GLdouble x, GLdouble y, GLdouble z);
WINGDIAPI void APIENTRY glVertex3dv (const GLdouble *v);
WINGDIAPI void APIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z);
WINGDIAPI void APIENTRY glVertex3fv (const GLfloat *v);
WINGDIAPI void APIENTRY glVertex3i (GLint x, GLint y, GLint z);
我应该如何解决这个链接问题?