On Wednesday, November 29, 2017 at 10:10:45 PM UTC-5, MalleeswaraReddy s 
wrote:
>
> On linux  and mac , crypto cpp library with Qt worked correctlry.
>
> On windows msvc 2015 64 bit + Qt 5.9 getting error.
>
>
> ----------------------------------------------------------------------------------
>
> "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe" -f 
> Makefile.Release
>
> link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DLL 
> /SUBSYSTEM:WINDOWS /OUT:..\plugins\win\cryptoplugin.dll 
> @C:\Users\ernds\AppData\Local\Temp\nmD403.tmp
>
> Creating library ..\plugins\win\cryptoplugin.lib and object 
> ..\plugins\win\cryptoplugin.exp
>
> cryptopp.lib(rijndael.obj) : error LNK2019: unresolved external symbol 
> Rijndael_Enc_AdvancedProcessBlocks referenced in function "public: virtual 
> unsigned __int64 __cdecl 
> CryptoPP::Rijndael::Enc::AdvancedProcessBlocks(unsigned char const 
> *,unsigned char const *,unsigned char *,unsigned __int64,unsigned int)const 
> " (?AdvancedProcessBlocks@Enc@Rijndael@CryptoPP@@UEBA_KPEBE0PEAE_KI@Z)
>
> cryptopp.lib(integer.obj) : error LNK2019: unresolved external symbol 
> Baseline_Add referenced in function "public: virtual class 
> CryptoPP::Integer & __cdecl CryptoPP::ModularArithmetic::Accumulate(class 
> CryptoPP::Integer &,class CryptoPP::Integer const &)const " 
> (?Accumulate@ModularArithmetic@CryptoPP@@UEBAAEAVInteger@2@AEAV32@AEBV32@@Z)
>
> cryptopp.lib(integer.obj) : error LNK2019: unresolved external symbol 
> Baseline_Sub referenced in function "public: virtual class 
> CryptoPP::Integer & __cdecl CryptoPP::ModularArithmetic::Accumulate(class 
> CryptoPP::Integer &,class CryptoPP::Integer const &)const " 
> (?Accumulate@ModularArithmetic@CryptoPP@@UEBAAEAVInteger@2@AEAV32@AEBV32@@Z)
>
> cryptopp.lib(sha.obj) : error LNK2019: unresolved external symbol 
> X86_SHA256_HashBlocks referenced in function "public: virtual unsigned 
> __int64 __cdecl CryptoPP::SHA224::HashMultipleBlocks(unsigned int const 
> *,unsigned __int64)" (?HashMultipleBlocks@SHA224@CryptoPP@@UEAA_KPEBI_K@Z)
>
> ..\plugins\win\cryptoplugin.dll : fatal error LNK1120: 4 unresolved 
> externals
>
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual 
> Studio 14.0\VC\BIN\x86_amd64\link.EXE"' : return code '0x460'
>
> Stop.
>
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual 
> Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2'
>
> Stop.
>
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
>
> Stop.
>
> 01:55:20: The process "C:\Program Files (x86)\Microsoft Visual Studio 
> 14.0\VC\BIN\nmake.exe" exited with code 2.
>
> Error while building/deploying project cryptoplugin (kit: Qt 5.9.2 
> (msvc2015_64))
>
> The kit Qt 5.9.2 (msvc2015_64) has configuration issues which might be the 
> root cause for this problem.
>
> When executing step "Make"
>
>
> If any body have idea, please let me know
>
>
> thanks in advance.
>

Please tell us more about how you are building the library.

Based on the /DLL switch, I'm not sure if you are building Crypto++ as a 
DLL or something in Qt as a DLL and linking to the Crypto++ library. I 
think it is the latter. If it is the former, then don't use the Crypto++ 
FIPS DLL. Its a pain in the butt to work with and use correctly. Also see 
https://www.cryptopp.com/wiki/FIPS_DLL.

If you want a DLL, then create your own wrapper DLL that experts the 
symbols you want. Then, link to the static version of the Crypto++ library.

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
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 cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to