Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
5.12.0
-
None
Description
Hi,
I've been talking through an issue with crmaurei on Gitter, and we've hit a road block so he proposed that I create this bug report.
Quick intro, I'm attempting to build PySide2 v5.12.0 on a Windows10 machine that has Qt5.12.0 installed (built from source using msvc2017 build-tools).
I have all dependencies installed as documented at https://wiki.qt.io/Qt_for_Python/GettingStarted/Windows
So, into the issue. When running the following:
python setup.py install --qmake=C:\Qt\Qt-5.12.0\bin\qmake --build-tests --ignore-git --skip-modules=QtPrintSupport --parallel=8
I eventually get presented with the following error (full output is attached for reference).
[ 3%] Linking CXX shared library pyside2.cp36-win_amd64.dll Creating library pyside2.cp36-win_amd64.lib and object pyside2.cp36-win_amd64.exp jom: C:\Qt\source\PySide2\pyside-setup\pyside3_build\py3.6-qt5.12.0-64bit-release\pyside2\CMakeFiles\Makefile2 [PySide2\QtGui\CMakeFiles\QtGui_generator.dir\all] Error 2 jom: C:\Qt\source\PySide2\pyside-setup\pyside3_build\py3.6-qt5.12.0-64bit-release\pyside2\CMakeFiles\Makefile2 [PySide2\QtWidgets\CMakeFiles\QtWidgets_generator.dir\all] Error 2 jom: C:\Qt\source\PySide2\pyside-setup\pyside3_build\py3.6-qt5.12.0-64bit-release\pyside2\Makefile [all] Error 2 error: Error compiling pyside2 Traceback (most recent call last): File "setup.py", line 289, in <module> setup_runner.run_setup() File "c:\Qt\source\PySide2\pyside-setup\build_scripts\setup_runner.py", line 157, in run_setup raise RuntimeError(msg) RuntimeError: setup.py invocation failed with exit code: 1.
In addition some way further up, there are a number of lines like the following:
C:\Qt\Qt-5.12.0\include\QtGui\qopengl.h:111:13: fatal: 'GLES2/gl2.h' file not found
I have no idea if the issues are connected, but it would seem that solving the gl2.h issue first would be prudent?
So far we have tried inserting the following snippet at pyside-setup/sources/pyside2/CMakeLists.txt:173
include_directories("C:\\Qt\\Qt-5.12.0\\include\\QtANGLE")
but to no avail.
gl2.h is present under that directory.
Any suggestions would be great!
Thanks in advance,
James
Attachments
Issue Links
- relates to
-
PYSIDE-1302 Cannot build against Qt without SSL
-
- Closed
-