Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing AWS SDK for C++ #1675

Closed
versacex opened this issue Jun 10, 2021 · 1 comment
Closed

installing AWS SDK for C++ #1675

versacex opened this issue Jun 10, 2021 · 1 comment
Assignees
Labels
bug This issue is a bug. closed-for-staleness duplicate This issue is a duplicate.

Comments

@versacex
Copy link

versacex commented Jun 10, 2021

downloaded the zip from git and unzipped to location

ran command "C:\program files\cmake\bin\cmake.exe" c:\code\aws-sdk-cpp-main -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=Debug

but getting errors

  • fatal error C1083: Cannot open include file: 'unistd.h'
  • error C2065: 'umask': undeclared identifier [C:\code\aws_build\CMakeFiles\CMakeTmp\cmTC_9cf0f.vcxproj]

the second im pretty sure is a symptom of the first

any thoughts? I straight unzipped the sdk from git and ran cmake with above command... not sure if the unistd.h file is just missing from the download or what

@versacex versacex added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jun 10, 2021
@KaibaLopez
Copy link
Contributor

Hi @versacex ,
Since version 1.9 the SDK has been using submodules to consume it's dependencies, this has had the side effect of making building from the zip file very compicated, and so at the moment we don't really recommend it, see #1648 .
If possible, I'd suggest using git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp to get the sdk.
If that's not an option, we do have a script to make it work but it is meant for linux based systems. look here.

@KaibaLopez KaibaLopez removed the needs-triage This issue or PR still needs to be triaged. label Jun 10, 2021
@KaibaLopez KaibaLopez self-assigned this Jun 10, 2021
@KaibaLopez KaibaLopez added duplicate This issue is a duplicate. closing-soon This issue will automatically close in 4 days unless further comments are made. labels Jun 10, 2021
@github-actions github-actions bot added closed-for-staleness and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. closed-for-staleness duplicate This issue is a duplicate.
Projects
None yet
Development

No branches or pull requests

2 participants