x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Unable to compile fresh branch 4.18 clone

I forked and cloned the 4.18 branch and am trying to build it, but I'm getting the following two errors:

 Error    C2039    'MergeShaderCacheFiles': is not a member of 'FShaderCache'    ShaderCacheTool    C:\Users\xC0DEB10C\Documents\Git\UnrealEngine\Engine\Source\Programs\Mac\ShaderCacheTool\Private\ShaderCacheTool.cpp    66

 Error    C1083    Cannot open include file: 'Interfaces/IAutomationWorkerModule.h': No such file or directory    BuildPatchTool    C:\Users\xC0DEB10C\Documents\Git\UnrealEngine\Engine\Source\Programs\BuildPatchTool\Private\ToolModes\AutomationMode.cpp    12

Any clues as to why this showing up

I'm building the Developer Editor for Win64. When using Setup.bat, this was my command line: -exclude=PS4 -exclude=XboxOne -exclude=Switch -exclude=Dingo

Product Version: UE 4.18 Preview
Tags:
more ▼

asked Oct 13 '17 at 01:41 AM in Installation & Setup

avatar image

xC0DEB10C
298 12 117 40

avatar image mech_aadi Oct 29 '17 at 01:42 PM

Can you tell me? If unreal engine 4.18 can be build with vs 2015 with update 1?

avatar image GigasightMedia Oct 29 '17 at 10:37 PM

I'm getting the same errors, attempting to build within the IDE.

Win7 64 Visual Studio 2015


Others have same issue, see:

https://answers.unrealengine.com/questions/713412/cant-compile-master-branch-1.html

avatar image teak421 Nov 02 '17 at 04:35 PM

I've been pretty lucky, I've had no issues at all. I even pull the latest commits (fixes) from 4.18 branch and recompile (after I run setup.bat again) and things work great. I'm on VS2017 15.3. From what I can gleam from the docs is that 4.18 would like VS2017... Not sure if that is your issue...

avatar image TheJamsh Nov 15 '17 at 06:24 PM

Still having this problem in 4.18.1

It's fine to remove the ShaderCache project from your solution, but that DOESN'T fix the issue if you're trying to compile the engine to binary!

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

This is a known bug, is has been fixed for 4.19. See https://issues.unrealengine.com/issue/UE-51613

more ▼

answered Nov 24 '17 at 12:34 AM

avatar image

lotodore
201 9 16 22

avatar image eyosido Dec 11 '17 at 07:46 PM

hmm ok so what do we do in the meantime? Live without shader cache?

avatar image lotodore Dec 12 '17 at 01:24 PM

According to the list of changes, the issue has also been fixed in 4.18.2, so the fix was obviously backported. See https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1398470-4-18-2-hotfix-released

avatar image eyosido Dec 12 '17 at 02:14 PM

I just built 4.18.2 and indeed this is fixed, cool!

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question