Hi, everyone, Now I am integrating fltk and glut in my project. The complication of the project is successful, but when I try to build it, following link errors occur.
I think I have added the necessary libs into my project, such as opengl32.lib and glu32.lib. For more I use fltk-1.1.7, VisualC++ 2005 express edition and Windows XP system. Does somebody can give me some suggestions? I have spent hours on this error but still can't find the solution. Thank you very much. ========================================================== TerrainBoxGUI.obj : error LNK2001: unresolved external symbol "class Fl_Glut_Window * glut_window" (?glut_window@@3PAVFl_Glut_Window@@A) TerrainViz.obj : error LNK2019: unresolved external symbol "class Fl_Glut_Window * glut_window" (?glut_window@@3PAVFl_Glut_Window@@A) referenced in function "void __cdecl display(void)" (?display@@YAXXZ) TerrainBoxGUI.obj : error LNK2019: unresolved external symbol "int __cdecl glutCreateWindow(char *)" (?glutCreateWindow@@[EMAIL PROTECTED]) referenced in function _main TerrainBoxGUI.obj : error LNK2019: unresolved external symbol "void __cdecl glutInitWindowPosition(int,int)" (?glutInitWindowPosition@@[EMAIL PROTECTED]) referenced in function _main TerrainBoxGUI.obj : error LNK2019: unresolved external symbol "void __cdecl glutInitWindowSize(int,int)" (?glutInitWindowSize@@[EMAIL PROTECTED]) referenced in function _main TerrainBoxGUI.obj : error LNK2019: unresolved external symbol "void __cdecl glutInitDisplayMode(unsigned int)" (?glutInitDisplayMode@@[EMAIL PROTECTED]) referenced in function _main TerrainBoxGUI.obj : error LNK2019: unresolved external symbol "void __cdecl TerrainViz(class Fl_Widget *,void *)" (?TerrainViz@@YAXPAVFl_Widget@@[EMAIL PROTECTED]) referenced in function "void __cdecl cb_TerrainVisualization(class Fl_Button *,void *)" (?cb_TerrainVisualization@@YAXPAVFl_Button@@[EMAIL PROTECTED]) TerrainViz.obj : error LNK2019: unresolved external symbol "void __cdecl glutSwapBuffers(void)" (?glutSwapBuffers@@YAXXZ) referenced in function "void __cdecl display(void)" (?display@@YAXXZ) TerrainViz.obj : error LNK2019: unresolved external symbol "void __cdecl glutAddMenuEntry(char *,int)" (?glutAddMenuEntry@@[EMAIL PROTECTED]) referenced in function "void __cdecl createMenu(void)" (?createMenu@@YAXXZ) TerrainViz.obj : error LNK2019: unresolved external symbol "int __cdecl glutCreateMenu(void (__cdecl*)(int))" (?glutCreateMenu@@[EMAIL PROTECTED]@Z) referenced in function "void __cdecl createMenu(void)" (?createMenu@@YAXXZ) TerrainViz.obj : error LNK2001: unresolved external symbol "int glut_menu" (?glut_menu@@3HA) _______________________________________________ fltk-opengl mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-opengl
