I’m trying to compile Photon for Linux using crosscompile, but I got this errors
The major problem is that photon is compiled with gcc but the compiler used by Unreal is clang++, so the error showed a lot of times is:
undefined symbol: std::ios_base::Init::Init()
More info:
So in theory I have to add the flags: “-Wl,–copy-dt-needed-entries” to the build line but I don’t know how to add flags to the compiler, maybe it’s in the xml config?
this is the compiler used :
version 4.22 → v13 clang-7.0.1-based
what’s the correct place to do this to compile a linux plugin from windows?