[PyQt] PyQt 5.2.1 Windows build fails due to OpenGL issue
Erik Hvatum
ice.rikh at gmail.com
Mon May 19 16:03:02 BST 2014
You're welcome to email it to me directly. Sharing it as a google doc or putting it on github would also work.
-Erik
> On May 19, 2014, at 2:23, Arve Knudsen <arve.knudsen at gmail.com> wrote:
>
> The resulting file is too large to submit to pastebin (~3 MB). Should I send it by way of an attachment instead, or perhaps someone could help me analyze the pre-processed source?
>
> Arve
>
>> On Fri, May 16, 2014 at 7:50 PM, Erik H <ice.rikh at gmail.com> wrote:
>> Hi Arve,
>>
>> The preprocessed code for the offending line would be helpful. QOPENGLF_APIENTRYP is defined through a lot of preprocessor logic in QtGui/qopengl.h. Presumably something is going wrong in there and you are ending up with a bogus QOPENGLF_APIENTRYP.
>>
>> Stick a -E on the end of that g++ command, run it manually, and sipQtGuiQAbstractTextDocumentLayoutSelection.o will contain a whole mess of preprocessed code that you can put on pastebin and link to us (if you would like a hand sorting through it).
>>
>> Regards,
>> Erik
>>
>>
>>> On Fri, May 16, 2014 at 9:03 AM, Arve Knudsen <arve.knudsen at gmail.com> wrote:
>>> Hi guys
>>>
>>> I am unable to build PyQt 5.2.1 with MinGW on Windows 8.1, against Qt 5.2.1, due to an OpenGL related compilation error. I configure and build like this:
>>>
>>> python .\configure.py --spec win32-g++ --confirm-license --no-qml-plugin && mingw32-make
>>>
>>> The build fails like this:
>>>
>>> g++ -c -pipe -fno-keep-inline-dllexport -mstackrealign -fno-exceptions -O2 -Wall -Wextra -frtti -fexceptions -mthreads -DUNICODE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I. -I"." -I"..\..\..\..\..\Python34\Include" -I"..\qpy\QtGui" -I"..\..\..\..\..\Qt\5.2.1\mingw48_32\include" -I"..\..\..\..\..\Qt\5.2.1\mingw48_32\include\QtGui" -I"..\..\..\..\..\Qt\5.2.1\mingw48_32\include\QtCore" -I"release" -I"..\..\..\..\..\Qt\5.2.1\mingw48_32\mkspecs\win32-g++" -o release\sipQtGuiQAbstractTextDocumentLayoutSelection.o sipQtGuiQAbstractTextDocumentLayoutSelection.cpp
>>> In file included from ..\..\..\..\..\Qt\5.2.1\mingw48_32\include\QtGui/qopenglcontext.h:63:0,
>>> from ..\..\..\..\..\Qt\5.2.1\mingw48_32\include\QtGui/QOpenGLContext:1,
>>> from ..\qpy\QtGui/qpyopengl_api.h:31,
>>> from C:\Users\arve.knudsen\Downloads\PyQt-gpl-5.2.1\sip/QtGui/qopenglshaderprogram.sip:333,
>>> from sipQtGuicmodule.cpp:24:
>>> ..\..\..\..\..\Qt\5.2.1\mingw48_32\include/QtGui/qopenglversionfunctions.h:785:43: error: expected unqualified-id before ')' token
>>> void (QOPENGLF_APIENTRYP MemoryBarrier)(GLbitfield barriers);
>>> ^
>>> Please help,
>>> Arve
>>>
>>> _______________________________________________
>>> PyQt mailing list PyQt at riverbankcomputing.com
>>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140519/6741725a/attachment.html>
More information about the PyQt
mailing list