Hi antoinepavia -
First you should not need both the source code.zip AND the source code.tar.gz. Just the *.zip should be fine.
Next, are you unzipping all the archive files to the same directory and allowing the folders to merge. So, the Required1of2 and Required2of2 both have files in the Engine sub directory which they will create as they unzip. When you unzip Required 2of2 you should get asked to merge Engine folder and you should say yes.
I believe this may be were you are having problems, let me know -
Hi, i subscribed and created a Visual Studio account and the error MSB3073 disappeared. I have launched the UEeditor in visual studio and built it too. So i don’t know if the problem was solved due to the one or the other. Thank you very much .
Hi Eric,
I uninstalled VS2012 and the problem was still there. I solved the problem by reinstalling my complete system again. Will not mix different versions of VS anymore.
Hi Guys -
Trying to clean up this question and give a firm answer here. If you are getting this error please try the following steps:
First Try these steps to ensure that you have the correct GitHub version:
- First Uninstall and delete all your engine files. You should not have to remove any project files.
- Next got to Epic Games/Unreal Engine’s Release page on Git Hub, here
- Download the 4.2.1 Release files: Source Code.zip, Required 1of2.zip and Required 2of2.zip. If you need to compile in VS2012 OR have projects that rely on dependencies in VS2012 then you will also need to download the Optional.zip. (This will take a while.)
- Next unzip the files in the following order into the directory of your choice. (For me I use D:\GitHub\Unreal Engine.): Source Code, Required 1of2, Required 2of2, and [Optional if needed]. Merge Folders as you unzip (They will all have files that go into the Engine sub-directory, for instance.)
- Once fully unzipped, Double Click on Generate Project Files.bat and wait for the file to run.
- Once completed you should now see two solution files, double-click (open) the VS2013 solution file.
- In VS2013, Build UE4. (This will take a while.)
- Once the Build is complete, you should now have the UnrealEditor.exe in your Engine/Binaries/Win64 subdirectory.
If you are subscribed through Microsoft to Visual Studio make sure that it is up to date and you have the latest version of either Visual Studio 2012 or 2013.
In any case, ensure that your copy of Visual Studio is up to date and installed correctly. No errors or exceptions are being generated from just opening Visual Studio. If you think that you have an error, complete uninstall and then re-install your version of Visual Studio with all updates.
These steps should solve your issues. User Alucard123, took the nuclear option of re-install his system and it definitely fixed his issue, but I would not recommend that as anything but a last resort and even then.
Try these steps and if you are still having this particular issue please comment to the Question and I will begin looking at this again
Thank You,
I recently had the same issue. For various reasons (IT; lazy) I didn’t have access to github/Required* files.
My windows sdk (Windows Kits/8.1/…) for whatever reason did not have the metahost.h file - and who knows what else.
Reinstalling/repairing the sdk and/or visual studio 2013 in place did not fix the issue.
I took the mini-nuke option, uninstalled all versions of .net and visual studio (2010,2012, 2013), and reinstalled vs2013 (which includes winsdk 8.1 and dotnet 4.5)
metahost.h lives, and UE4 compiles again. I did not have to do anything to the projects or unreal itself.
Posting for the benefit of those running into the same situation today. This question was a top Google search result for my problem. For myself, I needed to compile 4.17 on a machine with VS2017. And for the life of me I couldn’t get it to work. It kept saying that it couldn’t find metahost.h.
But here’s the trick. Run the command “GenerateProjectFiles.bat -2017”. This will give you a Visual Studio 2017 solution for the Engine.
After I did that, all my compilation errors disappeared.
Hi! I have this same issue in 4.18 version!, i already reinstalled all sdk’s and i tried with “GenerateProjectFiles.bat -2017” command, but nothing fix the issue! Did Someone fixed it?