Project cannot be compiled

Hello there!

I would like to get some help regarding the bulls and cows game. When I try to open it the first time I have the following warning message: " This project could not be compiled. Would you like to open it in Visual Studio?"
I have UE_4.27 and VS2017.

Thank you very much for the help

Here is the log file:

The project could not be compiled. Would you like to open it in Visual Studio?

Running D:/Program Files/Epic Games/UE_4.27/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project=“D:/coding/unreal/Unreal/BullCowGame-starter-kit/BullCowGame.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Creating makefile for BullCowGameEditor (no existing makefile)
@progress push 5%
Parsing headers for BullCowGameEditor

  • Running UnrealHeaderTool “D:\coding\unreal\Unreal\BullCowGame-starter-kit\BullCowGame.uproject” “D:\coding\unreal\Unreal\BullCowGame-starter-kit\Intermediate\Build\Win64\BullCowGameEditor\Development\BullCowGameEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -abslog=“C:\Users\kerny\AppData\Local\UnrealBuildTool\Log_UHT.txt” -installed*
    LogInit: Display: Loading text-based GConfig…
    Reflection code generated for BullCowGameEditor in 21,9467235 seconds
    @progress pop
    Building BullCowGameEditor…
    Using Visual Studio 2017 14.13.26129 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128) and Windows 10.0.16299.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 15 actions with 4 processes…
  • @progress ‘Compiling C++ source code…’ 0%*
  • @progress ‘Compiling C++ source code…’ 7%*
  • [1/15] Default.rc2*
  • @progress ‘Compiling C++ source code…’ 13%*
  • [2/15] SharedPCH.Engine.cpp*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Misc/StringBuilder.h(354): error C2995: ‘unknown-type operator <<(FWideStringBuilderBase &,T &&)’: function template has already been defined*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Misc/StringBuilder.h(345): note: see declaration of ‘operator <<’*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(648): error C3520: ‘ArgTypes’: parameter pack must be expanded in this context*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/UnrealTemplate.h(626): note: see reference to function template instantiation ‘T &&DeclVal(void)’ being compiled*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Math/IntPoint.h(557): note: see reference to class template instantiation ‘TTuple<>’ being compiled*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(648): error C2672: ‘DeclVal’: no matching overloaded function found*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(648): error C2893: Failed to specialize function template ‘T &&DeclVal(void)’*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(648): note: With the following template arguments:*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(648): note: ‘T=ArgTypes &&’*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(648): error C3546: ‘…’: there are no parameter packs available to expand*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(648): error C2672: ‘UE4Tuple_Private::ConstructibleConceptCheck’: no matching overloaded function found*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(657): error C3520: ‘OtherTypes’: parameter pack must be expanded in this context*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/UnrealTemplate.h(626): note: see reference to function template instantiation ‘T &&DeclVal(void)’ being compiled*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(657): error C2672: ‘DeclVal’: no matching overloaded function found*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(657): error C2893: Failed to specialize function template ‘T &&DeclVal(void)’*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(657): note: With the following template arguments:*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(657): note: ‘T=OtherTypes &&’*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(657): error C3546: ‘…’: there are no parameter packs available to expand*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(657): error C2672: ‘UE4Tuple_Private::ConstructibleConceptCheck’: no matching overloaded function found*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(666): error C3520: ‘OtherTypes’: parameter pack must be expanded in this context*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/UnrealTemplate.h(626): note: see reference to function template instantiation ‘T &&DeclVal(void)’ being compiled*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(666): error C2672: ‘DeclVal’: no matching overloaded function found*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(666): error C2893: Failed to specialize function template ‘T &&DeclVal(void)’*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(666): note: With the following template arguments:*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(666): note: ‘T=const OtherTypes &’*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(666): error C3546: ‘…’: there are no parameter packs available to expand*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(666): error C2672: ‘UE4Tuple_Private::ConstructibleConceptCheck’: no matching overloaded function found*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(681): error C3520: ‘OtherTypes’: parameter pack must be expanded in this context*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/UnrealTemplate.h(626): note: see reference to function template instantiation ‘T &&DeclVal(void)’ being compiled*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(681): error C2672: ‘DeclVal’: no matching overloaded function found*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(681): error C2893: Failed to specialize function template ‘T &&DeclVal(void)’*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(681): note: With the following template arguments:*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(681): note: ‘T=const OtherTypes &’*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(681): error C3546: ‘…’: there are no parameter packs available to expand*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(681): error C2672: ‘UE4Tuple_Private::AssignableConceptCheck’: no matching overloaded function found*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(691): error C3520: ‘OtherTypes’: parameter pack must be expanded in this context*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/UnrealTemplate.h(626): note: see reference to function template instantiation ‘T &&DeclVal(void)’ being compiled*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(691): error C2672: ‘DeclVal’: no matching overloaded function found*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(691): error C2893: Failed to specialize function template ‘T &&DeclVal(void)’*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(691): note: With the following template arguments:*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(691): note: ‘T=OtherTypes &&’*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(691): error C3546: ‘…’: there are no parameter packs available to expand*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/Tuple.h(691): error C2672: ‘UE4Tuple_Private::AssignableConceptCheck’: no matching overloaded function found*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Delegates/DelegateInstancesImpl.h(365): error C2338: You cannot use raw method delegates with UObjects.*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Delegates/DelegateInstancesImpl.h(493): note: see reference to class template instantiation ‘TBaseRawMethodDelegateInstance<bConst,UserClass,WrappedRetValType(ParamTypes…),UserPolicy,VarTypes…>’ being compiled*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\RHI\Public\RHI.h(2050): error C2327: ‘FRHITransition::State’: is not a type name, static, or enumerator*
  • D:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\RHI\Public\RHI.h(2050): error C2065: ‘State’: undeclared identifier*

Hello,

Sorry my problem is solved already. Problem was I had the wrong VS code isntalled. After I downloaded the latest one.

Now everything is working correctly. :slight_smile:

Thanks

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms