On Sunday, June 23, 2013 11:30:03 AM UTC+3, [email protected] wrote: > > I download cryptopp562.zip, and unzip it. What did I do with 5.2? I do > not remember at all. > > Ah, I say naively, a dsw file. I doubleclick on cryptest.dsw > > Up comes Microsoft visual visual studio 2010, which asks permission to > update all the Visual Studio 6.0 dsp files to 2010 format. I say OK > > I then tell it to batch build all. A storm of errors ensues. > > The bunch of errors begins > > ------ Rebuild All started: Project: cryptest, Configuration: Template > Win32 ------ > Build started 2013-06-23 5:40:17 PM. > InitializeBuildStatus: > Creating "Template\cryptest.unsuccessfulbuild" because "AlwaysCreate" > was specified. > ClCompile: > adhoc.cpp > bench.cpp > bench2.cpp > datatest.cpp > dlltest.cpp > fipsalgt.cpp > regtest.cpp > test.cpp > validat1.cpp > validat2.cpp > validat3.cpp > Generating Code... > bench.obj : error LNK2001: unresolved external symbol "bool > CryptoPP::g_hasCLMUL" (?g_hasCLMUL@CryptoPP@@3_NA) > validat1.obj : error LNK2001: unresolved external symbol "bool > CryptoPP::g_hasCLMUL" (?g_hasCLMUL@CryptoPP@@3_NA) > bench.obj : error LNK2019: unresolved external symbol "void __cdecl > CryptoPP::DetectX86Features(void)" (?DetectX86Features@CryptoPP@@YAXXZ) > referenced in function "bool __cdecl CryptoPP::HasCLMUL(void)" > (?HasCLMUL@CryptoPP@@YA_NXZ) > validat1.obj : error LNK2001: unresolved external symbol "void __cdecl > CryptoPP::DetectX86Features(void)" (?DetectX86Features@CryptoPP@@YAXXZ) > bench.obj : error LNK2001: unresolved external symbol "bool > CryptoPP::g_x86DetectionDone" (?g_x86DetectionDone@CryptoPP@@3_NA) > validat1.obj : error LNK2001: unresolved external symbol "bool > CryptoPP::g_x86DetectionDone" (?g_x86DetectionDone@CryptoPP@@3_NA) > bench.obj : error LNK2001: unresolved external symbol "public: virtual > bool __thiscall CryptoPP::CombinedNameValuePairs::GetVoidValue(char const > *,class type_info const &,void *)const " > (?GetVoidValue@CombinedNameValuePairs@CryptoPP@@UBE_NPBDABVtype_info@@PAX@Z) > > datatest.obj : error LNK2001: unresolved external symbol "public: virtual > bool __thiscall CryptoPP::CombinedNameValuePairs::GetVoidValue(char const > *,class type_info const &,void *)const " > (?GetVoidValue@CombinedNameValuePairs@CryptoPP@@UBE_NPBDABVtype_info@@PAX@Z) > > validat3.obj : error LNK2001: unresolved external symbol "void __cdecl > CryptoPP::UnalignedDeallocate(void *)" > (?UnalignedDeallocate@CryptoPP@@YAXPAX@Z) > regtest.obj : error LNK2001: unresolved external symbol "void __cdecl > CryptoPP::UnalignedDeallocate(void *)" > (?UnalignedDeallocate@CryptoPP@@YAXPAX@Z) > test.obj : error LNK2001: unresolved external symbol "void __cdecl > CryptoPP::UnalignedDeallocate(void *)" > (?UnalignedDeallocate@CryptoPP@@YAXPAX@Z) > validat1.obj : error LNK2001: unresolved external symbol "void __cdecl > CryptoPP::UnalignedDeallocate(void *)" > (?UnalignedDeallocate@CryptoPP@@YAXPAX@Z) > validat2.obj : error LNK2001: unresolved external symbol "void __cdecl > CryptoPP::UnalignedDeallocate(void *)" > (?UnalignedDeallocate@CryptoPP@@YAXPAX@Z) > bench.obj : error LNK2019: unresolved external symbol "void __cdecl > CryptoPP::UnalignedDeallocate(void *)" > (?UnalignedDeallocate@CryptoPP@@YAXPAX@Z) referenced in function "public: > void __thiscall CryptoPP::AllocatorWithCleanup<unsigned > char,0>::deallocate(void *,unsigned int)" > (?deallocate@?$AllocatorWithCleanup@E$0A@@CryptoPP@@QAEXPAXI@Z) > bench2.obj : error LNK2001: unresolved external symbol "void __cdecl > CryptoPP::UnalignedDeallocate(void *)" > (?UnalignedDeallocate@CryptoPP@@YAXPAX@Z) > datatest.obj : error LNK2001: unresolved external symbol "void __cdecl > CryptoPP::UnalignedDeallocate(void *)" > (?UnalignedDeallocate@CryptoPP@@YAXPAX@Z) > dlltest.obj : error LNK2001: unresolved external symbol "void __cdecl > CryptoPP::UnalignedDeallocate(void *)" > (?UnalignedDeallocate@CryptoPP@@YAXPAX@Z) > validat3.obj : error LNK2001: unresolved external symbol "void __cdecl > CryptoPP::AlignedDeallocate(void *)" > (?AlignedDeallocate@CryptoPP@@YAXPAX@Z) > regtest.obj : error LNK2001: unresolved external symbol "void __cdecl > CryptoPP::AlignedDeallocate(void *)" > (?AlignedDeallocate@CryptoPP@@YAXPAX@Z) > test.obj : error LNK2001: unresolved external symbol "void __cdecl > CryptoPP::AlignedDeallocate(void *)" (?AlignedDeallocate@CryptoPP@@YAXPAX@Z) > > > > Am I doing anything obviously stupid, or should this just work? > I don't know Visual C++ but I use CodeLite wizard to create new Library Project in the unzipped folder. I then delete all test and samples and add .h and .cpp files and compile library. I have no problem at all and CodeLite supports Visual C++ compiler
-- -- 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. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
