|
From: Maya <Esc...@ne...> - 2004-01-13 02:46:21
|
I have installed GLUI using the package manager, but when I tried to complied the sample application Dev-C++ generates I get a whole lot of errors, can anyone help? Thanks in advance!! ============== Compiler: Default compiler Building Makefile: "C:\tmp\Makefile.win" Executing make... make.exe -f "C:\tmp\Makefile.win" all g++.exe -c main.cpp -o main.o -I"C:/DEV-CPP/include/c++" -I"C:/DEV-CPP/include/c++/mingw32" -I"C:/DEV-CPP/include/c++/backward" -I"C:/DEV-CPP/include" In file included from main.cpp:15: C:/DEV-CPP/include/GL/glui.h:31:21: GL/glut.h: No such file or directory In file included from main.cpp:15: C:/DEV-CPP/include/GL/glui.h: In member function `void GLUI_Master_Object::set_glutDisplayFunc(void (*)())': C:/DEV-CPP/include/GL/glui.h:438: `glutDisplayFunc' undeclared (first use this function) C:/DEV-CPP/include/GL/glui.h:438: (Each undeclared identifier is reported only once for each function it appears in.) C:/DEV-CPP/include/GL/glui.h: In member function `void GLUI_Master_Object::set_glutTimerFunc(unsigned int, void (*)(int), int)': C:/DEV-CPP/include/GL/glui.h:440: `::glutTimerFunc' undeclared (first use here) C:/DEV-CPP/include/GL/glui.h: In member function `void GLUI_Master_Object::set_glutOverlayDisplayFunc(void (*)())': C:/DEV-CPP/include/GL/glui.h:441: `glutOverlayDisplayFunc' undeclared (first use this function) C:/DEV-CPP/include/GL/glui.h: In member function `void GLUI_Master_Object::set_glutSpaceballMotionFunc(void (*)(int, int, int))': C:/DEV-CPP/include/GL/glui.h:442: `glutSpaceballMotionFunc' undeclared (first use this function) C:/DEV-CPP/include/GL/glui.h: In member function `void GLUI_Master_Object::set_glutSpaceballRotateFunc(void (*)(int, int, int))': C:/DEV-CPP/include/GL/glui.h:443: `glutSpaceballRotateFunc' undeclared (first use this function) C:/DEV-CPP/include/GL/glui.h: In member function `void GLUI_Master_Object::set_glutSpaceballButtonFunc(void (*)(int, int))': C:/DEV-CPP/include/GL/glui.h:444: `glutSpaceballButtonFunc' undeclared (first use this function) C:/DEV-CPP/include/GL/glui.h: In member function `void GLUI_Master_Object::set_glutTabletMotionFunc(void (*)(int, int))': C:/DEV-CPP/include/GL/glui.h:445: `glutTabletMotionFunc' undeclared (first use this function) C:/DEV-CPP/include/GL/glui.h: In member function `void GLUI_Master_Object::set_glutTabletButtonFunc(void (*)(int, int, int, int))': C:/DEV-CPP/include/GL/glui.h:446: `glutTabletButtonFunc' undeclared (first use this function) C:/DEV-CPP/include/GL/glui.h: In member function `void GLUI_Master_Object::set_glutMenuStatusFunc(void (*)(int, int, int))': C:/DEV-CPP/include/GL/glui.h:448: `glutMenuStatusFunc' undeclared (first use this function) C:/DEV-CPP/include/GL/glui.h: In member function `void GLUI_Master_Object::set_glutMenuStateFunc(void (*)(int))': C:/DEV-CPP/include/GL/glui.h:449: `glutMenuStateFunc' undeclared (first use this function) C:/DEV-CPP/include/GL/glui.h: In member function `void GLUI_Master_Object::set_glutButtonBoxFunc(void (*)(int, int))': C:/DEV-CPP/include/GL/glui.h:450: `glutButtonBoxFunc' undeclared (first use this function) C:/DEV-CPP/include/GL/glui.h: In member function `void GLUI_Master_Object::set_glutDialsFunc(void (*)(int, int))': C:/DEV-CPP/include/GL/glui.h:451: `glutDialsFunc' undeclared (first use this function) C:/DEV-CPP/include/GL/glui.h: In member function `void GLUI_Control::translate_to_origin()': C:/DEV-CPP/include/GL/glui.h:705: `glTranslatef' undeclared (first use this function) C:/DEV-CPP/include/GL/glui.h: At global scope: C:/DEV-CPP/include/GL/glui.h:1501: syntax error before `*' token C:/DEV-CPP/include/GL/glui.h:1549: syntax error before `*' token C:/DEV-CPP/include/GL/glui.h: In constructor `GLUI_Translation::GLUI_Translation()': C:/DEV-CPP/include/GL/glui.h:1603: `quadObj' undeclared (first use this function) main.cpp:16:21: GL/glut.h: No such file or directory main.cpp: In function `void myGlutIdle()': main.cpp:31: `glutGetWindow' undeclared (first use this function) main.cpp:32: `glutSetWindow' undeclared (first use this function) main.cpp:34: `glutPostRedisplay' undeclared (first use this function) main.cpp: In function `void myGlutReshape(int, int)': main.cpp:45: `glViewport' undeclared (first use this function) main.cpp:47: `GL_PROJECTION' undeclared (first use this function) main.cpp:47: `glMatrixMode' undeclared (first use this function) main.cpp:48: `glLoadIdentity' undeclared (first use this function) main.cpp:49: `glFrustum' undeclared (first use this function) main.cpp: In function `void myGlutDisplay()': main.cpp:60: `glClearColor' undeclared (first use this function) main.cpp:61: `GL_COLOR_BUFFER_BIT' undeclared (first use this function) main.cpp:61: `GL_DEPTH_BUFFER_BIT' undeclared (first use this function) main.cpp:61: `glClear' undeclared (first use this function) main.cpp:67: `GL_MODELVIEW' undeclared (first use this function) main.cpp:70: `glRotatef' undeclared (first use this function) main.cpp:78: `glutWireTorus' undeclared (first use this function) main.cpp:80: `glutSolidTorus' undeclared (first use this function) main.cpp:82: `glutSwapBuffers' undeclared (first use this function) main.cpp: In function `int main(int, char**)': main.cpp:94: `GLUT_RGB' undeclared (first use this function) main.cpp:94: `GLUT_DOUBLE' undeclared (first use this function) main.cpp:94: `GLUT_DEPTH' undeclared (first use this function) main.cpp:94: `glutInitDisplayMode' undeclared (first use this function) main.cpp:95: `glutInitWindowPosition' undeclared (first use this function) main.cpp:96: `glutInitWindowSize' undeclared (first use this function) main.cpp:98: `glutCreateWindow' undeclared (first use this function) main.cpp:100: `glutReshapeFunc' undeclared (first use this function) main.cpp:106: `GLfloat' undeclared (first use this function) main.cpp:106: parse error before `[' token main.cpp: At global scope: main.cpp:107: parse error before `[' token main.cpp:108: parse error before `[' token main.cpp:110: `GL_LIGHTING' was not declared in this scope main.cpp:110: ISO C++ forbids declaration of `glEnable' with no type main.cpp:111: `GL_LIGHT0' was not declared in this scope main.cpp:111: ISO C++ forbids declaration of `glEnable' with no type main.cpp:111: redefinition of `int glEnable' main.cpp:110: `int glEnable' previously defined here main.cpp:112: `GL_LIGHT0' was not declared in this scope main.cpp:112: `GL_AMBIENT' was not declared in this scope main.cpp:112: `light0_ambient' was not declared in this scope main.cpp:112: ISO C++ forbids declaration of `glLightfv' with no type main.cpp:112: initializer list being treated as compound expression main.cpp:113: `GL_LIGHT0' was not declared in this scope main.cpp:113: `GL_DIFFUSE' was not declared in this scope main.cpp:113: `light0_diffuse' was not declared in this scope main.cpp:113: ISO C++ forbids declaration of `glLightfv' with no type main.cpp:113: redefinition of `int glLightfv' main.cpp:112: `int glLightfv' previously defined here main.cpp:113: initializer list being treated as compound expression main.cpp:114: `GL_LIGHT0' was not declared in this scope main.cpp:114: `GL_POSITION' was not declared in this scope main.cpp:114: `light0_position' was not declared in this scope main.cpp:114: ISO C++ forbids declaration of `glLightfv' with no type main.cpp:114: redefinition of `int glLightfv' main.cpp:113: `int glLightfv' previously defined here main.cpp:114: initializer list being treated as compound expression main.cpp:120: `GL_DEPTH_TEST' was not declared in this scope main.cpp:120: ISO C++ forbids declaration of `glEnable' with no type main.cpp:120: redefinition of `int glEnable' main.cpp:111: `int glEnable' previously defined here main.cpp:128: syntax error before `->' token main.cpp:131: syntax error before `->' token main.cpp:133: syntax error before `->' token main.cpp:136: syntax error before `.' token main.cpp:138: ISO C++ forbids declaration of `glutMainLoop' with no type main.cpp:139: parse error before `}' token make.exe: *** [main.o] Error 1 Execution terminated -- FYI http://www.astro.umd.edu/~marshall/abbrev.html E-Mail Policy http://www.vif.com/users/escalante/Email_Policy.html * You cannot exercise your power to a point of humiliation. - Jean Chretien * The media's the most powerful entity on earth. They have the power to make the innocent guilty and to make the guilty innocent, and that's power. - Malcom X * "Innocent until proven guilty", no... not in Canada!! |