aws-sdk-cpp
aws-sdk-cpp copied to clipboard
fatal error: aws/core/Aws.h: No such file or directory
Describe the bug
I have followed this documentation here for setting up the AWS SDK with C++: https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/welcome.html
However, when I try to compile a cpp file and run the command "gcc -o something test.cpp", I get the error: fatal error: aws/core/Aws.h: No such file or directory #include <aws/core/Aws.h>
What's strange is that if I ctrl + select the line #include <aws/core/Aws.h> in my cpp file, the actual Aws.h file appears, showing that it does exist on my system.
Expected Behavior
I expected the code to compile and locate the header files associated with the AWS SDK.
Current Behavior
I am getting the error message mentioned before.
Reproduction Steps
https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/welcome.html
I am following these steps for the Windows setup.
I also have my test.cpp file located in sdk_build.
After installing Dynamo DB and Core, I run gcc -o something test.cpp
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
The latest version
Compiler and Version used
6.3.0 for gcc, 15.0.6 for clang
Operating System and version
Windows 10