-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redclaration issue with libepoxy headers and GLES2 #36
Comments
Any way to solve this? |
libepoxy version --> 1.3.1, for morty branch |
I've seen your issue but haven't found time for it. Please put all related information here and please do not contact me directly in the future. In your email you wrote:
My question: What in your meta-universe enables that? If I am not mistaken meta-qt5 and meta-qt5-extra do not enable PACKAGECONFIG[gles2] by default. Xou are using meta-xilinx as BSP (correct?). What is the preferred acceleration for your board GL or GLES? If there is no acceleration for your board available, using KDE is no fun anyway... |
Sorry for the inconvenience, Thanks for the prompt reply, meta-xilinx layer enables the eglfs,gles2 in qt5, Our board uses the libmali gles acceleration. Also I found the macro in kwin pacakge in the file kwinglutils_funcs.h. // qopengl.h declares GLdouble as a typedef of float when Qt is built #define QOPENGL_H #ifndef QOPENGLF_APIENTRY #ifndef QOPENGLF_APIENTRYP if you aware about the above line, can you explain what the above macro will do ? Thanks in Advance!! |
Honestly
Till then: are you forced to use morty for a specific reason? Have you tried (or are you willing to try) meta-qt5-extra/master + rocko? Maybe later version of libepoxy behaves better... |
Our product tied with morty branch, so we are specifically targetting morty branch. We will try the rocko branch with qt5-extra layer. Thank you very much for your kind support |
Are there any news about this issue?
|
Not really - your environment sounds more or less close to my current environment and I am fine here with Build Configuration: The 'work..' layers I keep here at github and they are sometimes rebased. Maybe your configuration might help. |
The qtbase configuration in use below (shortened version). Qt Gui: |
I have (with rocko Qt 5.9) Building on: linux-oe-g++ (arm, CPU features: neon) Fyi: Have additional packageconfigs set in [1-2] maybe there is something which needs migration to meta-qt5-extra (unlikely) - or meta-raspberrypi. [1] https://github.com/schnitzeltony/meta-misc/blob/master/appends-packageconfig/meta-qt5/qtbase_%25.bbappend |
One question: You said you are using meta-raspberrypi. Do you have VC4 (full mesa) enabled? |
I've not actively switched to VC4, so I would guess I use the proprietary driver. One side note, I'm not using Only the issue discussed here seems to be the same. Sorry, forgot to mention that ;-) I see you already apply some patches to kwin On KDE's Phabricator the issue discussed here is also tracked: https://phabricator.kde.org/D10762 |
Wow - I am maintaining this shit for almost 4 years now and have to admit it was useless efforts - have to remove KDE soon it is just a waste of time!!! |
I am not going to answer KDE related questions anymore - the know better |
In file included from /home/prakash/tickets/my_yocto/prakas_bak/backup/build-kde-xway/tmp/sysroots/zcu102-zynqmp/usr/include/qt5/QtGui/qopengl.h:109:0,
| from /home/prakash/tickets/my_yocto/prakas_bak/backup/build-kde-xway/tmp/sysroots/zcu102-zynqmp/usr/include/qt5/QtGui/5.9.0/QtGui/qpa/qplatformopenglcontext.h:59,
| from /home/prakash/tickets/my_yocto/prakas_bak/backup/build-kde-xway/tmp/work/aarch64-poky-linux/kwin/5.9.1-r0/kwin-5.9.1/plugins/qpa/abstractplatformcontext.h:25,
| from /home/prakash/tickets/my_yocto/prakas_bak/backup/build-kde-xway/tmp/work/aarch64-poky-linux/kwin/5.9.1-r0/kwin-5.9.1/plugins/qpa/abstractplatformcontext.cpp:20:
| /home/prakash/tickets/my_yocto/prakas_bak/backup/build-kde-xway/tmp/sysroots/zcu102-zynqmp/usr/include/GLES2/gl2.h:513:90: error: 'void epoxy_glDrawArrays(GLenum, GLint, GLsizei)' redeclared as different kind of symbol
| GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
| ^
| In file included from /home/prakash/tickets/my_yocto/prakas_bak/backup/build-kde-xway/tmp/sysroots/zcu102-zynqmp/usr/include/epoxy/gl.h:94:0,
| from /home/prakash/tickets/my_yocto/prakas_bak/backup/build-kde-xway/tmp/sysroots/zcu102-zynqmp/usr/include/epoxy/egl_generated.h:9,
| from /home/prakash/tickets/my_yocto/prakas_bak/backup/build-kde-xway/tmp/sysroots/zcu102-zynqmp/usr/include/epoxy/egl.h:46,
| from /home/prakash/tickets/my_yocto/prakas_bak/backup/build-kde-xway/tmp/work/aarch64-poky-linux/kwin/5.9.1-r0/kwin-5.9.1/plugins/qpa/abstractplatformcontext.h:23,
| from /home/prakash/tickets/my_yocto/prakas_bak/backup/build-kde-xway/tmp/work/aarch64-poky-linux/kwin/5.9.1-r0/kwin-5.9.1/plugins/qpa/abstractplatformcontext.cpp:20:
| /home/prakash/tickets/my_yocto/prakas_bak/backup/build-kde-xway/tmp/sysroots/zcu102-zynqmp/usr/include/epoxy/gl_generated.h:10479:49: note: previous declaration 'void (* epoxy_glDrawArrays)(GLenum, GLint, GLsizei)'
The text was updated successfully, but these errors were encountered: