Comments (11)
It looks like a bug I had thought we had fixed is still there. If you look
at the source you'll see that the file is there but the capitilization is
wrong. This certainly breaks case-sensitive unix builds. I'll get a fix in
asap. Sorry for the inconvenience. In the meantime, you can exclude that
directory from your build or change the #include statement to point to the
correct file.
On Wed, Sep 2, 2015 at 10:41 PM, Hemant Jain [email protected]
wrote:
I am getting following error while building on Ubuntu 14.10.
aws-sdk-cpp/aws-cpp-sdk-codedeploy/source/codedeployClient.cpp:26:45:
fatal error: aws/codedeploy/CodeDeployClient.h: No such file or directoryI cant find CodeDeployClient.h anywhere.
Am I missing some build dependency ?—
Reply to this email directly or view it on GitHub
#3.
"The poet only asks to get his head into the heavens. It is the logician
who seeks to get the heavens into his head. And it is his head that splits"
--G. K. Chesterton-- "Orthodoxy"
from aws-sdk-cpp.
I am able to build it after disabling few more targets.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 61ddf90..cecbbb6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -379,9 +379,9 @@ add_subdirectory(aws-cpp-sdk-elasticloadbalancing)
add_subdirectory(aws-cpp-sdk-opsworks)
add_subdirectory(aws-cpp-sdk-cloudfront)
add_subdirectory(aws-cpp-sdk-kms)
-add_subdirectory(aws-cpp-sdk-codedeploy)
+#add_subdirectory(aws-cpp-sdk-codedeploy)
add_subdirectory(aws-cpp-sdk-redshift)
-add_subdirectory(aws-cpp-sdk-iam)
+#add_subdirectory(aws-cpp-sdk-iam)
add_subdirectory(aws-cpp-sdk-ecs)
add_subdirectory(aws-cpp-sdk-datapipeline)
add_subdirectory(aws-cpp-sdk-glacier)
@@ -398,7 +398,7 @@ add_subdirectory(aws-cpp-sdk-sns)
add_subdirectory(aws-cpp-sdk-autoscaling)
add_subdirectory(aws-cpp-sdk-cloudformation)
add_subdirectory(aws-cpp-sdk-rds)
-add_subdirectory(aws-cpp-sdk-access-management)
+#add_subdirectory(aws-cpp-sdk-access-management)
add_subdirectory(aws-cpp-sdk-transfer)
add_subdirectory(aws-cpp-sdk-queues)
@@ -414,9 +414,9 @@ if(PLATFORM_ANDROID)
else()
add_subdirectory(aws-cpp-sdk-core-tests)
add_subdirectory(aws-cpp-sdk-dynamodb-integration-tests)
-add_subdirectory(aws-cpp-sdk-cognitoidentity-integration-tests)
-add_subdirectory(aws-cpp-sdk-sqs-integration-tests)
-add_subdirectory(aws-cpp-sdk-lambda-integration-tests)
+#add_subdirectory(aws-cpp-sdk-cognitoidentity-integration-tests)
+#add_subdirectory(aws-cpp-sdk-sqs-integration-tests)
+#add_subdirectory(aws-cpp-sdk-lambda-integration-tests)
add_subdirectory(aws-cpp-sdk-s3-integration-tests)
add_subdirectory(aws-cpp-sdk-identity-management-tests)
add_subdirectory(aws-cpp-sdk-cloudfront-integration-tests)
from aws-sdk-cpp.
this should not be necessary at all, other than the code deploy update. Please post the output of
g++ --version
from aws-sdk-cpp.
The default g++ on Ubuntu 14.04 is currently 4.8.2, which will not work. You have to do a backport and upgrade to 4.9.x on ubuntu 14.04. After this, if you still have problems, could you post the compiler output?
from aws-sdk-cpp.
Also, I've confirmed that the bug has been fixed in our master branch internally. I'm not sure what happened with our export process but I'll be sending that out again shortly. I'm sorry for the inconvenience and I'll hopefully get this resolved for you today.
from aws-sdk-cpp.
Ok.... I've found the problem. Git on Mac OSX, the machine I do the export from, is not case sensitive, so it did not pick up the rename.
from aws-sdk-cpp.
git config --local -l
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.ignorecase=true
core.precomposeunicode=true
remote.origin.url=https://github.com/awslabs/aws-sdk-cpp.git
remote.origin.fetch=+refs/heads/:refs/remotes/origin/
branch.master.remote=origin
branch.master.merge=refs/heads/master
core.ignorecase=true herein lies the problem. Whoever made this the default should be taken out back and given a good talking to. ;)
from aws-sdk-cpp.
Try it now.
Also my guess is that the reason you had to comment out the source that you did was because IAM wasn't compiling and most of the integration tests depend on IAM (to pull account id).
One thing I will advise though, is regex is not fully implemented until g++ 4.9.x so you will likely receive a segfault anytime you call GetAccountId() on access-management until you update your compiler.
As far as I know everything compiles properly on 4.8.2, but there are some hidden dragons in the regex implementation on that version.
from aws-sdk-cpp.
hey Jonathan,
Thanks for your help.
I am doing a build with latest code.
Will update about results soon.
btw I am using g++ 4.9.1
g++ (Ubuntu 4.9.1-16ubuntu6) 4.9.1
you are right about IAM.
from aws-sdk-cpp.
All case related errors are gone now.
Just one last build issue. Following warning is causing build failure :
src/aws-sdk-cpp/aws-cpp-sdk-transfer/source/transfer/UploadFileRequest.cpp: In lambda function: src/aws-sdk-cpp/aws-cpp-sdk-transfer/source/transfer/UploadFileRequest.cpp:927:263: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] auto entryIter = std::find_if(listObjectsOutcome.GetResult().GetContents().cbegin(), listObjectsOutcome.GetResult().GetContents().cend(), [&](const Aws::S3::Model::Object& thisObject) { return (thisObject.GetKey() == GetKeyName() && thisObject.GetSize() == GetFileSize()); }); ^ At global scope: cc1plus: error: unrecognized command line option "-Wno-unused-private-field" [-Werror] cc1plus: all warnings being treated as errors
changing uint64_t
to long long
fixed this issue( m_fileSize is of long long type in all other source files):
diff --git a/aws-cpp-sdk-transfer/include/aws/transfer/S3FileRequest.h b/aws-cpp-sdk-transfer/include/aws/transfer/S3FileRequest.h
index 71fba2d..9669277 100644
--- a/aws-cpp-sdk-transfer/include/aws/transfer/S3FileRequest.h
+++ b/aws-cpp-sdk-transfer/include/aws/transfer/S3FileRequest.h
@@ -69,7 +69,7 @@ public:
virtual bool IsReady() const = 0;
// For uploads, look at the file on disk, for downloads, request content manifest from S3
-inline virtual uint64_t GetFileSize() const { return m_fileSize; }
+inline virtual long long GetFileSize() const { return m_fileSize; }
uint64_t GetProgressAmount() const;
protected:
from aws-sdk-cpp.
you can close this case.
from aws-sdk-cpp.
Related Issues (20)
- curl-originated error messages not informative enough HOT 1
- InitAPI crash in ubuntu 22.04 in latest code HOT 5
- S3Client Leaks Memory on Windows caused by BCrypt API Misuse HOT 3
- STS does not respect ca cert setting
- Between version 1.11.159 and 1.11.305, the GetObjectAsync method of S3CrtClient has become very very slow. HOT 8
- Build error: CURLINFO_APPCONNECT_TIME_T available only after v. 7.61.0 HOT 2
- How to disable Content-MD5 header with S3 PutObject request HOT 1
- Build failed for version 1.9.379 HOT 2
- Add C++20 modules support HOT 1
- Aws::Crt::ApiAllocator()", referenced from: Aws::Client::AWSAuthV4Signer::SignRequestWithSigV4a(Aws::Http::HttpRequest&, char const*, char const*, bool, long long, Aws::Crt::Auth::SignatureType) const in libaws-cpp-sdk-core.a[2](ub_core.cpp.o) HOT 3
- DefaultRateLimiter get stuck indefinitely HOT 4
- 10M memory leave after ShutdownAPI called for 1000 client created HOT 1
- AWS C++ SDK not compiling in Visual Studio 2019 HOT 4
- Http request failes due to WinHTTP error code 87 HOT 9
- S3-CRT Client signature error on s3 object keys with special characters HOT 5
- Using AWS C++ SDK with gcc-g++11 HOT 5
- Segmentation fault occured in Aws::InitAPI when called by static object , previsously working for aws sdk version 1.8.186 HOT 3
- libcrypto linking issue with AWS SDK 1.11.285 HOT 2
- Missing debug PDB files when building and installing with cmake HOT 4
- Unable to compile SDK with older windows SDK HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-sdk-cpp.