I can't figure out what the problem might be from your error log. I haven't 
seen this myself, and since no one else has reported it, I think it may be 
something specific to your machine. Try compiling Crypto++ on another 
machine and see if that works. Also, you may be able to work around this by 
defining _HAS_ITERATOR_DEBUGGING to 0 in the Crypto++ project files. See 
http://msdn2.microsoft.com/en-us/library/aa985939(VS.80).aspx.

--------------------------------------------------
From: "TimB" <[EMAIL PROTECTED]>
Sent: Wednesday, January 30, 2008 6:42 AM
To: "Crypto++ Users" <[EMAIL PROTECTED]>
Subject: New to Visual Studio 2005

>
> I installed MSVC 2005 SP1 with Crypto++ 5.5.2 and first attempt to
> compile without any changes. I am getting the following output errors.
> The problem still eludes me. It must be something simple some of you
> may have run across.
>
>
> Output file:
>
> ------ Rebuild All started: Project: cryptlib, Configuration: Debug
> Win32 ------
> Deleting intermediate and output files for project 'cryptlib',
> configuration 'Debug|Win32'
> Performing Custom Build Step
> Compiling...
> pch.cpp
> Compiling...
> 3way.cpp
> zlib.cpp
> zinflate.cpp
> zdeflate.cpp
> D:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(301) :
> error C2146: syntax error : missing ')' before identifier '_Ty2'
>        D:\Program Files\Microsoft Visual Studio 8\VC\include
> \algorithm(2375) : see reference to function template instantiation
> 'bool std::_Debug_lt_pred<_Pr,_Ty,T>(_Pr,const _Ty1 &,_Ty2 &,const
> wchar_t *,unsigned int)' being compiled
>        with
>        [
>            _Pr=CryptoPP::FreqLessThan,
>            _Ty=int,
>            T=CryptoPP::HuffmanNode,
>            _Ty1=int,
>            _Ty2=CryptoPP::HuffmanNode
>        ]
>        D:\Program Files\Microsoft Visual Studio 8\VC\include
> \algorithm(2389) : see reference to function template instantiation
> '_FwdIt
> std::_Upper_bound<CryptoPP::HuffmanNode*,_Ty,std::iterator_traits<_Iter>::difference_type,_Pr>(_FwdIt,_FwdIt,const
> _Ty &,_Pr,_Diff *)' being compiled
>        with
>        [
>            _FwdIt=CryptoPP::HuffmanNode *,
>            _Ty=int,
>            _Iter=CryptoPP::HuffmanNode *,
>            _Pr=CryptoPP::FreqLessThan,
>            _Diff=std::iterator_traits<CryptoPP::HuffmanNode
> *>::difference_type
>        ]
>        .\zdeflate.cpp(117) : see reference to function template
> instantiation '_FwdIt
> std::upper_bound<CryptoPP::HuffmanNode*,int,CryptoPP::FreqLessThan>(_FwdIt,_FwdIt,const
> _Ty &,_Pr)' being compiled
>        with
>        [
>            _FwdIt=CryptoPP::HuffmanNode *,
>            _Ty=int,
>            _Pr=CryptoPP::FreqLessThan
>        ]
> D:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(301) :
> error C2064: term does not evaluate to a function taking 1 arguments
>        class does not define an 'operator()' or a user defined
> conversion operator to a pointer-to-function or reference-to-function
> that takes appropriate number of arguments
> D:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(301) :
> error C2059: syntax error : ')'
> D:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(303) :
> error C2181: illegal else without matching if
> D:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(303) :
> error C2146: syntax error : missing ')' before identifier '_Ty1'
> D:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(303) :
> error C2059: syntax error : ')'
> xtrcrypt.cpp
> xtr.cpp
> winpipes.cpp
> whrlpool.cpp
> wake.cpp
> wait.cpp
> vmac.cpp
> twofish.cpp
> ttmac.cpp
> trdlocal.cpp
> tigertab.cpp
> tiger.cpp
> tftables.cpp
> tea.cpp
> strciphr.cpp
> squaretb.cpp
> Generating Code...
> Compiling...
> square.cpp
> sosemanuk.cpp
> socketft.cpp
> skipjack.cpp
> simple.cpp
> sharkbox.cpp
> shark.cpp
> shacal2.cpp
> sha.cpp
> serpent.cpp
> seal.cpp
> salsa.cpp
> safer.cpp
> rw.cpp
> rsa.cpp
> rng.cpp
> ripemd.cpp
> rijndael.cpp
> rdtables.cpp
> rc6.cpp
> Generating Code...
> Compiling...
> rc5.cpp
> rc2.cpp
> randpool.cpp
> rabin.cpp
> queue.cpp
> pubkey.cpp
> pssr.cpp
> polynomi.cpp
> pkcspad.cpp
> panama.cpp
> osrng.cpp
> oaep.cpp
> network.cpp
> nbtheory.cpp
> mqv.cpp
> mqueue.cpp
> modes.cpp
> misc.cpp
> md5.cpp
> md4.cpp
> Generating Code...
> Compiling...
> md2.cpp
> marss.cpp
> mars.cpp
> luc.cpp
> iterhash.cpp
> integer.cpp
> idea.cpp
> ida.cpp
> hrtimer.cpp
> hmac.cpp
> hex.cpp
> gzip.cpp
> gost.cpp
> gfpcrypt.cpp
> gf2n.cpp
> gf2_32.cpp
> gf256.cpp
> fipstest.cpp
> fips140.cpp
> filters.cpp
> Generating Code...
> Compiling...
> files.cpp
> esign.cpp
> eprecomp.cpp
> emsa2.cpp
> elgamal.cpp
> ecp.cpp
> eccrypto.cpp
> ec2n.cpp
> dsa.cpp
> dh2.cpp
> dh.cpp
> dessp.cpp
> des.cpp
> default.cpp
> cryptlib.cpp
> crc.cpp
> cpu.cpp
> channels.cpp
> cbcmac.cpp
> casts.cpp
> Generating Code...
> Compiling...
> cast.cpp
> camellia.cpp
> blumshub.cpp
> blowfish.cpp
> bfinit.cpp
> basecode.cpp
> base64.cpp
> base32.cpp
> asn.cpp
> arc4.cpp
> algparam.cpp
> algebra.cpp
> adler32.cpp
> Generating Code...
> Build log was saved at "file://d:\cryptopp552\Debug\BuildLog.htm"
> cryptlib - 6 error(s), 0 warning(s)
> ------ Rebuild All started: Project: cryptest, Configuration: Debug
> Win32 ------
> Deleting intermediate and output files for project 'cryptest',
> configuration 'Debug|Win32'
> Compiling...
> validat3.cpp
> validat2.cpp
> validat1.cpp
> test.cpp
> regtest.cpp
> fipsalgt.cpp
> dlltest.cpp
> datatest.cpp
> bench2.cpp
> bench.cpp
> adhoc.cpp
> Generating Code...
> Compiling manifest to resources...
> Linking...
> LINK : fatal error LNK1104: cannot open file '.\debug\cryptlib.lib'
> Build log was saved at "file://d:\cryptopp552\CTDebug\BuildLog.htm"
> cryptest - 1 error(s), 0 warning(s)
> ------ Rebuild All started: Project: cryptdll, Configuration: Debug
> Win32 ------
> Deleting intermediate and output files for project 'cryptdll',
> configuration 'Debug|Win32'
> Compiling...
> pch.cpp
> Compiling...
> algebra.cpp
> algparam.cpp
> asn.cpp
> basecode.cpp
> cbcmac.cpp
> channels.cpp
> cpu.cpp
> cryptlib.cpp
> des.cpp
> dessp.cpp
> dh.cpp
> dsa.cpp
> ec2n.cpp
> eccrypto.cpp
> ecp.cpp
> emsa2.cpp
> eprecomp.cpp
> files.cpp
> filters.cpp
> fips140.cpp
> Generating Code...
> Compiling...
> fipstest.cpp
> gf2n.cpp
> gfpcrypt.cpp
> hex.cpp
> hmac.cpp
> hrtimer.cpp
> integer.cpp
> iterhash.cpp
> misc.cpp
> modes.cpp
> mqueue.cpp
> nbtheory.cpp
> oaep.cpp
> osrng.cpp
> pkcspad.cpp
> pssr.cpp
> pubkey.cpp
> queue.cpp
> randpool.cpp
> rdtables.cpp
> Generating Code...
> Compiling...
> rijndael.cpp
> rng.cpp
> rsa.cpp
> rw.cpp
> sha.cpp
> simple.cpp
> skipjack.cpp
> strciphr.cpp
> trdlocal.cpp
> Generating Code...
> Compiling...
> dll.cpp
> Compiling resources...
> Linking...
>   Creating library .\DLL_Debug/cryptopp.lib and object .\DLL_Debug/
> cryptopp.exp
> Embedding manifest...
> Performing Custom Build Step
> 'CTDebug\cryptest' is not recognized as an internal or external
> command,
> operable program or batch file.
> Project : error PRJ0019: A tool returned an error code from
> "Performing Custom Build Step"
> Build log was saved at "file://d:\cryptopp552\DLL_Debug\BuildLog.htm"
> cryptdll - 1 error(s), 0 warning(s)
> ------ Rebuild All started: Project: dlltest, Configuration: Debug
> Win32 ------
> Deleting intermediate and output files for project 'dlltest',
> configuration 'Debug|Win32'
> Compiling...
> dlltest.cpp
> Compiling manifest to resources...
> Linking...
>   Creating library DLL_Debug/dlltest.lib and object DLL_Debug/
> dlltest.exp
> Embedding manifest...
> Build log was saved at "file://d:\cryptopp552\dlltest___Win32_Debug
> \BuildLog.htm"
> dlltest - 0 error(s), 0 warning(s)
> ========== Rebuild All: 1 succeeded, 3 failed, 0 skipped ==========
>
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to