IAMClient::GetServiceName invalid during Cmake #2851
Labels
bug
This issue is a bug.
p3
This is a minor priority issue
pending-release
This issue will be fixed by an approved PR that hasn't been released yet.
Describe the bug
When attempting to cmake the AWS files (macOS, Sonoma) to call Lambda functions, I get 2 errors from IAMClient saying it can't find the function GetServiceName.
Expected Behavior
When building the project, I expected all of the objects and libraries to build correctly. This error is seen when using cmake or make and needing the IAMClient, such as the command I used:
cmake ../aws-sdk-cpp -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/usr/local/ -DCMAKE_INSTALL_PREFIX=/usr/local/ -DBUILD_ONLY="s3;core;lambda"
Current Behavior
Reproduction Steps
On macOS (hopefully not just Sonoma), following the standard guide: https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/setup-linux.html
git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp
mkdir sdk_build
cd sdk_build
cmake ../aws-sdk-cpp -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/usr/local/ -DCMAKE_INSTALL_PREFIX=/usr/local/ -DBUILD_ONLY="s3;core;lambda;iam"
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
0.24.11
Compiler and Version used
N/A
Operating System and version
macOS Sonoma 14.1.2
The text was updated successfully, but these errors were encountered: