question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with `ShadowErrors`, `VS2017` and `Status Bar`

See original GitHub issue

I’m getting Error that VS2017 must be installed, while I do have VS2017 and VS2019. Not sure why it’s not detecting it.

This is the command line: BuildGraph -target="Make Installed Build Win64" -script="D:\Epic Games\UE_Source\UnrealEngine\Engine\Build\InstalledEngineBuild.xml" -set:WithDDC=false -set:SignExecutables=false -set:EmbedSrcSrvInfo=false -set:GameConfigurations=Development;Shipping -set:WithFullDebugInfo=false -set:HostPlatformEditorOnly=false -set:AnalyticsTypeOverride= -set:WithWin64=true -set:WithWin32=true -set:WithMac=false -set:WithAndroid=false -set:WithIOS=false -set:WithTVOS=false -set:WithLinux=false -set:WithLumin=false -set:WithLinuxAArch64=false -set:CompileDatasmithPlugins=false -set:VS2019=false -set:WithServer=false -set:WithClient=false -set:WithHoloLens=false

I’m getting these errors :

  • SharedPCH.Core.ShadowErrors.cpp
  • SharedPCH.CoreUObject.ShadowErrors.cpp
  • SharedPCH.CoreUObject.RTTI.ShadowErrors.cpp
  • SharedPCH.UnrealEd.NoOptimized.RTTI.ShadowErrors.NoUndef.cpp
  • SharedPCH.Core.ShadowErrors.NoUndef.cpp
  • SharedPCH.UnrealEd.NoOptimized.ShadowErrors.cpp
  • SharedPCH.Engine.NoOptimized.ShadowErrors.cpp
  • SharedPCH.Slate.ShadowErrors.cpp
  • SharedPCH.UnrealEd.RTTI.ShadowErrors.cpp
  • SharedPCH.UnrealEd.ShadowErrors.cpp
  • SharedPCH.Engine.ShadowErrors.cpp Something with ShadowErrors, any idea why?

fyi, I’m trying to build Chaos, so I edited the BuildEnvironment = TargetBuildEnvironment.Shared; to BuildEnvironment = TargetBuildEnvironment.Unique; and added bCompileChaos = true; and bUseChaos = true; to the UE4Editor.Target.cs. (That’s since that’s what unreal documentation required.), is this causing the ShadowErrors errors?

…also I’m not sure what’s going on at the status bar, probably need to give it some space or open a new window. image

…and the last thing, regarding your documentation (“How to use”). “Copy the built binary to the UE4 source folder prepared above.” after I built it, I copy the release folder in the bin folder and pasted it in the unreal source code directory, where GenerateProjectFiles.bat exists, am I doing it right?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
Bernardrouhicommented, Oct 28, 2020

Apparently, it’s a bug in 4.25.4, and it’s fixed in version 4.26 here is the snapshot of the git repo. image

I remove line 520 and compile it again, and it did compile successfully. (thought to share that here)

0reactions
ryanjon2040commented, Oct 29, 2020

Thank you so much for letting me know. I only tried on 4.25.3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue with ShadowErrors , VS2017 and Status Bar #26
I'm getting Error that VS2017 must be installed, while I do have VS2017 and VS2019. Not sure why it's not detecting it. This...
Read more >
Status bar not showing error message.
1.)Open a project of you choosing.Build/Compile so there are no errors. 2.) · 1.)Re-build the solution again, the error should still remain. 2.) ......
Read more >
"cpp.hint" does not exist - building UE 4.25.4 from source ...
Hi there, I'm trying to build UE 4.25.4 from source for Chaos, here what I did: I cloned the unreal engine from GitHub,...
Read more >
visual studio 2017 status bar color
In my case, I wanted to change the purple color of the statusbar from the Dark theme and I was able through that...
Read more >
Untitled
Compile sharedpch.engine.shadowerrors.cpp Error compiling Unreal Engine 4.25 on ubuntu focal ... Issue with `ShadowErrors`, `VS2017` and `Status Bar` ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found