[botan-devel] building 1.10.1 on windows 7 x64

Jack Lloyd lloyd at randombit.net
Mon Sep 26 15:29:14 EDT 2011


Are you sure you are actually building with the x64 compiler?  For
2008 and 2010 at least there are different batch files which set up
for the two architectures.

On Sat, Sep 24, 2011 at 01:49:30AM -0400, tiredashell at gmail.com wrote:
> I'm trying to build 1.10.1 with the following config:
> 
> python configure.py --disable-shared --disable-debug --cc=msvc
> 
> After running nmake (MSVC++ 2010 Express) I eventually get this error:
> 
> build\include\botan/internal/mp_asm.h(18) : warning C4163: '_umul128'
> : not available as an intrinsic function
> build\include\botan/internal/mp_asm.h(30) : error C3861: '_umul128':
> identifier not found
> build\include\botan/internal/mp_asm.h(45) : error C3861: '_umul128':
> identifier not found
> NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual
> Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2'
> 
> If I add "--cpu=i386" it compiles fine, so the failure has something
> to do with targetting x86_64.
> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://lists.randombit.net/mailman/listinfo/botan-devel



More information about the botan-devel mailing list