[PyQt] How to compile 64 bit SIP? (error LNK1112: module machine type 'x64' conflicts with target machine type 'X86')

Phil Thompson phil at riverbankcomputing.com
Sat Jul 19 09:52:54 BST 2014


On 19/07/2014 12:01 am, klo uo wrote:
> Hi,
> 
> Aren't compiler configurations in "\sip-4.16.2\specs\" folder and
> configure.py sets needed variables?

Some of them - but not whether it is 32 or 64 bit.

> I've never had this kind of problem building 64bit Python C libs with 
> MSVC
> previously, but I maybe miss something obvious...
> Can you tell me what SIP expects me to do, to be able to compile it on
> 64bit Python?

It expects you to have configured you compiler appropriately.

Phil

> On Sat, Jul 19, 2014 at 12:09 AM, Phil Thompson 
> <phil at riverbankcomputing.com
>> wrote:
> 
>> 
>> You have to configure your compiler to generate 64 bit code. This has
>> nothing to do with sip.


More information about the PyQt mailing list