[Botan-devel] Building Botan 1.5.6 with Visual Studio 2005

Christian Stoitner Christian.Stoitner at gmx.net
Fri Mar 31 11:48:56 EST 2006


I try to build botan 1.5.6 with Visual Studio 2005. configure seems to work
with "configure.pl --prefix=../../Builds/Botan/Release/
--modules=comp_zlib,mp_ia32_msvc msvc-windows-i686 --module-set=win32", but
when i try nmake, i get this after a few seconds: 

mp_asm.cpp
build/include\botan/mp_asmi.h(472) : error C3861: 'word_madd': identifier
not found
build/include\botan/mp_asmi.h(473) : error C3861: 'word_madd': identifier
not found
build/include\botan/mp_asmi.h(474) : error C3861: 'word_madd': identifier
not found
build/include\botan/mp_asmi.h(475) : error C3861: 'word_madd': identifier
not found
build/include\botan/mp_asmi.h(476) : error C3861: 'word_madd': identifier
not found
build/include\botan/mp_asmi.h(477) : error C3861: 'word_madd': identifier
not found
build/include\botan/mp_asmi.h(478) : error C3861: 'word_madd': identifier
not found
build/include\botan/mp_asmi.h(479) : error C3861: 'word_madd': identifier
not found
src\mp_asm.cpp(148) : error C3861: 'word8_linmul2': identifier not found
src\mp_asm.cpp(190) : error C2664: 'Botan::word8_madd3' : cannot convert
parameter 2 from 'const Botan::word [
]' to 'Botan::word'
        There is no context in which this conversion is possible
src\mp_asm.cpp(215) : error C2664: 'Botan::word8_madd3' : cannot convert
parameter 2 from 'const Botan::word [
]' to 'Botan::word'
        There is no context in which this conversion is possible
NMAKE : fatal error U1077: '"D:\Programmieren\Microsoft Visual Studio
8\VC\BIN\cl.EXE"' : return code '0x2'
Stop.

This looks like a bug to me, so im going to try the stable version now(as i
get it, there are many changes to the assembler code in the current
development line, right?).

another small thing: the G6 switch was removed in the 2005 version. so i get
a warning for every compiled file: cl : Command line warning D9002 :
ignoring unknown
option
'/G6'

http://msdn.microsoft.com/vstudio/tour/vs2005_guided_tour/VS2005pro/Framework/CPlus32BitOptimization.htm


Christian

-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl



More information about the botan-devel mailing list