-
Notifications
You must be signed in to change notification settings - Fork 111
Build dependency missing from aws-iot-device-sdk-cpp-v2 #7
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
Conversation
Updated README.md and package name
@@ -15,6 +15,7 @@ endif() | |||
|
|||
set(IS_SUBDIRECTORY_INCLUDE true) | |||
find_package(aws-crt-cpp REQUIRED) | |||
find_package(aws-c-cal REQUIRED) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be getting exported by aws-crt-cpp and not exposed outside of that. So if it’s not being picked up, we need to fix it there.
now I'm actually confused. The HEAD of aws-crt-cpp already exports aws-c-cal. Were you just finding this error on the tag we recommended? |
Yes there is some sort of issue that causes aws-c-cal to not get picked up by the linker (from the v2 build).
I found the issue on the master of the v2 repository. (at least when using the visual studio cmake feature).
Best Regards,
Kevin Tacheny
From: Jonathan M. Henson <[email protected]>
Sent: Monday, March 4, 2019 7:28 PM
To: awslabs/aws-iot-device-sdk-cpp-v2 <[email protected]>
Cc: Kevin Tacheny <[email protected]>; Author <[email protected]>
Subject: Re: [awslabs/aws-iot-device-sdk-cpp-v2] Build dependency missing from aws-iot-device-sdk-cpp-v2 (#7)
***** EXTERNAL EMAIL *****
now I'm actually confused. The HEAD of aws-crt-cpp already exports aws-c-cal. Were you just finding this error on the tag we recommended?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fawslabs%2Faws-iot-device-sdk-cpp-v2%2Fpull%2F7%23issuecomment-469483365&data=01%7C01%7Ckevin.tacheny%40hitachivantara.com%7Cfde6f29718c14fcf607208d6a1015abf%7C18791e1761594f52a8d4de814ca8284a%7C0&sdata=TA1ZTN74mtuj5rjamS7mKrTGPH2cMYfd7Masna0NlLE%3D&reserved=0>, or mute the thread<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAtkzmpBdpDaB3a36nkkxJM9Qbmndnuysks5vTbnygaJpZM4bZOOG&data=01%7C01%7Ckevin.tacheny%40hitachivantara.com%7Cfde6f29718c14fcf607208d6a1015abf%7C18791e1761594f52a8d4de814ca8284a%7C0&sdata=xMLQr%2BVp75o10DKmXF4dv6SCi%2Fnf5XkEP2f7ONUMAhM%3D&reserved=0>.
|
Here is the failure when building v2: As I am new to CMake I don't know how this should be fixed and/or where. My explicit inclusion of aws-c-cal was so we could move forward. cmake -DCMAKE_INSTALL_PREFIX=
|
The above linked PR, which is now merged to master, should resolve the issues in this PR. If not, please open an issue ticket. |
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.