-
I'm trying to integrate the SDK into a UE5 plugin on macOS. I used this blog post as a starting point, but needed to make a number of changes to get things hooked up correctly, including adding dependencies on the Foundation, CoreFoundation, Security and SystemConfiguration frameworks. I also had to build a custom version of UnrealBuildTool (UBT) to prevent linker warnings from failing the build. Now I have everything compiling, but the project crashes on launch whilst loading the plugin containing the AWS SDK. Per the blog post I used vcpkg to build the SDK, then pulled in the includes and libs in my plugin's .Build.cs (see below), as well as adding the required frameworks. Compilation failed with lots of linker warnings like this:
I couldn't find a way to get vcpkg to target the SDK build onto 10.15, to to move past this I needed to remove the -fatal_warnings linker flag. After modifying UBT to do that everything compiles, but there are lots of linker warnings about duplicate symbols which look to be a conflict between the OpenSSL bundled in the SDK and the OpenSSL bundled in Unreal:
On launching the project execution fails on a segfault during module initialization. The is the call stack at the point of failure:
And that's as far as I've been able to get. Here's my current .Build.cs file for reference: `using System; public class AmazonAWS : ModuleRules
}` |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
We have a feature request open for adding Unreal support. The first response from iniside might be helpful to you right now |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
We have a feature request open for adding Unreal support. The first response from iniside might be helpful to you right now