linking static library for android
How would I go about the same linking as in
if I want my game to work on more platforms, like Android?
I want to link a third party library that has .lib, .dll files for windows, but also has .a, .so files (unix32, unix64 versions), and the headers. The lib and the headers were needed for Win, so I tried to load the .so instead of the .lib for android (Target.Platform == UnrealTargetPlatform.Android) in the Build.cs file, but it didn't work. I guess it's more complicated than just having another if, as in the tutorial for win. When compiling, the output says for the .so: incompatible target and then a lot of undefined references for functions I used successfully on Win.
asked Jun 17 '15 at 08:58 PM in C++ Programming
You want to use a .a with Android, not a .so. I wouldn't go messing with dynamic libs on Android if you have a static version right there :)
answered Jun 17 '15 at 09:46 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here