Hi there, in this lesson, after adding the BullCowCartridge component to the Terminal, typing a simple
PrintLine(“Hi There!”);
in VS Code, when I try to compile it in Unreal, give me back a compile failed message with this log, anyone facing the same?
Building BullCowGameEditor…
Using Visual Studio 2019 14.29.30133 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133) and Windows 10.0.19041.0 SDK (C:\Program Files (x86)\Windows Kits\10).
[Upgrade]
[Upgrade] Using backward-compatible build settings. The latest version of UE4 sets the following values by default, which may require code changes:
[Upgrade] bLegacyPublicIncludePaths = false => Omits subfolders from public include paths to reduce compiler command line length. (Previously: true).
[Upgrade] ShadowVariableWarningLevel = WarningLevel.Error => Treats shadowed variable warnings as errors. (Previously: WarningLevel.Warning).
[Upgrade] PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs => Set in build.cs files to enables IWYU-style PCH model. See https://docs.unrealengine.com/en-US/Programming/BuildTools/UnrealBuildTool/IWYU/index.html. (Previously: PCHUsageMode.UseSharedPCHs).
[Upgrade] Suppress this message by setting ‘DefaultBuildSettings = BuildSettingsVersion.V2;’ in BullCowGameEditor.Target.cs, and explicitly overriding settings that differ from the new defaults.
[Upgrade]
Building 5 actions with 12 processes…
[1/5] BullCowCartridge.cpp
ERROR: Unable to rename C:\Users\Acer\Desktop\Corso Unreal4\ProgettiUE4\BullCowGame\BullCowGame-starter-kit\Intermediate\Build\Win64\UE4Editor\Development\BullCowGame\BullCowCartridge.cpp.txt.tmp to C:\Users\Acer\Desktop\Corso Unreal4\ProgettiUE4\BullCowGame\BullCowGame-starter-kit\Intermediate\Build\Win64\UE4Editor\Development\BullCowGame\BullCowCartridge.cpp.txt
[2/5] BullCowCartridge.gen.cpp
ERROR: Unable to rename C:\Users\Acer\Desktop\Corso Unreal4\ProgettiUE4\BullCowGame\BullCowGame-starter-kit\Intermediate\Build\Win64\UE4Editor\Development\BullCowGame\BullCowCartridge.gen.cpp.txt.tmp to C:\Users\Acer\Desktop\Corso Unreal4\ProgettiUE4\BullCowGame\BullCowGame-starter-kit\Intermediate\Build\Win64\UE4Editor\Development\BullCowGame\BullCowCartridge.gen.cpp.txt
P.S. Sorry if I paste it like this, all the phrases doesn’t fit correctly in a screenshot.