On Sat, 13 Aug 2011, Sisyphus wrote: > ----- Original Message ----- On Sun, 14 Aug 2011, "register" <register72@gmail.com> wrote: > > 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. The fact that the compiler is installed in "C:\Program Files (x86)\" and not in " C:\Program Files\" does indeed support the assumption that this is a 32-bit compiler and not the 64-bit version. Note that you don't have to modify the Makefile to select 32-bit compilation; you can simply set the value on the commandline: set WIN64=undef nmake Cheers, -JanThread Previous | Thread Next