Martin Dušek
2018-08-03 21:05:45 UTC
Hi,
I built Crypto++ 7 using msvc2013, release dll. I linked it to my msvc2013
Qt app. If my app is built in release mode it runs. When I build it in
debug configuration, linker outputs several LNK2005 errors:
cryptopp.lib(cryptopp.dll):-1: error: LNK2005: "public: __thiscall
CryptoPP::NotImplemented::NotImplemented(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(??***@CryptoPP@@***@ABV?$***@DU?$***@D@std@@V?$***@D@2@@std@@@Z)
already defined in config.obj
cryptopp.lib(cryptopp.dll):-1: error: LNK2005: "public: unsigned int
__thiscall CryptoPP::BufferedTransformation::Put(unsigned char const
*,unsigned int,bool)" (?***@BufferedTransformation@CryptoPP@@***@Z)
already defined in config.obj
I also trie to build debug cryptopp dll and link it with my app in debug
configuration - with the same result.
What is wrong with my app or cryptopp build?
I built Crypto++ 7 using msvc2013, release dll. I linked it to my msvc2013
Qt app. If my app is built in release mode it runs. When I build it in
debug configuration, linker outputs several LNK2005 errors:
cryptopp.lib(cryptopp.dll):-1: error: LNK2005: "public: __thiscall
CryptoPP::NotImplemented::NotImplemented(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(??***@CryptoPP@@***@ABV?$***@DU?$***@D@std@@V?$***@D@2@@std@@@Z)
already defined in config.obj
cryptopp.lib(cryptopp.dll):-1: error: LNK2005: "public: unsigned int
__thiscall CryptoPP::BufferedTransformation::Put(unsigned char const
*,unsigned int,bool)" (?***@BufferedTransformation@CryptoPP@@***@Z)
already defined in config.obj
I also trie to build debug cryptopp dll and link it with my app in debug
configuration - with the same result.
What is wrong with my app or cryptopp build?
--
You received this message because you are subscribed to "Crypto++ Users". More information about Crypto++ and this group is available at http://www.cryptopp.com and http://groups.google.com/forum/#!forum/cryptopp-users.
---
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to "Crypto++ Users". More information about Crypto++ and this group is available at http://www.cryptopp.com and http://groups.google.com/forum/#!forum/cryptopp-users.
---
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.