FASTBuild-UE4 icon indicating copy to clipboard operation
FASTBuild-UE4 copied to clipboard

Readme unclear

Open zeroZshadow opened this issue 9 years ago • 2 comments

The Readme is missing out a few important points. The SDK folder junctions. What exact folder should be junctioned, and what should it look like after this task is completed?

When trying to recompile after following the steps, the following error will be throw when trying to rebuild the UnrealBuildToold.

System\ActionGraph.cs(429,6,429,15): error CS0246: The type or namespace name 'FASTBuild' could not be found (are you missing a using directive or an assembly reference?)

The README should specify the steps to avoid this.

zeroZshadow avatar Oct 21 '16 14:10 zeroZshadow

It looks like in FastBuild.cs he defines the relative paths in

public static bool IsAvailable

for the public they are as following:

Assume UnrealEngine located here:

C:\UnrealEngine\Engine\Extras\FASTBuild\

Paths of interest are:

C:\UnrealEngine\Engine\Extras\FASTBuild\External/VS15.0
C:\UnrealEngine\Engine\Extras\FASTBuild\External/Windows8.1

I'm guessing this should be Windows10 for the Junction folder link that was made in the ReadMe.

Also - Regenerate your project (I also added all C# files into UBT project directly (was before I regen'ed, so not sure if that helped or not)

I am thinking of making environmental variables so that this symbolic link crap can go away and a more defined step that doesn't rely on hard-coded values can be part of the system. I'll update with pull request.

MrCorzell avatar Feb 11 '17 06:02 MrCorzell

@MrCorzell The reason for using symlinks is to avoid cache misses due to different VS install paths (they're made into absolute path comments during preprocessing, so have to be the same for the hash to match on different machines), so I wont be able to accept the PR. If you're only using it on your own setup though you could use the VS140COMNTOOLS path :)

I agree I should better document it. I'm hoping to come back to doing more work on this project soon.

ClxS avatar Feb 11 '17 13:02 ClxS