If you’re developing on windows, VC++;s compiler is really your only option unless you want to recompile the entire engine before you start working on a project. The reasons for this are many and legion, but really it all comes down to the fact that C++ does not have a standardized ABI. I doubt Epic put a lot of effort into trying to make the engine work with any compiler, just due to the massive undertaking that would be. Plus, I’ve seen many posts with requests for it, so I doubt it does. Now, if you recompile the engine with a different compiler AND compile your game modules with that same compiler…it could possibly work. However, you never know what code they might have in there that is compiler-specific.
I just started with UE and I only know how to program on C++ and a little C.
The can I use C++ maybe with other compiler or using libraries? And if I can, how I do that?
Thanks for answer.
But then it means I can only make games for Windows? That would be bad.
I don’t know if you can read this if I comment here, but I’m going to try.
If you’re talking about “using VC++ makes it to where you can only make Windows games,” then no. UE4 has its own build system that runs when you compile your code. This build system can compile for all platforms. Now, if you mean “compiling the engine with a different compiler,” then I don’t know as I haven’t had to do that yet. I assume the build system can still compile for all platforms, just based off what I know about it.
Ok, a lot of thanks for explain.