<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hi,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> I'm getting this error when building PyQt6 from source. Any ideas?</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/build/pyqt6/src/PyQt6-6.0.0/sip/QtQuick/qsggeometry.sip: In function ‘void* init_type_QSGGeometry_AttributeSet(sipSimpleWrapper*, PyObject*, PyObject*, PyObject**, PyObject**, PyObject**)’:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/build/pyqt6/src/PyQt6-6.0.0/sip/QtQuick/qsggeometry.sip:128:30: error: ‘GL_BYTE’ was not declared in this scope</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">  128 |                         case GL_BYTE:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                              ^~~~~~~</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/build/pyqt6/src/PyQt6-6.0.0/sip/QtQuick/qsggeometry.sip:138:30: error: ‘GL_FLOAT’ was not declared in this scope</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">  138 |                         case GL_FLOAT:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                              ^~~~~~~~</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1045:42: error: ‘GL_POINTS’ was not declared in this scope</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> 1045 |         {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QSGGeometry, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                                          ^~~~~~~~~</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/build/pyqt6/src/PyQt6-6.0.0/sip/QtQuick/qsggeometry.sip:142:30: error: ‘GL_INT’ was not declared in this scope</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">  142 |                         case GL_INT:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                              ^~~~~~</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1046:41: error: ‘GL_LINES’ was not declared in this scope</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> 1046 |     },</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                                         ^       </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1047:45: error: ‘GL_LINE_LOOP’ was not declared in this scope</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> 1047 |     doc_QSGGeometry,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                                             ^           </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1048:46: error: ‘GL_LINE_STRIP’ was not declared in this scope</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> 1048 |     -1,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                                              ^            </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1049:45: error: ‘GL_TRIANGLES’ was not declared in this scope</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> 1049 |     -1,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                                             ^           </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1050:50: error: ‘GL_TRIANGLE_STRIP’ was not declared in this scope; did you mean ‘sipName_GL_TRIANGLE_STRIP’?</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> 1050 |     SIP_NULLPTR,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                                                  ^                </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                                                  sipName_GL_TRIANGLE_STRIP</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1051:48: error: ‘GL_TRIANGLE_FAN’ was not declared in this scope; did you mean ‘sipName_GL_TRIANGLE_FAN’?</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> 1051 |     SIP_NULLPTR,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                                                ^              </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                                                sipName_GL_TRIANGLE_FAN</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1052:40: error: ‘GL_BYTE’ was not declared in this scope</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> 1052 |     init_type_QSGGeometry,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                                        ^      </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1053:41: error: ‘GL_FLOAT’ was not declared in this scope</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> 1053 |     SIP_NULLPTR,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                                         ^       </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1054:39: error: ‘GL_INT’ was not declared in this scope</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> 1054 |     SIP_NULLPTR,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      |                                       ^     </p>
<br /></body>
</html>