Errors compiling code with the C++ AWSSDK
I am getting the errors: 1>error LNK2001: unresolved external symbol "declspec(dllimport) void cdecl Aws::InitAPI(struct Aws::SDKOptions const &)" (imp_?InitAPI@Aws@@YAXAEBUSDKOptions@1@@Z) 1>error LNK2001: unresolved external symbol "declspec(dllimport) public: cdecl Aws::Client::ClientConfiguration::ClientConfiguration(void)" (imp_??0ClientConfiguration@Client@Aws@@QEAA@XZ) . . . 1> fatal error LNK1120: 21 unresolved externals
I am building my application with VS2019 but with the VS2015 runtime libraries (v140). 64 bit release and debug. Multi-threaded libraries (/MT) I used vcpkg to obtain the AWSSDK and I believe I built the SDK to match my configuration. I am linking with aws-cpp-sdk-s3.lib;aws-cpp-sdk-core.lib. I am defining USE_WINDOWS_DLL_SEMANTICS and USE_IMPORT_EXPORT in my code
Any suggestions would be much appreciated. Thank you.
Hello,
I'd like to set expectations right off the bat as coding and debugging is out of scope for AWS premium support. But we are always happy to assist as best efforts. I have found the following link with similar issues: https://github.com/aws/aws-sdk-cpp/issues/1154
Given that this requires code debugging, I'd like to suggest to go to the GitHub forum, as they could address your queries directly or point you in the right direction: https://docs.github.com/en/github/managing-your-work-on-github/creating-an-issue
Relevant questions
GameLift Realtime SDK protobuf definitions
asked 5 months agoCfnParameter giving me unresolved tokens error
asked 2 months agoUsing external javascript library gives errors in AMT
asked 3 days agoAttempting to programmatically replace file results in "No response body" (C++)
Accepted Answerasked 4 months agoResourceNotFoundException for IoT.listThingGroups call
asked 10 months agodebugging 'invalid_request' on TOKEN endpoint
asked 7 months agoDynamoDB result is not structured the way I want
asked 12 days agoErrors compiling code with the C++ AWSSDK
asked 16 days agoLambda function - (C#/PowerShell)
asked 7 months agoIssue regarding the MySQL RDS IAM authentication using node.js
asked 4 months ago