Hi
I have used the script “dockerized” to use docker to build “Urho3D” for “android”, I could have it as “aar”, so far so good.
Now I would like to use statically built Urho3D libraries, the problem is, when I have in some C++ code, “#include” to some Urho3D file, the Urho3D header file does include “SDL/*” files.
I supposed that should not happen, SDL header files should not be visible (third party source code).
I copied the “include” folder of SDL from “Urho3D-master/Source/ThirdParty/SDL/include” and made it visible to Urho3D static library, yeas indeed, now Urho3D does see SDL but I got another problem.
now it complains about a missing SDL header file, which is “SDL_config.h”
I check Urho3D file tree, I found “SDL_config.h.cmake”, I dig into this file I find a very clear sentence in it, it says:
“// Modified by Yao Wei Tjong for Urho3D”
So the source code of the third party has been modified !
So how to get the generated version of this “SDL_config.h” for android?
if we depend on additional header files, why are not they included when dockerized.sh generated the static libraries and header files.
It would be great to have some feedback about this, how to fix this.
Best regards