Message boards : BOINC client : Compiling BOINC
Message board moderation
Author | Message |
---|---|
Send message Joined: 28 Dec 11 Posts: 1 |
Hi, I'm trying to compile BOINC client on my OpenSBD 5.0/amd64 server. I used ./configure --disable-server , and when I "make" I have the following errors : gutil.cpp:72: error: 'GLfloat' does not name a type gutil.cpp:73: error: 'GLfloat' does not name a type gutil.cpp:77: error: variable or field 'mode_shaded' declared void gutil.cpp:77: error: 'GLfloat' was not declared in this scope gutil.cpp:77: error: 'color' was not declared in this scope gutil.cpp: In function 'void mode_texture()': gutil.cpp:94: error: 'GL_DEPTH_TEST' was not declared in this scope gutil.cpp:94: error: 'glEnable' was not declared in this scope gutil.cpp:95: error: 'GL_LIGHTING' was not declared in this scope gutil.cpp:95: error: 'glDisable' was not declared in this scope gutil.cpp:96: error: 'GL_LIGHT0' was not declared in this scope gutil.cpp: In function 'void mode_unshaded()': gutil.cpp:102: error: 'GL_DEPTH_TEST' was not declared in this scope gutil.cpp:102: error: 'glEnable' was not declared in this scope gutil.cpp:103: error: 'GL_LIGHTING' was not declared in this scope gutil.cpp:103: error: 'glDisable' was not declared in this scope gutil.cpp:104: error: 'GL_LIGHT0' was not declared in this scope gutil.cpp:105: error: 'GL_BLEND' was not declared in this scope gutil.cpp:106: error: 'GL_SRC_ALPHA' was not declared in this scope gutil.cpp:106: error: 'GL_ONE_MINUS_SRC_ALPHA' was not declared in this scope gutil.cpp:106: error: 'glBlendFunc' was not declared in this scope gutil.cpp:107: error: 'GL_SMOOTH' was not declared in this scope gutil.cpp:107: error: 'glShadeModel' was not declared in this scope gutil.cpp:108: error: 'GL_TRUE' was not declared in this scope gutil.cpp:108: error: 'glDepthMask' was not declared in this scope gutil.cpp: In function 'void mode_ortho()': gutil.cpp:115: error: 'GL_DEPTH_TEST' was not declared in this scope gutil.cpp:115: error: 'glDisable' was not declared in this scope gutil.cpp:116: error: 'GL_PROJECTION' was not declared in this scope gutil.cpp:116: error: 'glMatrixMode' was not declared in this scope gutil.cpp:117: error: 'glPushMatrix' was not declared in this scope gutil.cpp:118: error: 'glLoadIdentity' was not declared in this scope gutil.cpp:119: error: 'glOrtho' was not declared in this scope gutil.cpp:120: error: 'GL_MODELVIEW' was not declared in this scope gutil.cpp:127: error: 'gluLookAt' was not declared in this scope gutil.cpp: In function 'void ortho_done()': gutil.cpp:135: error: 'GL_PROJECTION' was not declared in this scope gutil.cpp:135: error: 'glMatrixMode' was not declared in this scope gutil.cpp:136: error: 'glPopMatrix' was not declared in this scope gutil.cpp:137: error: 'GL_MODELVIEW' was not declared in this scope gutil.cpp: In function 'bool get_matrix(double*)': gutil.cpp:142: error: 'GL_MODELVIEW' was not declared in this scope gutil.cpp:142: error: 'glMatrixMode' was not declared in this scope gutil.cpp:143: error: 'glPushMatrix' was not declared in this scope gutil.cpp:144: error: 'GL_MODELVIEW_MATRIX' was not declared in this scope gutil.cpp:144: error: 'glGetDoublev' was not declared in this scope gutil.cpp:145: error: 'glPopMatrix' was not declared in this scope gutil.cpp: In function 'bool get_projection(double*)': gutil.cpp:151: error: 'GL_PROJECTION' was not declared in this scope gutil.cpp:151: error: 'glMatrixMode' was not declared in this scope gutil.cpp:152: error: 'glPushMatrix' was not declared in this scope gutil.cpp:153: error: 'GL_PROJECTION_MATRIX' was not declared in this scope gutil.cpp:153: error: 'glGetDoublev' was not declared in this scope gutil.cpp:154: error: 'glPopMatrix' was not declared in this scope gutil.cpp: In function 'bool get_viewport(int*)': gutil.cpp:159: error: 'GL_MODELVIEW' was not declared in this scope gutil.cpp:159: error: 'glMatrixMode' was not declared in this scope gutil.cpp:160: error: 'GL_VIEWPORT' was not declared in this scope gutil.cpp:160: error: 'GLint' was not declared in this scope gutil.cpp:160: error: expected primary-expression before ')' token gutil.cpp:160: error: 'glGetIntegerv' was not declared in this scope gutil.cpp: At global scope: gutil.cpp:158: warning: unused parameter 'view' gutil.cpp: In function 'void get_2d_positions(double, double, double, double*, double*, int*, double*)': gutil.cpp:167: error: 'GLint' was not declared in this scope gutil.cpp:167: error: expected primary-expression before ')' token gutil.cpp:167: error: 'gluProject' was not declared in this scope gutil.cpp: At global scope: gutil.cpp:166: warning: unused parameter 'viewport' gutil.cpp: In function 'void mode_lines()': gutil.cpp:171: error: 'GL_BLEND' was not declared in this scope gutil.cpp:171: error: 'glEnable' was not declared in this scope gutil.cpp:172: error: 'GL_LIGHTING' was not declared in this scope gutil.cpp:172: error: 'glDisable' was not declared in this scope gutil.cpp:173: error: 'GL_LIGHT0' was not declared in this scope gutil.cpp: In function 'void scale_screen(int, int)': gutil.cpp:218: error: 'glScalef' was not declared in this scope gutil.cpp: In function 'void center_screen(int, int)': gutil.cpp:225: error: 'glTranslatef' was not declared in this scope gutil.cpp:227: error: 'glTranslatef' was not declared in this scope gutil.cpp: At global scope: gutil.cpp:231: error: variable or field 'drawSphere' declared void gutil.cpp:231: error: 'GLfloat' was not declared in this scope gutil.cpp:231: error: 'pos' was not declared in this scope gutil.cpp:231: error: 'GLfloat' was not declared in this scope gutil.cpp:240: error: 'GLfloat' has not been declared gutil.cpp:240: error: 'GLfloat' has not been declared gutil.cpp:240: error: 'GLfloat' has not been declared gutil.cpp: In function 'void drawCylinder(bool, int*, int, int)': gutil.cpp:241: error: 'GLUquadricObj' was not declared in this scope gutil.cpp:241: error: 'x' was not declared in this scope gutil.cpp:241: error: 'gluNewQuadric' was not declared in this scope gutil.cpp:242: error: 'glPushMatrix' was not declared in this scope gutil.cpp:243: error: 'glTranslatef' was not declared in this scope gutil.cpp:245: error: 'glRotated' was not declared in this scope gutil.cpp:247: error: 'glRotated' was not declared in this scope gutil.cpp:249: error: 'gluCylinder' was not declared in this scope gutil.cpp:250: error: 'gluDeleteQuadric' was not declared in this scope gutil.cpp:251: error: 'glPopMatrix' was not declared in this scope gutil.cpp: At global scope: gutil.cpp:255: error: variable or field 'init' declared void gutil.cpp:255: error: 'GLfloat' was not declared in this scope gutil.cpp:255: error: 'p' was not declared in this scope gutil.cpp:255: error: 'GLfloat' was not declared in this scope gutil.cpp:255: error: 'GLfloat' was not declared in this scope gutil.cpp:255: error: 'GLfloat' was not declared in this scope gutil.cpp:255: error: 'GLfloat' was not declared in this scope gutil.cpp:255: error: 'c' was not declared in this scope gutil.cpp:255: error: 'GLfloat' was not declared in this scope gutil.cpp:255: error: 'ic' was not declared in this scope gutil.cpp:273: error: variable or field 'init' declared void gutil.cpp:273: error: 'GLfloat' was not declared in this scope gutil.cpp:273: error: 'p' was not declared in this scope gutil.cpp:273: error: 'GLfloat' was not declared in this scope gutil.cpp:273: error: 'GLfloat' was not declared in this scope gutil.cpp:273: error: 'GLfloat' was not declared in this scope gutil.cpp:273: error: 'GLfloat' was not declared in this scope gutil.cpp:273: error: 'c' was not declared in this scope gutil.cpp:273: error: 'GLfloat' was not declared in this scope gutil.cpp:273: error: 'ic' was not declared in this scope gutil.cpp: In member function 'void PROGRESS_2D::draw(float)': gutil.cpp:289: error: 'GL_QUADS' was not declared in this scope gutil.cpp:289: error: 'glBegin' was not declared in this scope gutil.cpp:290: error: 'glColor4d' was not declared in this scope gutil.cpp:291: error: 'glVertex3d' was not declared in this scope gutil.cpp:295: error: 'glEnd' was not declared in this scope gutil.cpp: In member function 'void RIBBON_GRAPH::draw_x(int)': gutil.cpp:344: error: 'GLfloat' was not declared in this scope gutil.cpp:344: error: expected `;' before 'pt' gutil.cpp:348: error: 'glNormal3fv' was not declared in this scope gutil.cpp:349: error: 'pt' was not declared in this scope gutil.cpp:352: error: 'glVertex3fv' was not declared in this scope gutil.cpp: In member function 'void RIBBON_GRAPH::draw_y(int)': gutil.cpp:377: error: 'GLfloat' was not declared in this scope gutil.cpp:377: error: expected `;' before 'pt' gutil.cpp:380: error: 'glNormal3fv' was not declared in this scope gutil.cpp:381: error: 'pt' was not declared in this scope gutil.cpp:384: error: 'glVertex3fv' was not declared in this scope gutil.cpp: In member function 'void RIBBON_GRAPH::draw_tick(int)': gutil.cpp:394: error: 'GLfloat' was not declared in this scope gutil.cpp:394: error: expected `;' before 'pt' gutil.cpp:397: error: 'pt' was not declared in this scope gutil.cpp:400: error: 'glVertex3fv' was not declared in this scope gutil.cpp: In member function 'void RIBBON_GRAPH::draw(float*, int, bool)': gutil.cpp:421: error: 'GL_QUADS' was not declared in this scope gutil.cpp:421: error: 'glBegin' was not declared in this scope gutil.cpp:434: error: 'glEnd' was not declared in this scope gutil.cpp: In member function 'void STARFIELD::update_stars(float)': gutil.cpp:505: error: 'glColor4f' was not declared in this scope gutil.cpp:516: error: 'glPointSize' was not declared in this scope gutil.cpp:517: error: 'glPointSize' was not declared in this scope gutil.cpp:518: error: 'GL_POINTS' was not declared in this scope gutil.cpp:518: error: 'glBegin' was not declared in this scope gutil.cpp:519: error: 'GLfloat' was not declared in this scope gutil.cpp:519: error: expected `)' before 'y' gutil.cpp:519: error: 'glVertex2f' was not declared in this scope gutil.cpp:520: error: 'glEnd' was not declared in this scope gutil.cpp: In member function 'void TEXTURE_DESC::draw(float*, float*, int, int, float)': gutil.cpp:602: error: 'glColor4f' was not declared in this scope gutil.cpp:603: error: 'GL_TEXTURE_2D' was not declared in this scope gutil.cpp:603: error: 'glEnable' was not declared in this scope gutil.cpp:604: error: 'glBindTexture' was not declared in this scope gutil.cpp:623: error: 'GL_QUADS' was not declared in this scope gutil.cpp:623: error: 'glBegin' was not declared in this scope gutil.cpp:624: error: 'glTexCoord2f' was not declared in this scope gutil.cpp:625: error: 'glVertex3fv' was not declared in this scope gutil.cpp:635: error: 'glEnd' was not declared in this scope gutil.cpp:641: error: 'glDisable' was not declared in this scope gutil.cpp: In member function 'int TEXTURE_DESC::CreateTextureJPG(const char*)': gutil.cpp:739: error: 'GL_UNPACK_ALIGNMENT' was not declared in this scope gutil.cpp:739: error: 'glPixelStorei' was not declared in this scope gutil.cpp:740: error: 'GLuint' was not declared in this scope gutil.cpp:740: error: expected primary-expression before ')' token gutil.cpp:740: error: 'glGenTextures' was not declared in this scope gutil.cpp:741: error: 'GL_TEXTURE_2D' was not declared in this scope gutil.cpp:741: error: 'glBindTexture' was not declared in this scope gutil.cpp:742: error: 'GL_RGB' was not declared in this scope gutil.cpp:742: error: 'GL_UNSIGNED_BYTE' was not declared in this scope gutil.cpp:742: error: 'gluBuild2DMipmaps' was not declared in this scope gutil.cpp:743: error: 'GL_TEXTURE_MIN_FILTER' was not declared in this scope gutil.cpp:743: error: 'GL_LINEAR_MIPMAP_NEAREST' was not declared in this scope gutil.cpp:743: error: 'glTexParameteri' was not declared in this scope gutil.cpp:744: error: 'GL_TEXTURE_MAG_FILTER' was not declared in this scope gutil.cpp:744: error: 'GL_LINEAR_MIPMAP_LINEAR' was not declared in this scope gutil.cpp: In member function 'int TEXTURE_DESC::CreateTexturePPM(const char*)': gutil.cpp:785: error: 'GL_UNPACK_ALIGNMENT' was not declared in this scope gutil.cpp:785: error: 'glPixelStorei' was not declared in this scope gutil.cpp:786: error: 'GLuint' was not declared in this scope gutil.cpp:786: error: expected primary-expression before ')' token gutil.cpp:786: error: 'glGenTextures' was not declared in this scope gutil.cpp:787: error: 'GL_TEXTURE_2D' was not declared in this scope gutil.cpp:787: error: 'glBindTexture' was not declared in this scope gutil.cpp:788: error: 'GL_RGB' was not declared in this scope gutil.cpp:788: error: 'GL_UNSIGNED_BYTE' was not declared in this scope gutil.cpp:788: error: 'gluBuild2DMipmaps' was not declared in this scope gutil.cpp:789: error: 'GL_TEXTURE_MIN_FILTER' was not declared in this scope gutil.cpp:789: error: 'GL_LINEAR_MIPMAP_NEAREST' was not declared in this scope gutil.cpp:789: error: 'glTexParameteri' was not declared in this scope gutil.cpp:790: error: 'GL_TEXTURE_MAG_FILTER' was not declared in this scope gutil.cpp:790: error: 'GL_LINEAR_MIPMAP_LINEAR' was not declared in this scope gutil.cpp: In member function 'int TEXTURE_DESC::CreateTextureRGB(const char*)': gutil.cpp:808: error: 'GL_UNPACK_ALIGNMENT' was not declared in this scope gutil.cpp:808: error: 'glPixelStorei' was not declared in this scope gutil.cpp:809: error: 'GLuint' was not declared in this scope gutil.cpp:809: error: expected primary-expression before ')' token gutil.cpp:809: error: 'glGenTextures' was not declared in this scope gutil.cpp:810: error: 'GL_TEXTURE_2D' was not declared in this scope gutil.cpp:810: error: 'glBindTexture' was not declared in this scope gutil.cpp:811: error: 'GL_RGBA' was not declared in this scope gutil.cpp:811: error: 'GL_UNSIGNED_BYTE' was not declared in this scope gutil.cpp:811: error: 'gluBuild2DMipmaps' was not declared in this scope gutil.cpp:812: error: 'GL_TEXTURE_MIN_FILTER' was not declared in this scope gutil.cpp:812: error: 'GL_LINEAR_MIPMAP_NEAREST' was not declared in this scope gutil.cpp:812: error: 'glTexParameteri' was not declared in this scope gutil.cpp:813: error: 'GL_TEXTURE_MAG_FILTER' was not declared in this scope gutil.cpp:813: error: 'GL_LINEAR_MIPMAP_LINEAR' was not declared in this scope gutil.cpp: In function 'void print_text(const char*)': gutil.cpp:905: error: 'GL_LIST_BIT' was not declared in this scope gutil.cpp:905: error: 'glPushAttrib' was not declared in this scope gutil.cpp:906: error: 'glListBase' was not declared in this scope gutil.cpp:907: error: 'GLsizei' was not declared in this scope gutil.cpp:907: error: 'GL_UNSIGNED_BYTE' was not declared in this scope gutil.cpp:907: error: 'glCallLists' was not declared in this scope gutil.cpp:908: error: 'glPopAttrib' was not declared in this scope *** Error code 1 I precise that I have installed freeglut / hs-OpenGL / hs-GLUT, but api/gutil.cpp don't want to be compiled. Is there anybody who can help me ? Thanks |
Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.