You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue might be related to how the IoT component of the AWS SDK for C++ is built or installed. We may need to adjust the build flags or include paths to ensure all necessary headers are available.
Additional Information/Context:
Using AWS IoT Core endpoint: hidden-ats.iot.us-east-1.amazonaws.com
Using IoT Core topic: iot/Test_Topic/tst-1 (also hidden)
Certificate files are available in the project directory
Potential fix to test:
Have tried an approach using the AWS IoT Device SDK for C++ v2 instead of the full AWS SDK for C++. Doesnt work either...
Additional Information/Context
No response
AWS CPP SDK version used
1.11.381
Compiler and Version used
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Operating System and version
Ubuntu 20.04
The text was updated successfully, but these errors were encountered:
IoT device C++ sdk and C++ sdk are different things.
Device SDKs implement mqtt protocol for publishing/subscribing to events. While regular sdks only expose functions to communicate with http side of the service.
So its expected that publish request headers are missing in C++ sdk and that IoT device example will not work.
What does not work with iot device sdk? You might have more luck filing issue with them directly https://github.com/aws/aws-iot-device-sdk-cpp-v2
@DmitriyMusatkin youre right - I tried multiple approaches and ultimately put the ticket in the wrong place. ill come back to this and set up Mqtt ticket on other repo
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Describe the bug
I've made several attempts to build an AWS SDK for C++ IoT example in a Docker container. Here are the last three approaches I've tried:
In each iteration, I've updated the Dockerfile and CMakeLists.txt files to address the errors encountered.
Bug Description:
When attempting to build an AWS SDK for C++ IoT example in a Docker container, the compilation fails due to missing IoT-specific headers.
Expected Behavior
The Docker build should complete successfully, allowing the creation of an IoT publisher application using the AWS SDK for C++.
Current Behavior
Reproduction Steps
docker build -t iot-publisher .
Possible Solution
The issue might be related to how the IoT component of the AWS SDK for C++ is built or installed. We may need to adjust the build flags or include paths to ensure all necessary headers are available.
Additional Information/Context:
Using AWS IoT Core endpoint: hidden-ats.iot.us-east-1.amazonaws.com
Using IoT Core topic: iot/Test_Topic/tst-1 (also hidden)
Certificate files are available in the project directory
Have tried an approach using the AWS IoT Device SDK for C++ v2 instead of the full AWS SDK for C++. Doesnt work either...
Additional Information/Context
No response
AWS CPP SDK version used
1.11.381
Compiler and Version used
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Operating System and version
Ubuntu 20.04
The text was updated successfully, but these errors were encountered: