[PyQt] pyqtdeploy:nmake failed

MOHAMED BLACK bl3a3ck at gmail.com
Tue Sep 5 17:01:57 BST 2017


Hi

I'm using pyqtdeploy successfully with static python 3.4.3 and pyqt 5.5.1

now when i try to upgrade to python 3.6.2 and latest pyqtdeploy i get this
error

python36.lib(pylifecycle.obj) : error LNK2019: unresolved external symbol
_PyWindowsConsoleIO_Type referenced in function _create_stdio

python36.lib(_iomodule.obj) : error LNK2001: unresolved external symbol
_PyWindowsConsoleIO_Type

python36.lib(getpathp.obj) : error LNK2019: unresolved external symbol
__imp__PathCombineW at 12 referenced in function _join

python36.lib(myreadline.obj) : error LNK2019: unresolved external symbol
__get_console_type referenced in function _PyOS_StdioReadline

python36.lib(_iomodule.obj) : error LNK2019: unresolved external symbol
__PyIO_get_console_type referenced in function __io_open_impl

release\T1.exe : fatal error LNK1120: 4 unresolved externals

nmake failed.


Environment:
windows 7-64
VS 2015-x86 Update3 With Latest Updates
Qt 5.9.1 2015-x86
python 3.6.2 x86
sip 4.19.3
pyqt gpl-5.9.1.dev1707250927
pyqtdeploy 1.3.2-2905e430c60b

i used build-sysroot.py to build the new environment after change line 1050
>From :build_host_python(host, args.all, args.target,args.use_system_python)
To     :build_host_python(host, args.target,
args.all,args.use_system_python)

MyMain.py
=========
import sys
print("Hi!")
sys.stdout.flush()
sys.exit(0)

0SetUp.pdy attached
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170905/e32e61ec/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0SetUp.pdy
Type: application/octet-stream
Size: 996 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170905/e32e61ec/attachment.obj>


More information about the PyQt mailing list