Replies: 2 comments 2 replies
-
have you checked out the doc examples repo? theres a load of dynamo examples there, is there a specific thing youre trying to do that is missing from there?
my guess is that you have multiple installations of the SDK on your mac and your application code is mixing up lincludes/linking the wrong version. how are you installing the SDK? how are you referencing and building your application? |
Beta Was this translation helpful? Give feedback.
-
Hello, For your specific case, I'd suggest checking the exact gcc/clang compiler calls made at SDK and app build times, you can use cmake to dump commands into a json file: Best regards, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Everything works fine in linux. When I run on macos, everything was going fine too until I started using dynamodb and the shared_ptr for AttributeValues.
symbol not found in flat namespace
'__ZN3Aws8DynamoDB5Model14AttributeValue4SetLERKNSt3__16vectorINS3_10shared_ptrIS2_EENS_9AllocatorIS6_EEEE'
If I nm -U libaws-cpp-sdk-dynamodb.a, I get this
0000000000003dec T __ZN3Aws8DynamoDB5Model14AttributeValue4SetLERKNSt3__16vectorINS3_10shared_ptrIS2_EENS3_9allocatorIS6_EEEE
Note the difference
__ZN3Aws8DynamoDB5Model14AttributeValue4SetLERKNSt3__16vectorINS3_10shared_ptrIS2_EENS_9AllocatorIS6_EEEE
__ZN3Aws8DynamoDB5Model14AttributeValue4SetLERKNSt3__16vectorINS3_10shared_ptrIS2_EENS3_9allocatorIS6_EEEE
This is probably a super simple compiler/cmake thing, but I've been tearing my hair out over it.
I'm basically doing the exact same thing on linux and it works. The examples for dynamodb are sort of thin... is there a way to use the attributevalue without the shared pointers?
Beta Was this translation helpful? Give feedback.
All reactions