Summary: | media-gfx/digikam:5 with dev-qt/qtgui[gles2] fails to build - core/utilities/presentation/opengl/presentationgl.cpp:289:22: error: ‘glClearDepth’ was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Erik Zeek <zeekec> |
Component: | Current packages | Assignee: | Andreas K. Hüttel <dilfridge> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, luisav.ferreira |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
emerge --info |
Created attachment 440838 [details]
emerge --info
Reason is Qt5 built with USE=gles2. See also bug 585334 This is one for upstream. We're forcing opengl from 5.2.0 now. |
Created attachment 440836 [details] Build log A bunch of (apparently) GL related issues (e.g. ‘glClearDepth’ was not declared in this scope). /gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp: In member function ‘virtual void Digikam::PresentationGL::initializeGL()’: /gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:289:22: error: ‘glClearDepth’ was not declared in this scope glClearDepth(1.0f); ^ /gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp: In member function ‘virtual void Digikam::PresentationGL::paintGL()’: /gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:313:20: error: ‘glLoadIdentity’ was not declared in this scope glLoadIdentity(); ^ /gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:315:18: error: ‘GL_PROJECTION’ was not declared in this scope glMatrixMode(GL_PROJECTION); ^ /gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:315:31: error: ‘glMatrixMode’ was not declared in this scope glMatrixMode(GL_PROJECTION); ^ /gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:318:18: error: ‘GL_MODELVIEW’ was not declared in this scope glMatrixMode(GL_MODELVIEW); ^ /gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp: In member function ‘virtual void Digikam::PresentationGL::resizeGL(int, int)’: /gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:337:18: error: ‘GL_PROJECTION’ was not declared in this scope glMatrixMode(GL_PROJECTION); ^ /gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:337:31: error: ‘glMatrixMode’ was not declared in this scope glMatrixMode(GL_PROJECTION); ^ /gentoo/tmp/portage/media-gfx/digikam-5.0.0/work/digikam-5.0.0/core/utilities/presentation/opengl/presentationgl.cpp:338:20: error: ‘glLoadIdentity’ was not declared in this scope glLoadIdentity(); ^