Summary: | kdebase-workspace 4.5 compile problem | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Cliffy <cliffmcdiarmid> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Cliffy
2010-09-03 20:29:16 UTC
can you please grep GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT /usr/include/GL/glext.h since either your glext is quite outdated (ought to be there since iirc at least 2007) or there's an issue in the include chain (kwinglutils apparently don't explicitly include glext) ________________________________ From: Thomas Lübking <thomas.luebking@web.de> To: cliffmcdiarmid@yahoo.co.uk Sent: Sat, 4 September, 2010 11:20:06 Subject: [Bug 250073] kdebase-workspace 4.5 compile problem >--- Comment #1 from Thomas Lübking <thomas luebking web de> 2010-09-04 12:20:05 >--- >can you please >grep GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT /usr/include/GL/glext.h >since either your glext is quite outdated (ought to be there since iirc at >least 2007) or there's an issue in the include chain (kwinglutils apparently >don't explicitly include glext) Thanks for getting back Thomas. I have already tracked this missing symbol to glext.h and it's present. e.g. grep GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT /usr/include/GL/glext.h gives: #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 I have tried to include glext.h at the beginning of kwinglutils.cpp, e.g. #include "glext.h", but this makes no difference. MAC presumingly sth.s defining GL_ARB_framebuffer_object before then... you could try to inject "#undef GL_ARB_framebuffer_object" before calling the include, but there's either sth. messed up on your side or kwin/KDE/Qt has a problem... =\ ________________________________ From: Thomas Lübking <thomas.luebking@web.de> To: cliffmcdiarmid@yahoo.co.uk Sent: Sat, 4 September, 2010 18:16:46 Subject: [Bug 250073] kdebase-workspace 4.5 compile problem >--- Comment #3 from Thomas Lübking <thomas luebking web de> 2010-09-04 19:16:46 >--- >presumingly sth.s defining GL_ARB_framebuffer_object before then... >you could try to inject "#undef GL_ARB_framebuffer_object" before calling the >include, but there's either sth. messed up on your side or kwin/KDE/Qt has a >problem... =\ Thanks Thomas. In the end I added #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 to kwinglutils.cpp like so: #ifdef KWIN_HAVE_OPENGL #include "kwinglobals.h" #include "kwineffects.h" #include "kdebug.h" #include <kstandarddirs.h> #include <QPixmap> #include <QImage> #include <QHash> #include <QFile> #define DEBUG_GLRENDERTARGET 0 #define MAKE_GL_VERSION(major, minor, release) ( ((major) << 16) | ((minor) << 8) | (release) ) #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 and it worked, very odd, but then I'm no programmer. MAC 4.5 is already quite some time ago and the complete stack has moved since then. I assume this issue to be resolved by now and set the bug report to UNMAINTAINED due to the old version. |