On Tuesday, January 2, 2018 at 1:49:57 PM UTC-5, [email protected] 
wrote:
>
> Hi. I want cross-compile my project, that use CryptoPP using [MXE](
> http://mxe.cc/) (MinGW). The problem is *std::byte*, which is C++17 
> functionality. Since MXE only supports C++11 I need some alternative.
>
> The key generation and encryption looks something like this:
> byte key[32];
> randomGenerator.GenerateBlock(key, sizeof(key));
>
> CryptoPP::StringSource keyToString(key, sizeof(key), true, new CryptoPP::
> StringSink(aesKey));
> CryptoPP::AES::Encryption aesEncryptor((byte*)aesKey.c_str(), aesKey.
> length());
>
> But I'm getting lot of errors, that obviously mean, that compiler can't 
> understand what "byte" is and mark it as undefined reference.
>
> *This issue was also posted on Github 
> <https://github.com/weidai11/cryptopp/issues/556>.*
>

Please stop asking question in the bug reporter. 

-- 
-- 
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/d/optout.

Reply via email to