[PyQt] pyqtdeploy-sysroot: Error compiling qt5.11.2 on windows
Patrick Stinson
patrickkidd at gmail.com
Mon Oct 22 18:26:02 BST 2018
Just to follow up, this problem didn’t arise when I moved my sysroot dir from:
C:\Users\patrick\Desktop\dev\vendor\sysroot-win32
To:
C:\dev\vendor\sysroot-win32
Geeze...
> On Oct 16, 2018, at 9:43 PM, Patrick Stinson <patrickkidd at gmail.com> wrote:
>
> Looks like this has something to do with a ridiculously low MAX_PATH limitation to the number of chars allowed in a file path which is compiled into cl.exe:
>
> https://github.com/fpoussin/Qt5-MSVC-Static/issues/6 <https://github.com/fpoussin/Qt5-MSVC-Static/issues/6>
>
> There is a similarly related bug report here:
>
> https://bugreports.qt.io/browse/QTBUG-66652 <https://bugreports.qt.io/browse/QTBUG-66652>
>
> What a bummer...
>
>> On Oct 16, 2018, at 9:21 PM, Patrick Stinson <patrickkidd at gmail.com <mailto:patrickkidd at gmail.com>> wrote:
>>
>> Anyone else get the following compile error using pyqtdeploy-sysroot on Windows with VS 2015 (14.0) dev console? The error appears to be in the 3rdparty lib “angle” included in qtbase.
>>
>> ===============================================
>>
>> cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -O2 -MD -Oy- -Gy -GS -Gm- -EHsc -w44456 -w44457 -w44458 -W4 -wd4100 -wd4127 -wd4189 -wd4239 -wd4244 -wd4245 -wd4267 -wd4275 -wd4512 -wd4702 -wd4996 -wd4480 -DUNICODE -D_UNICODE -DWIN32 -D_WINDOWS -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DWIN32_LEAN_AND_MEAN=1 -DANGLE_ENABLE_D3D11 -DANGLE_DEFAULT_D3D11=1 -DNDEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DLIBGLESV2_EXPORT_H_ -DANGLE_EXPORT= -DLIBANGLE_IMPLEMENTATION -DLIBGLESV2_IMPLEMENTATION -DGL_APICALL= -DGL_GLEXT_PROTOTYPES= -DEGLAPI= -DANGLE_ENABLE_D3D9 -DANGLE_SKIP_DXGI_1_2_CHECK -DANGLE_D3D11_QDTD_AVAILABLE -DDllMain=DllMain_ANGLE -I. -I. -I.. -IC:/Users/patrick/Desktop/dev/vendor/sysroot-win-32/build/qt-everywhere-src-5.11.2/qtbase/src/angle/src/../include -I..\..\..\3rdparty\angle\src -I..\..\..\3rdparty\angle\include -I..\..\src -I..\..\..\3rdparty\angle\src\libANGLE -IC:\Users\patrick\Desktop\dev\vendor\sysroot-win-32\include -I..\..\..\..\mkspecs\win32-msvc -Fo.obj\release\Users\patrick\Desktop\dev\vendor\sysroot-win-32\build\qt-everywhere-src-5.11.2\qtbase\src\3rdparty\angle\src\common\Float16ToFloat32.obj ..\..\..\3rdparty\angle\src\common\Float16ToFloat32.cpp
>> Float16ToFloat32.cpp
>> C:\Users\patrick\Desktop\dev\vendor\sysroot-win-32\build\qt-everywhere-src-5.11.2\qtbase\src\3rdparty\angle\src\common\Float16ToFloat32.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument
>> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 14.0\VC\BIN\cl.EXE"' : return code '0x1'
>> Stop.
>> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2'
>> Stop.
>> NMAKE : fatal error U1077: 'cd' : return code '0x2'
>> Stop.
>> NMAKE : fatal error U1077: 'cd' : return code '0x2'
>> Stop.
>> NMAKE : fatal error U1077: 'cd' : return code '0x2'
>> Stop.
>> NMAKE : fatal error U1077: 'cd' : return code '0x2'
>> Stop.
>> NMAKE : fatal error U1077: 'cd' : return code '0x2'
>> Stop.
>> pyqtdeploy-sysroot: Execution failed: returned exit code 2
>>
>> ===============================================
>>
>> Sysroot is as follows:
>>
>> "qt5": {
>> "macos|win#ssl": "openssl-linked",
>> "macos|win#source": "qt-everywhere-src-5.11.2.tar.xz",
>> "macos|win#configure_options": [
>> "-opensource",
>> "-debug-and-release",
>> "-nomake", "examples",
>> "-nomake", "tests",
>> "-no-sql-mysql",
>> "-no-sql-psql"
>> ],
>> "skip": [
>> "qtactiveqt",
>> "qtcanvas3d",
>> "qtgamepad",
>> "qtremoteobjects",
>> "qtscript",
>> "qtserialbus",
>> "qtserialport",
>> "qtspeech",
>> "qtvirtualkeyboard",
>> "qtwayland",
>> "qtwebglplugin",
>> "qtwebsockets",
>> "qtwebengine",
>> "qtwebchannel",
>> "qtwebview"
>> ]
>> },
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20181022/92ef1572/attachment.html>
More information about the PyQt
mailing list