Pyside6 build fails on Windows ARM64
-
Hi Developers
I am currently trying to build PySide6 as both Python package and a static/dynamic library.
I am using latest Visual Studio 2022 for building on a native WoA device. Here are the steps I am using for building:- Downloaded the llvm qt clang https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_20.1.3-based-windows-vs2022_arm64.7z
- Set the appropriate path for LLVM:
set LLVM_INSTALL_DIR=path to libclang
set PATH=path to libclang\bin;%PATH%
3.cd pyside-setup && git checkout 6.8.3 - Installed requirements.txt and configured properly by using :
python setup.py build --qtpaths=c:\path\to\qtpaths.exe --openssl=c:\path\to\openssl\bin --build-tests --ignore-git --parallel=8
But fails due to missing identifiers from GL:
C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:69:11: error: use of undeclared identifier 'GLuint' C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:71:5: error: unknown type name 'GLuint' C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:72:5: error: unknown type name 'GLuint' C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:83:5: error: unknown type name 'GLuint' C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:99:33: error: unknown type name 'GLbitfield' C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:100:33: error: unknown type name 'GLenum' C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:106:33: error: unknown type name 'GLbitfield' C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:107:33: error: unknown type name 'GLenum' C:/Users/mcw/Desktop/Mugundan/FreeCAD-LibPack/working/LibPack-1.1.0-v3.2.0-Release/include\QtOpenGL\qopenglframebufferobject.h:112:33: error: unknown type name 'GLbitfield' -
Please try 6.9.1; 6.8 might be too old for that.