Jump to content

c++ [Fix-Source] 'byte' wasn't declared

Recommended Posts

If you have Cryptopp 7.0.0 you'll see:


'byte' was not declared in this scope


Open cipher.h and add;

using CryptoPP::byte;

Note:Also you can use std::byte (#include <cstddef>) but you need to change cryptopp declarations too.

  • Love 2

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.