I’m trying to build UE5 from source of the Release branch in the github with the Stadia platform Extensions included. But I’m Running into a LNK1104 and am wondering what it could be. I already did a build of 4.27 once with Stadia platform Extensions included and that never ran into this error so I’m kind of at a loss.
cannot open file ‘…\Plugins\Developer\VisualStudioCodeSourceCodeAccess\Intermediate\Build\Win64\UnrealEditor\Development\VisualStudioCodeSourceCodeAccess\UnrealEditor-VisualStudioCodeSourceCodeAccess.suppressed.exp’
The command …..\Build\BatchFiles\Build.bat -Target=UnrealEditor Win64 Development -Target=ShaderCompileWorker Win64 Development -Quiet -WaitMutex -FromMsBuild exited with code 6.
Hello MatthewSoedesco and DrCoolFreshPapaG, thank you both for asking these questions.
The LNK1104 error may mean that the file in not able to be read/written to. This could be due to a long pathname, lack of double quotes in your .bat file or many other things. I see other users have corrected the same LNK with the same MSB code as yours here on Stack Overflow. If you would like to read more on this, here is a link.
WARNING: This is an external link and as the end user, you are responsible should something happen to your device when you choose to click a link or follow steps that are not endorsed by Epic.
Thank you for your reply! For me it seems to have been the long pathname.
Even tho changing the windows settings didnt work, simply building the engine on Desktop rather than the C: Epic Games folder seems to have fixed it for me
I am glad the the path name was the culprit. From my experience, I usually have to restart my machine to get the path length change to stick. Either way, great work finding the root cause.