Bug 41035 - /usr/include/qt4/QtOpenGL/qgl.h: armh typedef conflict for GLdouble
Summary: /usr/include/qt4/QtOpenGL/qgl.h: armh typedef conflict for GLdouble
Alias: None
Product: Sisyphus
Classification: Development
Component: libqt4-devel (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Sergey V Turchin
QA Contact: qa-sisyphus
Depends on:
Reported: 2021-10-01 00:30 MSK by viy
Modified: 2021-10-01 18:02 MSK (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description viy 2021-10-01 00:30:00 MSK
На armh в qt4/QtOpenGL/qgl.h определение GLdouble конфликтует с определением GLdouble в GL/gl.h

Пример(вылезло при попытке сборки gle на armh):
[00:05:41] In file included from /usr/include/GL/glu.h:38,
[00:05:41]                  from 3dviewer.cpp:31:
[00:05:41] /usr/include/GL/gl.h:129:25: error: conflicting declaration 'typedef double GLdouble'
[00:05:41]   129 | typedef double          GLdouble;       /* double precision float */
[00:05:41]       |                         ^~~~~~~~
[00:05:41] In file included from /usr/include/qt4/QtOpenGL/QtOpenGL:5,
[00:05:41]                  from 3dviewer.cpp:23:
[00:05:41] /usr/include/qt4/QtOpenGL/qgl.h:85:17: note: previous declaration as 'typedef GLfloat GLdouble'
[00:05:41]    85 | typedef GLfloat GLdouble;
[00:05:41]       |                 ^~~~~~~~
[00:05:42] make[2]: *** [Makefile:1576: objects/3dviewer.o] Error 1
Comment 1 Sergey V Turchin 2021-10-01 11:06:36 MSK
А там только OpenGL ES. Нужно, чтоб софт умел собираться с ним.
Comment 2 viy 2021-10-01 18:02:37 MSK
Понял, благодарю.