Details
Description
When following the instructions at https://wiki.qt.io/Qt_for_Python/GettingStarted - but with Microsoft Visual Studio 2017 (I have not yet tested Visual Studio 2015), I receive the following errors when shiboken2 is invoked to create the bindings for the QtGui module:
[ 14%] Running generator for QtGui... qt.shiboken: (gui) Unknown attribute for 'add-function': 'allow-thread' (gui) clang_parseTranslationUnit2(0x0, cmd[8]=-fms-compatibility-version=19 -Wno-microsoft-enum-value -fno-exceptions -Wno-constant-logical-operand -std=c++14 -IC:/Users/kekyziva/Build/Gamry/pyside-setup/sources/pyside2/PySide2 -IC:/Qt/Qt5.11.1/5.11.1/msvc2017_64/include/ C:/Users/kekyziva/AppData/Local/Temp/QtGui_global_iZZaPW.hpp) NMAKE : fatal error U1077: 'C:\Users\kekyziva\Build\Gamry\pyside-setup\pyside3_install\py3.6-qt5.11.1-64bit-release\bin\shiboken2.EXE' : return code '0xc00000fd' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.14.26428\bin\HostX64\x64\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.14.26428\bin\HostX64\x64\nmake.exe"' : return code '0x2' Stop. error: Error compiling pyside2
I have a Python that was built with Visual Studio 2017 64-bit, Qt 5.11.1 64-bit from the Qt installer that supports Visual Studio 2017 (with Visual Studio 2017 kit installed), llvm and clang built for 64-bit from sources (Release_60, git@github.com:llvm-mirror/clang.git ), SSL not built.
Windows also throws up a Dialog indicating "shiboken2.EXE has stopped working".
Attachments
Issue Links
- relates to
-
PYSIDE-899 shiboken2 exits with "return code '0xc00000fd'" (STACK_OVERFLOW)
- Closed