Hi. I went into problem of building UE4 from source. As it seems there will be a lot of errors and solving them one by one takes a lot of time.
But is there an already build from source version that I can download? I’m NOT talking about binary version, I’m talking about already manually build on source version, but is available for download or purchase. Thanks in advance.
I don’t understand what the difference between “binary version” and “already manually built” is.
It’s not that hard to build it yourself, if you actually follow all the steps/instructions, and don’t try to change things at the same time. At least on Windows, it’s pretty straightforward. On Linux, it can be slightly more finicky, but, again, if you stay on the beaten path, rather than trying to customize or “work around” anything, it should be fine.
If you don’t want to build it yourself, then the Epic Launcher is the way to download a pre-built engine. If you select the menu for an installed engine version, you can choose to also download/install debug files, which will include the source code and symbol files so that you can debug into (and search) the engine source code, without having to build it yourself.
I don’t really understand what a third option would be?
Well, what I mean by “binary version” is UE4 that can be downloaded from Epic Games Store, one that I don’t have to build myself i.e pre-built UE4.
What I mean by “already build from source” is UE4 that is originally source code, but was build build manually from Github, following these instructions:
About building from source myself, ohhhh its painful with errors after error and each error requiring hours to fix and build itself takes forever - its too slow simply so I decided to search for other options.
Why I need build from source UE4 is that I cannot setup dedicated server on UE4 that I downloaded from Epic Games Launcher, only with build from source can.
So my idea is to download build from source version.
Well, what I mean by “binary version” is UE4 that can be downloaded from Epic Games Store, one that I don’t have to build myself i.e pre-built UE4.
What I mean by “already build from source” is UE4 that is originally source code, but was build build manually from Github, following these instructions:
About building from source myself, ohhhh its painful with errors after error and each error requiring hours to fix and build itself takes forever - its too slow simply so I decided to search for other options.
Why I need build from source UE4 is that I cannot setup dedicated server on UE4 that I downloaded from Epic Games Launcher, only with build from source can.
So my idea is to download build from source version.
You must be doing something wrong – not using the recommended tool chains, not using the recommended scripts, having a broken operating system install, or something like that.
Assuming you build from a release branch, on a supported OS, with a supported, correctly installed tool chain, the scripts work with no errors.
Regarding “built from source” – the binary you download in the launcher is built from source. What you seem to want, is “built from source, but with certain defines changed to support dedicated server” – this is not something you can separately download; in fact, I would think someone providing that would be going against the Unreal Engine licence (no redistribution of source code allowed.)
I don’t get why the Epic version doesn’t just come with all features supported. It is kinda annoying having to build from source when you’re not even changing the source code.
I also had an issue with building from source but the engine built fine. I was just having compilation problems opening my existing 4.27 project into the manually built version (even though I didn’t touch the source). I just gave up in the end.
“You must be doing something wrong – not using the recommended tool chains, not using the recommended scripts, having a broken operating system install, or something like that.”
Ok bud looks like I understood it. What should I do so that build of engine will run smoothly? I mean what should be installed, on what version of VS I should be doing build, where they should be located and so on.
" Regarding “built from source” – the binary you download in the launcher is built from source. What you seem to want, is “built from source, but with certain defines changed to support dedicated server” – this is not something you can separately download; in fact, I would think someone providing that would be going against the Unreal Engine licence (no redistribution of source code allowed.)"
So I cannot get dedicated server from the one I downloaded from Epic Games Launcher?
I just followed the instructions.
I used Visual Studio 2019 since it didn’t want to compile in anything else.
As for the SDKs and stuff I used, I’m not sure. I used whatever Visual Studio 2019 recommended me to install for C++ game development.
It took hours to compile.
When building from source, you shouldn’t be modifying the files to fix the errors. If you are getting errors, then that’s a problem on your end. Modifying the files isn’t going to make a difference.
Did you build it with breaks?( I mean for example when you don’t have time, so you have to cancel build, and when time is available, continue build by clicking build button again)