From a1c57619fc4c6f2c0d61b06bfa20f5a847aeb328 Mon Sep 17 00:00:00 2001 From: Rafael Rendon Pablo Date: Thu, 22 Apr 2021 16:18:04 -0700 Subject: [PATCH] Add missing library to compilation example --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d65df0af8..2f24f2dbe 100644 --- a/README.md +++ b/README.md @@ -281,8 +281,10 @@ Here are sample command lines using gcc/g++ to build a couple of the example fil assuming that the libraries and headers have been installed where your system knows how to find them. - g++ -o string string.cpp -std=c++11 -lcrypto -laws-encryption-sdk -laws-encryption-sdk-cpp -laws-c-common -laws-cpp-sdk-kms -laws-cpp-sdk-core - gcc -o raw_aes_keyring raw_aes_keyring.c -lcrypto -laws-encryption-sdk -laws-c-common +``` +g++ -o string string.cpp -std=c++11 -lcrypto -laws-encryption-sdk -laws-encryption-sdk-cpp -laws-c-common -laws-cpp-sdk-kms -laws-cpp-sdk-core -laws-crt-cpp +gcc -o raw_aes_keyring raw_aes_keyring.c -lcrypto -laws-encryption-sdk -laws-c-common +``` Note that the C++ files using the KMS keyring will require you to make sure that AWS credentials are set up on your machine to run properly.