Actually I was not paying enough attention to my nm output! Although the functions are present in the libSDL.a and libUrho3D.a they have a U next to them indicating they are undefined. Any ideas how this has happened?
If Urho properly built SDL before, it seems any errors must be ‘caused’ by the swapping of source files, correct?
Missing symbols can happen from differing build flags, so perhaps compare the cmake outputs (cmake VERBOSE=1 for more) in case something happens there?
Note that the Urho3D maintains its own fork of SDL repo, which contains the locally modified code changes. Replacing that with external sources wholesale is guaranteed to faill and not supported by us.
Not sure I understand you completely, but anyway, our fork repo is here. We use a “moving” branch in the fork as the subtree for “Source/ThirdParty/SDL” in Urho3D master repo. The moving branch not only tracks the upstream commits from SDL developer, but also the local commits made by us on top of the original SDL. Currently that moving branch is “release-2.0.5-modified-for-urho3d”. I hope that clarifies.