ue4-conan-recipes icon indicating copy to clipboard operation
ue4-conan-recipes copied to clipboard

Add recipe for AWS SDK for C++ (aws-sdk-cpp)

Open JJC1138 opened this issue 2 years ago • 2 comments

Here is a recipe for the AWS SDK for C++.

I should mention that I haven't completely tested using the built binaries with a conan-ue4cli boilerplate UE module, because I preferred to use my own handmade module that references the binaries manually. I did test precomputing the dependency data for both Linux and Win64 builds, however, and everything looks like it's correct and in the right places. Linking and running my project that uses the library succeeded when using my own module.

(By the way, I'd like to say a huge thank you to @adamrehn and everyone else who has contributed to conan-ue4cli. Before I discovered this project I spent a painful week and half trying to build and link the AWS SDK with Unreal Engine, gradually learning more than I ever wanted to know about the pitfalls of Linux C++ binary compatibility. So it was a huge relief to find this project and see that someone has already done the hard work of figuring out what is needed for building libraries against UE and implementing a comprehensive solution. It's marvelous work and I very much appreciate it!)

JJC1138 avatar Mar 23 '22 02:03 JJC1138

Hey

Awesome. I've been trying to build aws-sdk myself for few days, and you recipe is just godsend.

Also I have question. Did you manage to corsscompile linux libs on windows using ue4cli and conan ?

iniside avatar Jul 11 '22 20:07 iniside

Oh cool, I'm glad it helped someone else!

I decided that trying to crosscompile was too scary in the end and instead I'm building on CentOS 7 using Docker. I used CentOS 7 to get the ancient glibc that the UE built-in libraries are compiled against. I'll attach my Dockerfile in case that gives you any useful clues (for instance, aws-sdk-cpp needs a newer CMake than is provided by CentOS 7).

JJC1138 avatar Jul 12 '22 13:07 JJC1138