On Thursday, August 9, 2018 at 3:55:30 PM UTC-4, Dale Jensen wrote:...
>
>
> duplicate symbol __ZN7AesBase18_writeEncryptedKeyEP7__sFILE in:
>
> /Aatrix
> Projects/MinimalCaseCryptoPP/Build/Intermediates/MinimalCaseCryptoPP.build/Debug/MinimalCaseCryptoPP.build/Objects-normal/x86_64/AESSupport.o
>
> /Aatrix
> Projects/MinimalCaseCryptoPP/Build/Intermediates/MinimalCaseCryptoPP.build/Debug/MinimalCaseCryptoPP.build/Objects-normal/x86_64/CryptoLib.o
>
> ld: 33 duplicate symbols for architecture x86_64
>
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
>
> ----
>
>
> My "Minimal Case" project consists of nothing but the compiled cryptopp
> library, main.cpp and the two cpp files that I'm attempting to integrate.
>
>
> Any help would be appreciated, I've been banging my head on this problem
> for a couple of days.
>
It looks like the multiple definitions are from functions like:
$ echo __ZN9AesStream11_fillBufferEv | c++filt
AesStream::_fillBuffer()
$ echo __ZN9AesStream12_flushBufferEv | c++filt
AesStream::_flushBuffer()
We need to see the source code to say more. Can you put the sample code on
the web somewhere, like a GitHub?
Jeff
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.