* Package: sci-mathematics/mathmod-4.1-r1 * Repository: gentoo * Maintainer: grozin@gentoo.org sci-mathematics@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking mathmod-4.1.src.zip to /var/tmp/portage/sci-mathematics/mathmod-4.1-r1/work >>> Source unpacked in /var/tmp/portage/sci-mathematics/mathmod-4.1-r1/work >>> Preparing source in /var/tmp/portage/sci-mathematics/mathmod-4.1-r1/work/mathmod-branches-274-trunk ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-mathematics/mathmod-4.1-r1/work/mathmod-branches-274-trunk ... * Running qmake ... [ ok ] >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-mathematics/mathmod-4.1-r1/work/mathmod-branches-274-trunk ... make -j1 /usr/lib64/qt5/bin/uic ui_forms/drawingoptions.ui -o ui_drawingoptions.h /usr/lib64/qt5/bin/uic ui_forms/colorsoptions.ui -o ui_colorsoptions.h /usr/lib64/qt5/bin/uic ui_forms/about.ui -o ui_about.h /usr/lib64/qt5/bin/uic ui_forms/mathmod.ui -o ui_mathmod.h /usr/lib64/qt5/bin/uic ui_forms/editor.ui -o ui_editor.h /usr/lib64/qt5/bin/uic ui_forms/parametersoptions.ui -o ui_parametersoptions.h /usr/lib64/qt5/bin/uic ui_forms/sliderparam.ui -o ui_sliderparam.h /usr/lib64/qt5/bin/uic ui_forms/addparam.ui -o ui_addparam.h x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o drawingoptions.o ui_modules/drawingoptions.cpp x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o colorsoptions.o ui_modules/colorsoptions.cpp x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o mathmod.o ui_modules/mathmod.cpp x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o about.o ui_modules/about.cpp x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o ParisoMathObject.o ui_modules/ParisoMathObject.cpp x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o editor.o ui_modules/editor.cpp x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o fparser.o fparser/fparser.cpp x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o Model3D.o pariso/parametric/Model3D.cpp x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o Matrix4D.o pariso/parametric/ND/Matrix4D.cpp x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o Iso3D.o pariso/isosurface/Iso3D.cpp x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qglthread.o gl_viewer/qglthread.cpp x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o glviewer.o gl_viewer/glviewer.cpp gl_viewer/glviewer.cpp: In member function ‘void OpenGlWidget::smoothline()’: gl_viewer/glviewer.cpp:235:19: error: ‘GL_LINE_SMOOTH’ was not declared in this scope glEnable (GL_LINE_SMOOTH); ^ gl_viewer/glviewer.cpp:238:17: error: ‘GL_LINE_SMOOTH_HINT’ was not declared in this scope glHint (GL_LINE_SMOOTH_HINT, GL_DONT_CARE); ^ gl_viewer/glviewer.cpp:242:19: error: ‘GL_LINE_SMOOTH’ was not declared in this scope glDisable(GL_LINE_SMOOTH); ^ gl_viewer/glviewer.cpp: In function ‘void makeRasterFont()’: gl_viewer/glviewer.cpp:271:37: error: ‘glGenLists’ was not declared in this scope fontOffset = glGenLists (128); ^ gl_viewer/glviewer.cpp:275:37: error: ‘GL_COMPILE’ was not declared in this scope glNewList(i+fontOffset, GL_COMPILE); ^ gl_viewer/glviewer.cpp:275:47: error: ‘glNewList’ was not declared in this scope glNewList(i+fontOffset, GL_COMPILE); ^ gl_viewer/glviewer.cpp:276:63: error: ‘glBitmap’ was not declared in this scope glBitmap(8, 13, 0.0, 2.0, 10.0, 0.0, rasters[i-30]); ^ gl_viewer/glviewer.cpp:277:23: error: ‘glEndList’ was not declared in this scope glEndList(); ^ gl_viewer/glviewer.cpp: In member function ‘virtual void OpenGlWidget::resizeGL(int, int)’: gl_viewer/glviewer.cpp:434:18: error: ‘GL_PROJECTION’ was not declared in this scope glMatrixMode(GL_PROJECTION); ^ gl_viewer/glviewer.cpp:434:31: error: ‘glMatrixMode’ was not declared in this scope glMatrixMode(GL_PROJECTION); ^ gl_viewer/glviewer.cpp:435:20: error: ‘glLoadIdentity’ was not declared in this scope glLoadIdentity(); ^ gl_viewer/glviewer.cpp:450:79: error: ‘glFrustum’ was not declared in this scope glFrustum(-250+startw, 250+startw, -250+starth, 250+starth, 340.0, 3000.0 ); ^ gl_viewer/glviewer.cpp:451:18: error: ‘GL_MODELVIEW’ was not declared in this scope glMatrixMode(GL_MODELVIEW); ^ gl_viewer/glviewer.cpp:453:36: error: ‘glTranslatef’ was not declared in this scope glTranslatef( 0.0, 0.0, -800.0 ); ^ gl_viewer/glviewer.cpp: In member function ‘void OpenGlWidget::PrintInfos()’: gl_viewer/glviewer.cpp:499:18: error: ‘GL_PROJECTION’ was not declared in this scope glMatrixMode(GL_PROJECTION); ^ gl_viewer/glviewer.cpp:499:31: error: ‘glMatrixMode’ was not declared in this scope glMatrixMode(GL_PROJECTION); ^ gl_viewer/glviewer.cpp:500:18: error: ‘glPushMatrix’ was not declared in this scope glPushMatrix(); ^ gl_viewer/glviewer.cpp:501:20: error: ‘glLoadIdentity’ was not declared in this scope glLoadIdentity(); ^ gl_viewer/glviewer.cpp:502:56: error: ‘glOrtho’ was not declared in this scope glOrtho(-315, 315, -heightresult, heightresult,-1,1); ^ gl_viewer/glviewer.cpp:503:18: error: ‘GL_MODELVIEW’ was not declared in this scope glMatrixMode(GL_MODELVIEW); ^ gl_viewer/glviewer.cpp:508:31: error: ‘glColor3f’ was not declared in this scope glColor3f (0., 1.0, 0.); ^ gl_viewer/glviewer.cpp:509:32: error: ‘glRasterPos2i’ was not declared in this scope glRasterPos2i(-310, ref); ^ gl_viewer/glviewer.cpp:512:41: error: ‘glCallLists’ was not declared in this scope (GLubyte *)"Grid = "); ^ gl_viewer/glviewer.cpp:520:31: error: ‘glColor3f’ was not declared in this scope glColor3f (0., 1.0, 0.); ^ gl_viewer/glviewer.cpp:521:35: error: ‘glRasterPos2i’ was not declared in this scope glRasterPos2i(-310, ref-20); ^ gl_viewer/glviewer.cpp:524:41: error: ‘glCallLists’ was not declared in this scope (GLubyte *)"Poly = "); ^ gl_viewer/glviewer.cpp:541:35: error: ‘glColor3f’ was not declared in this scope glColor3f (0., 1.0, 0.); ^ gl_viewer/glviewer.cpp:542:39: error: ‘glRasterPos2i’ was not declared in this scope glRasterPos2i(-310, ref-40); ^ gl_viewer/glviewer.cpp:545:45: error: ‘glCallLists’ was not declared in this scope (GLubyte *)"Vertx= "); ^ gl_viewer/glviewer.cpp:555:31: error: ‘glColor3f’ was not declared in this scope glColor3f (0., 1.0, 0.); ^ gl_viewer/glviewer.cpp:556:35: error: ‘glRasterPos2i’ was not declared in this scope glRasterPos2i(-310, ref-60); ^ gl_viewer/glviewer.cpp:557:75: error: ‘glCallLists’ was not declared in this scope glCallLists(strlen("Anim ="),GL_UNSIGNED_BYTE, (GLubyte *)"Anim ="); ^ gl_viewer/glviewer.cpp:564:31: error: ‘glColor3f’ was not declared in this scope glColor3f (0., 1.0, 0.); ^ gl_viewer/glviewer.cpp:565:35: error: ‘glRasterPos2i’ was not declared in this scope glRasterPos2i(-310, ref-80); ^ gl_viewer/glviewer.cpp:566:77: error: ‘glCallLists’ was not declared in this scope glCallLists(strlen("Morph ="),GL_UNSIGNED_BYTE, (GLubyte *)"Morph ="); ^ gl_viewer/glviewer.cpp:572:17: error: ‘glPopMatrix’ was not declared in this scope glPopMatrix(); ^ gl_viewer/glviewer.cpp: In function ‘void DrawAxe()’: gl_viewer/glviewer.cpp:582:23: error: ‘glBegin’ was not declared in this scope glBegin( GL_LINES ); ^ gl_viewer/glviewer.cpp:583:26: error: ‘glColor3f’ was not declared in this scope glColor3f (1., 0., 0.); ^ gl_viewer/glviewer.cpp:584:32: error: ‘glVertex3f’ was not declared in this scope glVertex3f( 400.0, 0.0, 0.0); ^ gl_viewer/glviewer.cpp:592:11: error: ‘glEnd’ was not declared in this scope glEnd(); ^ gl_viewer/glviewer.cpp:645:30: error: ‘glRasterPos3i’ was not declared in this scope glRasterPos3i(410, 10, 10); ^ gl_viewer/glviewer.cpp:646:49: error: ‘glCallLists’ was not declared in this scope glCallLists(strlen("X"),GL_UNSIGNED_BYTE,"X"); ^ gl_viewer/glviewer.cpp:649:33: error: ‘glTranslatef’ was not declared in this scope glTranslatef(410.0, 4.0, 4.0); ^ gl_viewer/glviewer.cpp: In function ‘void DrawNormals(ObjectProperties*)’: gl_viewer/glviewer.cpp:678:33: error: ‘glColor4f’ was not declared in this scope glColor4f (0.8, 0., 0.7, 1.0); ^ gl_viewer/glviewer.cpp:682:27: error: ‘glBegin’ was not declared in this scope glBegin( GL_LINES ); ^ gl_viewer/glviewer.cpp:685:73: error: ‘glVertex3f’ was not declared in this scope scene->ArrayNorVer_localPt[j+5 + TypeDrawinNormStep]); ^ gl_viewer/glviewer.cpp:689:15: error: ‘glEnd’ was not declared in this scope glEnd(); ^ gl_viewer/glviewer.cpp: In function ‘void DrawIso(ObjectProperties*)’: gl_viewer/glviewer.cpp:762:14: error: ‘GL_LIGHTING’ was not declared in this scope glEnable(GL_LIGHTING); ^ gl_viewer/glviewer.cpp:763:14: error: ‘GL_LIGHT0’ was not declared in this scope glEnable(GL_LIGHT0); ^ gl_viewer/glviewer.cpp:767:18: error: ‘GL_COLOR_MATERIAL’ was not declared in this scope glEnable(GL_COLOR_MATERIAL); ^ gl_viewer/glviewer.cpp:777:39: error: ‘GL_AMBIENT_AND_DIFFUSE’ was not declared in this scope glMaterialfv(GL_BACK, GL_AMBIENT_AND_DIFFUSE, scene->backcols[i ^ gl_viewer/glviewer.cpp:777:81: error: ‘glMaterialfv’ was not declared in this scope glMaterialfv(GL_BACK, GL_AMBIENT_AND_DIFFUSE, scene->backcols[i]); ^ gl_viewer/glviewer.cpp:816:19: error: ‘GL_COLOR_MATERIAL’ was not declared in this scope glDisable(GL_COLOR_MATERIAL); ^ gl_viewer/glviewer.cpp: In function ‘void DrawParametric(ObjectProperties*)’: gl_viewer/glviewer.cpp:825:14: error: ‘GL_LIGHTING’ was not declared in this scope glEnable(GL_LIGHTING); ^ gl_viewer/glviewer.cpp:826:14: error: ‘GL_LIGHT0’ was not declared in this scope glEnable(GL_LIGHT0); ^ gl_viewer/glviewer.cpp:830:18: error: ‘GL_COLOR_MATERIAL’ was not declared in this scope glEnable(GL_COLOR_MATERIAL); ^ gl_viewer/glviewer.cpp:839:39: error: ‘GL_AMBIENT_AND_DIFFUSE’ was not declared in this scope glMaterialfv(GL_BACK, GL_AMBIENT_AND_DIFFUSE, scene->backcolsPa ^ gl_viewer/glviewer.cpp:839:84: error: ‘glMaterialfv’ was not declared in this scope glMaterialfv(GL_BACK, GL_AMBIENT_AND_DIFFUSE, scene->backcolsPar[i]); ^ gl_viewer/glviewer.cpp:875:19: error: ‘GL_COLOR_MATERIAL’ was not declared in this scope glDisable(GL_COLOR_MATERIAL); ^ gl_viewer/glviewer.cpp: In member function ‘virtual void OpenGlWidget::initializeGL()’: gl_viewer/glviewer.cpp:892:26: error: ‘GL_C4F_N3F_V3F’ was not declared in this scope glInterleavedArrays (GL_C4F_N3F_V3F, 0, LocalScene.ArrayNorVer_localPt); ^ gl_viewer/glviewer.cpp:892:75: error: ‘glInterleavedArrays’ was not declared in this scope glInterleavedArrays (GL_C4F_N3F_V3F, 0, LocalScene.ArrayNorVer_localPt); ^ gl_viewer/glviewer.cpp: In member function ‘void OpenGlWidget::InitGlParameters()’: gl_viewer/glviewer.cpp:899:19: error: ‘GL_LIGHT_MODEL_TWO_SIDE’ was not declared in this scope glLightModelf(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE); ^ gl_viewer/glviewer.cpp:899:51: error: ‘glLightModelf’ was not declared in this scope glLightModelf(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE); ^ gl_viewer/glviewer.cpp:900:14: error: ‘GL_NORMALIZE’ was not declared in this scope glEnable(GL_NORMALIZE); ^ gl_viewer/glviewer.cpp:902:28: error: ‘GL_AMBIENT_AND_DIFFUSE’ was not declared in this scope glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, LocalScene.frontcol); ^ gl_viewer/glviewer.cpp:902:71: error: ‘glMaterialfv’ was not declared in this scope glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, LocalScene.frontcol); ^ gl_viewer/glviewer.cpp:904:28: error: ‘GL_SHININESS’ was not declared in this scope glMaterialf (GL_FRONT, GL_SHININESS, 35.0); ^ gl_viewer/glviewer.cpp:904:46: error: ‘glMaterialf’ was not declared in this scope glMaterialf (GL_FRONT, GL_SHININESS, 35.0); ^ gl_viewer/glviewer.cpp: In function ‘void DrawIsoCND(ObjectProperties*)’: gl_viewer/glviewer.cpp:917:42: error: ‘GL_LINE’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:917:49: error: ‘glPolygonMode’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:923:42: error: ‘GL_FILL’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); ^ gl_viewer/glviewer.cpp:930:42: error: ‘GL_LINE’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:930:49: error: ‘glPolygonMode’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:936:42: error: ‘GL_FILL’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); ^ gl_viewer/glviewer.cpp:943:42: error: ‘GL_LINE’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:943:49: error: ‘glPolygonMode’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:949:42: error: ‘GL_FILL’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); ^ gl_viewer/glviewer.cpp: In function ‘void DrawParCND(ObjectProperties*)’: gl_viewer/glviewer.cpp:959:42: error: ‘GL_LINE’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:959:49: error: ‘glPolygonMode’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:965:42: error: ‘GL_FILL’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); ^ gl_viewer/glviewer.cpp:972:42: error: ‘GL_LINE’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:972:49: error: ‘glPolygonMode’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:978:42: error: ‘GL_FILL’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); ^ gl_viewer/glviewer.cpp:985:42: error: ‘GL_LINE’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:985:49: error: ‘glPolygonMode’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:991:42: error: ‘GL_FILL’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); ^ gl_viewer/glviewer.cpp: In function ‘void DrawMeshIso(ObjectProperties*)’: gl_viewer/glviewer.cpp:998:38: error: ‘GL_LINE’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:998:45: error: ‘glPolygonMode’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:1000:38: error: ‘GL_FILL’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); ^ gl_viewer/glviewer.cpp: In function ‘void DrawMinimalTopology(ObjectProperties*)’: gl_viewer/glviewer.cpp:1005:90: error: ‘glColor4f’ was not declared in this scope (scene->gridcol[0], scene->gridcol[1], scene->gridcol[2], scene->gridcol[3]); ^ gl_viewer/glviewer.cpp:1006:38: error: ‘GL_LINE’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:1006:45: error: ‘glPolygonMode’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:1012:17: error: ‘GL_POLYGON’ was not declared in this scope glBegin(GL_POLYGON); ^ gl_viewer/glviewer.cpp:1012:27: error: ‘glBegin’ was not declared in this scope glBegin(GL_POLYGON); ^ gl_viewer/glviewer.cpp:1020:13: error: ‘glVertex3f’ was not declared in this scope ); ^ gl_viewer/glviewer.cpp:1023:15: error: ‘glEnd’ was not declared in this scope glEnd(); ^ gl_viewer/glviewer.cpp:1025:38: error: ‘GL_FILL’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); ^ gl_viewer/glviewer.cpp: In function ‘void DrawMeshParametric(ObjectProperties*)’: gl_viewer/glviewer.cpp:1030:90: error: ‘glColor4f’ was not declared in this scope (scene->gridcol[0], scene->gridcol[1], scene->gridcol[2], scene->gridcol[3]); ^ gl_viewer/glviewer.cpp:1031:38: error: ‘GL_LINE’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:1031:45: error: ‘glPolygonMode’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); ^ gl_viewer/glviewer.cpp:1037:17: error: ‘GL_POLYGON’ was not declared in this scope glBegin(GL_POLYGON); ^ gl_viewer/glviewer.cpp:1037:27: error: ‘glBegin’ was not declared in this scope glBegin(GL_POLYGON); ^ gl_viewer/glviewer.cpp:1045:13: error: ‘glVertex3f’ was not declared in this scope ); ^ gl_viewer/glviewer.cpp:1048:15: error: ‘glEnd’ was not declared in this scope glEnd(); ^ gl_viewer/glviewer.cpp:1050:38: error: ‘GL_FILL’ was not declared in this scope glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); ^ gl_viewer/glviewer.cpp: In function ‘void draw(ObjectProperties*)’: gl_viewer/glviewer.cpp:1061:34: error: ‘glRotatef’ was not declared in this scope glRotatef(270,1.0,0.0,0.0); ^ gl_viewer/glviewer.cpp:1066:23: error: ‘GL_LINE_SMOOTH’ was not declared in this scope glEnable (GL_LINE_SMOOTH); ^ gl_viewer/glviewer.cpp:1071:21: error: ‘GL_LINE_SMOOTH_HINT’ was not declared in this scope glHint (GL_LINE_SMOOTH_HINT, GL_DONT_CARE); ^ gl_viewer/glviewer.cpp:1081:79: error: ‘glRotatef’ was not declared in this scope glRotatef(scene->RotStrength, scene->axe_x, scene->axe_y, scene->axe_z); ^ gl_viewer/glviewer.cpp:1088:40: error: ‘glCallList’ was not declared in this scope glCallList(scene->gridplanliste); ^ gl_viewer/glviewer.cpp:1097:18: error: ‘glPushMatrix’ was not declared in this scope glPushMatrix(); ^ gl_viewer/glviewer.cpp:1102:47: error: ‘glRotatef’ was not declared in this scope glRotatef(scene->animxValue, 1.0, 0, 0); ^ gl_viewer/glviewer.cpp:1108:47: error: ‘glRotatef’ was not declared in this scope glRotatef(scene->animyValue, 0, 1.0, 0); ^ gl_viewer/glviewer.cpp:1114:47: error: ‘glRotatef’ was not declared in this scope glRotatef(scene->animzValue, 0, 0, 1.0); ^ gl_viewer/glviewer.cpp:1150:17: error: ‘glPopMatrix’ was not declared in this scope glPopMatrix(); ^ gl_viewer/glviewer.cpp: In member function ‘void OpenGlWidget::DrawPlan()’: gl_viewer/glviewer.cpp:1312:24: error: ‘glGenLists’ was not declared in this scope list = glGenLists(1); ^ gl_viewer/glviewer.cpp:1313:22: error: ‘GL_COMPILE’ was not declared in this scope glNewList( list, GL_COMPILE ); ^ gl_viewer/glviewer.cpp:1313:33: error: ‘glNewList’ was not declared in this scope glNewList( list, GL_COMPILE ); ^ gl_viewer/glviewer.cpp:1315:14: error: ‘GL_LINE’ was not declared in this scope glBegin( GL_LINE ); ^ gl_viewer/glviewer.cpp:1315:22: error: ‘glBegin’ was not declared in this scope glBegin( GL_LINE ); ^ gl_viewer/glviewer.cpp:1316:35: error: ‘glVertex3f’ was not declared in this scope glVertex3f(-400.0, 0.0, -400.0); ^ gl_viewer/glviewer.cpp:1317:29: error: ‘glNormal3f’ was not declared in this scope glNormal3f(0.0, 0.0, 1.0); ^ gl_viewer/glviewer.cpp:1327:11: error: ‘glEnd’ was not declared in this scope glEnd(); ^ gl_viewer/glviewer.cpp:1329:15: error: ‘glEndList’ was not declared in this scope glEndList(); ^ gl_viewer/glviewer.cpp: In member function ‘void OpenGlWidget::DrawGridPlan()’: gl_viewer/glviewer.cpp:1336:24: error: ‘glGenLists’ was not declared in this scope list = glGenLists(1); ^ gl_viewer/glviewer.cpp:1337:22: error: ‘GL_COMPILE’ was not declared in this scope glNewList( list, GL_COMPILE ); ^ gl_viewer/glviewer.cpp:1337:33: error: ‘glNewList’ was not declared in this scope glNewList( list, GL_COMPILE ); ^ gl_viewer/glviewer.cpp:1340:28: error: ‘glColor3f’ was not declared in this scope glColor3f (0.8, 0., 0.7); ^ gl_viewer/glviewer.cpp:1341:23: error: ‘glBegin’ was not declared in this scope glBegin( GL_LINES ); ^ gl_viewer/glviewer.cpp:1342:35: error: ‘glVertex3f’ was not declared in this scope glVertex3f(-150.0, 600.0, -350); ^ gl_viewer/glviewer.cpp:1408:11: error: ‘glEnd’ was not declared in this scope glEnd(); ^ gl_viewer/glviewer.cpp:1411:15: error: ‘glEndList’ was not declared in this scope glEndList(); ^ gl_viewer/glviewer.cpp: In member function ‘void OpenGlWidget::boxok()’: gl_viewer/glviewer.cpp:1491:44: error: ‘glGenLists’ was not declared in this scope LocalScene.gridplanliste = glGenLists(1); ^ gl_viewer/glviewer.cpp:1492:41: error: ‘GL_COMPILE’ was not declared in this scope glNewList(LocalScene.gridplanliste, GL_COMPILE ); ^ gl_viewer/glviewer.cpp:1492:52: error: ‘glNewList’ was not declared in this scope glNewList(LocalScene.gridplanliste, GL_COMPILE ); ^ gl_viewer/glviewer.cpp:1494:28: error: ‘glColor3f’ was not declared in this scope glColor3f (0.8, 0., 0.7); ^ gl_viewer/glviewer.cpp:1495:23: error: ‘glBegin’ was not declared in this scope glBegin( GL_LINES ); ^ gl_viewer/glviewer.cpp:1496:35: error: ‘glVertex3f’ was not declared in this scope glVertex3f(-150.0, 600.0, -350); ^ gl_viewer/glviewer.cpp:1562:11: error: ‘glEnd’ was not declared in this scope glEnd(); ^ gl_viewer/glviewer.cpp:1564:15: error: ‘glEndList’ was not declared in this scope glEndList(); ^ gl_viewer/glviewer.cpp: In member function ‘virtual void OpenGlWidget::mouseMoveEvent(QMouseEvent*)’: gl_viewer/glviewer.cpp:1597:82: error: ‘glScalef’ was not declared in this scope glScalef(LocalScene.ScalCoeff, LocalScene.ScalCoeff, LocalScene.ScalCoeff); ^ gl_viewer/glviewer.cpp:1608:22: error: ‘GL_MODELVIEW_MATRIX’ was not declared in this scope glGetDoublev(GL_MODELVIEW_MATRIX,LocalScene.matrix); ^ gl_viewer/glviewer.cpp:1608:59: error: ‘glGetDoublev’ was not declared in this scope glGetDoublev(GL_MODELVIEW_MATRIX,LocalScene.matrix); ^ gl_viewer/glviewer.cpp:1609:48: error: ‘GLdouble’ was not declared in this scope memcpy(m, LocalScene.matrix, 16*sizeof(GLdouble)); ^ gl_viewer/glviewer.cpp:1612:18: error: expected ‘;’ before ‘det’ GLdouble det; ^ gl_viewer/glviewer.cpp:1613:18: error: expected ‘;’ before ‘d12’ GLdouble d12, d13, d23, d24, d34, d41; ^ gl_viewer/glviewer.cpp:1614:18: error: expected ‘;’ before ‘tmp’ GLdouble tmp[16]; /* Allow out == in. */ ^ gl_viewer/glviewer.cpp:1619:9: error: ‘d12’ was not declared in this scope d12 = (m31*m42-m41*m32); ^ gl_viewer/glviewer.cpp:1620:9: error: ‘d13’ was not declared in this scope d13 = (m31*m43-m41*m33); ^ gl_viewer/glviewer.cpp:1621:9: error: ‘d23’ was not declared in this scope d23 = (m32*m43-m42*m33); ^ gl_viewer/glviewer.cpp:1622:9: error: ‘d24’ was not declared in this scope d24 = (m32*m44-m42*m34); ^ gl_viewer/glviewer.cpp:1623:9: error: ‘d34’ was not declared in this scope d34 = (m33*m44-m43*m34); ^ gl_viewer/glviewer.cpp:1624:9: error: ‘d41’ was not declared in this scope d41 = (m34*m41-m44*m31); ^ gl_viewer/glviewer.cpp:1626:9: error: ‘tmp’ was not declared in this scope tmp[0] = (m22 * d34 - m23 * d24 + m24 * d23); ^ gl_viewer/glviewer.cpp:1632:9: error: ‘det’ was not declared in this scope det = m11 * tmp[0] + m12 * tmp[1] + m13 * tmp[2] + m14 * tmp[3]; ^ gl_viewer/glviewer.cpp:1637:22: error: expected ‘;’ before ‘invDet’ GLdouble invDet = 1.0 / det; ^ gl_viewer/glviewer.cpp:1639:23: error: ‘invDet’ was not declared in this scope tmp[0] *= invDet; ^ gl_viewer/glviewer.cpp:1674:42: error: ‘glRotatef’ was not declared in this scope glRotatef(angle,Axe_x,Axe_y,Axe_z); ^ make: *** [Makefile:777: glviewer.o] Error 1 * ERROR: sci-mathematics/mathmod-4.1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-mathematics/mathmod-4.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-mathematics/mathmod-4.1-r1::gentoo'`. * The complete build log is located at '/var/log/portage/sci-mathematics:mathmod-4.1-r1:20160721-002502.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-mathematics/mathmod-4.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/mathmod-4.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/sci-mathematics/mathmod-4.1-r1/work/mathmod-branches-274-trunk' * S: '/var/tmp/portage/sci-mathematics/mathmod-4.1-r1/work/mathmod-branches-274-trunk'