develooper Front page | perl.perl5.porters | Postings from August 2011

Re: Error building on windows 7 x64 with nmake

Thread Previous | Thread Next
From:
Sisyphus
Date:
August 13, 2011 14:56
Subject:
Re: Error building on windows 7 x64 with nmake
Message ID:
0EE5EA2FEFCA48A385BB90AC6A8566C0@desktop2

----- Original Message ----- 
From: "register" <register72@gmail.com>
To: <perl5-porters@perl.org>
Sent: Sunday, August 14, 2011 6:26 AM
Subject: Error building on windows 7 x64 with nmake


> When I try to build from source in Windows 7, x64, visual studio 2010 
> full,
> perl-5.14.1 I get the following error:
>
>        link -subsystem:console -out:..\generate_uudmap.exe
> @C:\Users\lucar\AppD
> ata\Local\Temp\nmD6A3.tmp
> ..\generate_uudmap.obj : fatal error LNK1112: module machine type 'X86'
> conflict
> s with target machine type 'x64'
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual 
> Studio
> 10.0
> \VC\BIN\link.EXE"' : return code '0x458'
>

If your compiler is a 32-bit compiler it may just be that you need to 
uncomment the line
#WIN64  = undef
in the Makefile. (This is mentioned in both the Makefile itself and the 
README.win32.)

But, of course, that's irrelevant if it's a 64-bit version of Visual Studio 
2010.

Cheers,
Rob 


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About