Sunday, October 17, 2021

[Solved] 'cryptopp/aes.h' file not found; Expected namespace name

If you are facing errors like "'cryptopp/aes.h' file not found" or getting "Expected namespace name" error for "using namespace CryptoPP;" or similar compilation errors, refer to the following settings:

  • Add "/usr/local/include" in Header search paths
  • Add "/usr/local/lib" in Library search paths
  • Add -lcryptopp as a Linker flag

Refer to this article for more information: https://com.puter.tips/2021/02/how-to-use-cryptopp-in-xcode.html

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.