<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Thanks Phil, I have upgrade PyQt-builder to v1.14.1, but still got the same issue. attached installtion log for your investigate (zipped)</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
g++ -c -pipe -O2 -std=gnu++11 -fno-exceptions -Wall -Wextra -D_REENTRANT -fPIC -DPy_LIMITED_API=0x03070000 -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB
 -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../../qpy/QtQuick -I/nfs/DEV/GUI/tyi/priv/python3/include/python3.8 -I/usr/local/AVX/qt/5.15.6_1/include -I/usr/local/AVX/qt/5.15.6_1/include/QtQuick -I/usr/local/AVX/qt/5.15.6_1/include/QtGui -I/usr/local/AVX/qt/5.15.6_1/include/QtQmlModels
 -I/usr/local/AVX/qt/5.15.6_1/include/QtQml -I/usr/local/AVX/qt/5.15.6_1/include/QtNetwork -I/usr/local/AVX/qt/5.15.6_1/include/QtCore -I. -I/usr/local/AVX/qt/5.15.6_1/mkspecs/linux-g++ -o sipQtQuickQQuickRenderControl.o sipQtQuickQQuickRenderControl.cpp
<div class="ContentPasted0">/home/tyi/Documents/PyQt5-5.15.9/build/QtQuick/sipQtQuickQSGGeometry.cpp: In function ‘void* init_type_QSGGeometry(sipSimpleWrapper*, PyObject*, PyObject*, PyObject**, PyObject**, PyObject**)’:</div>
<div class="ContentPasted0">/home/tyi/Documents/PyQt5-5.15.9/build/QtQuick/sipQtQuickQSGGeometry.cpp:955:18: error: ‘GL_UNSIGNED_SHORT’ was not declared in this scope</div>
<div class="ContentPasted0">  955 |     {sipName_defaultAttributes_ColoredPoint2D, meth_QSGGeometry_defaultAttributes_ColoredPoint2D, METH_VARARGS, doc_QSGGeometry_defaultAttributes_ColoredPoint2D},</div>
<div class="ContentPasted0">      |                  ^~~~~~~~~~~~~~~~~</div>
<div class="ContentPasted0">/home/tyi/Documents/PyQt5-5.15.9/build/QtQuick/sipQtQuickQSGGeometry.cpp: At global scope:</div>
<div class="ContentPasted0">/home/tyi/Documents/PyQt5-5.15.9/build/QtQuick/sipQtQuickQSGGeometry.cpp:1031:40: error: ‘GL_BYTE’ was not declared in this scope</div>
<div class="ContentPasted0"> 1031 |     0,</div>
<div class="ContentPasted0">      |                                        ^      </div>
<div class="ContentPasted0">/home/tyi/Documents/PyQt5-5.15.9/build/QtQuick/sipQtQuickQSGGeometry.cpp:1032:41: error: ‘GL_FLOAT’ was not declared in this scope</div>
<div class="ContentPasted0"> 1032 |     SIP_NULLPTR,</div>
<div class="ContentPasted0">      |                                         ^      
</div>
<div class="ContentPasted0">/home/tyi/Documents/PyQt5-5.15.9/build/QtQuick/sipQtQuickQSGGeometry.cpp:1033:39: error: ‘GL_INT’ was not declared in this scope</div>
<div class="ContentPasted0"> 1033 |     SIP_NULLPTR</div>
<br>
</div>
<div class="elementToProof">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>Tiger </div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>发件人:</b> Phil Thompson <phil@riverbankcomputing.com><br>
<b>发送时间:</b> 2023年3月10日 17:40<br>
<b>收件人:</b> Yi tiger <yitiger@hotmail.com><br>
<b>抄送:</b> pyqt@riverbankcomputing.com <pyqt@riverbankcomputing.com><br>
<b>主题:</b> Re: 回复: 回复: 回复: build PyQt5.15.6 from source got error</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">The current version of PyQt-builder is v1.14.1.<br>
<br>
If you still have a problem then send me the output of running sip-build <br>
with the --verbose flag set.<br>
<br>
Phil<br>
<br>
On 10/03/2023 09:27, Yi tiger wrote:<br>
> I still got the same error after switch to SIP 6.7.7.<br>
> below is my configuration<br>
> <br>
>   *   SIP 6.7.7<br>
>   *   PyQt-builder 1.13.0<br>
>   *   PyQt 5.15.9<br>
>   *   PyQt-sip 12.8.0<br>
> <br>
> and now I'm using sip-build to build pyqt5<br>
> <br>
> <br>
> <br>
> Tiger<br>
> ________________________________<br>
> 发件人: Phil Thompson <phil@riverbankcomputing.com><br>
> 发送时间: 2023年3月9日 19:30<br>
> 收件人: Yi tiger <yitiger@hotmail.com><br>
> 抄送: pyqt@riverbankcomputing.com <pyqt@riverbankcomputing.com><br>
> 主题: Re: 回复: 回复: build PyQt5.15.6 from source got error<br>
> <br>
> On 09/03/2023 11:21, Yi tiger wrote:<br>
>> Thanks Phil's quick response, I tried the latest PyQt5.15.9 with sip<br>
>> 4.19.25. still got the same error<br>
>> <br>
>> [cid:cb16439f-f8ea-415d-ad80-bb765d3b29ec]<br>
>> <br>
>> manually modified Qtcoremod.sip by removing  py_ssize_t_clean=True<br>
>> (otherwise I got syntax error during config)<br>
>> <br>
>> $PY3_BIN configure.py -q $QT_ROOT/qmake --no-designer-plugin<br>
>> --no-qml-plugin --sip=$PY3_ROOT/bin/sip  -w --allow-sip-warnings<br>
>> --verbose<br>
> <br>
> The current version of SIP is v6.7.7.<br>
> <br>
> Phil<br>
</div>
</span></font></div>
</body>
</html>