[PyQt] Building sip for x64 on windows
Phil Thompson
phil at riverbankcomputing.com
Thu Apr 23 09:58:44 BST 2020
On 23/04/2020 09:45, Patrick Stinson wrote:
> I am attempting to build qt-5.14.2, python-3.6.4, sip-4.19.19, and
> PyQt5-13.1 on Windows.
>
> I built qt and python for x64, but sip only seems to want to build for
> x32 as shown in the following linker output. The only references to
> the token “arch” in configure.py are for Darwin. How can I configure
> sip to build for x64?
>
> Thanks!
> -Patrick
>
> -----------------------------------------------------
>
> Microsoft (R) Program Maintenance Utility Version 14.16.27034.0
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> link /NOLOGO /DYNAMICBASE /NXCOMPAT /DLL /MANIFEST
> /MANIFESTFILE:sip.pyd.manifest /SUBSYSTEM:CONSOLE /INCREMENTAL:NO
> /OUT:sip.pyd @C:\Users\patrick\AppData\Local\Temp\nm7852.tmp
> python36.lib(python36.dll) : fatal error LNK1112: module machine type
> 'x64' conflicts with target machine type 'x86'
configure.py doesn't know about your target architecture. It assumes
that your MSVC environment variables have been set appropriately.
Phil
More information about the PyQt
mailing list