Greetings.
Recently Master was patched to be compatible with VS2017. But for some reason, on my system project got generated w/o path to NETFX (both, include and libs). It’s required by UnrealLightmass.
Now is not a part of paths in the project.
I was able to add paths manually, but I feel that this may be a non-proper solution (I have no clue how NMAKE works).
As well, VS now has no default include paths (“VC++ Derictories editing in Tools > Options has been deprecated.” says vs).
I pulled down a copy of the Master branch yesterday, and built the Engine and Unreal Lightmass using Visual Studio 2017 RC. I then made a code project, also using VS 2017 RC, and built lighting for the project in the Editor, which completed without any problems.
Would you be able to provide more information about the project you are seeing this issue in? Do you get the same results with a brand new project? Where exactly are you expecting to see the path for the NETFXSDK?
I was actually testing this on my office computer, which has VS 2015 installed. I’ll have to see if I can get a clean system to test on. Thank you for the additional information, that should help a lot.
the metahost.h path seems to be missing. Interestingly, I have two versions of the file, because I have two versions of the NETFXSDK, 4.6.1 and 4.6.2.
I noted that there is a macro for NETFXSDKDir in the macros, but I don’t see where it is set as a path anywhere. One would think that would be found in the property sheets for the project UE4.
For now I’ll add it to the necessary property sheets for the configs I’m working with, but that seems like it is a problem.
Sorry for the delay here. I just tested this again on a Windows 10 machine that only has Visual Studio 2017 installed (it has never had VS 2015 on it). I left it to build UnrealLightmass over night (it is not a very powerful machine, and is not connected to our internal build farm), and there were no warnings or errors in the build when I checked it this morning. If you are still experiencing problems with this, what components do you have in your VS 2017 installation?
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.