aws-sdk-cpp
aws-sdk-cpp copied to clipboard
Missing includes in 3 iot files during 'sudo make install'
In order to get the build to complete I had to add the HashingUtils header to 3 files:
#include <aws/core/utils/HashingUtils.h>
.../aws-sdk-cpp/aws-cpp-sdk-iotanalytics/source/model/RunPipelineActivityResult.cpp
.../aws-sdk-cpp/aws-cpp-sdk-iotanalytics/source/model/RunPipelineActivityRequest.cpp
.../aws-sdk-cpp/aws-cpp-sdk-iotanalytics/source/model/SampleChannelDataResult.cpp
What platform/OS are you using?
Centos
What compiler are you using? what version?
4.8.5 20150623 (Red Hat 4.8.5-16)
What's your CMake arguments?
cmake seemed happy, make install failed. I just used "cmake3" with the path, per https://sdk.amazonaws.com/cpp/api/LATEST/index.html
Can you provide a TRACE level log? (sanitize any sensitive information)
Pasting this in because currently there are no google results for the error I got.
Building CXX object aws-cpp-sdk-iotanalytics/CMakeFiles/aws-cpp-sdk-iotanalytics.dir/source/model/RunPipelineActivityRequest.cpp.o
aws-cpp-sdk-iotanalytics/source/model/RunPipelineActivityRequest.cpp: In member function ‘virtual Aws::String Aws::IoTAnalytics::Model::RunPipelineActivityRequest::SerializePayload() const’:
aws-cpp-sdk-iotanalytics/source/model/RunPipelineActivityRequest.cpp:46:47: error: ‘HashingUtils’ has not been declared
payloadsJsonList[payloadsIndex].AsString(HashingUtils::Base64Encode(m_payloads[payloadsIndex]));
Duplicate of https://github.com/aws/aws-sdk-cpp/issues/854 This has been fixed.