Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

工程编译不过 #2

Open
laishikai opened this issue Jan 4, 2023 · 0 comments
Open

工程编译不过 #2

laishikai opened this issue Jan 4, 2023 · 0 comments

Comments

@laishikai
Copy link

1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(34): error C3668: “ULyraGameFeaturePolicy::GetPreloadAssetListForGameFeature”: 包含重写说明符“override”的方法没有重写任何基类方法
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(34): warning C4263: “TArray<FPrimaryAssetId,FDefaultAllocator> ULyraGameFeaturePolicy::GetPreloadAssetListForGameFeature(const UGameFeatureData *) const”: 成员函数不重写任何基类虚拟成员函数
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(43): warning C4264: “TArray<FPrimaryAssetId,FDefaultAllocator> UGameFeaturesProjectPolicies::GetPreloadAssetListForGameFeature(const UGameFeatureData *,bool) const”: 不重写基“UGameFeaturesProjectPolicies”中的虚拟成员函数;函数被隐藏
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeaturesProjectPolicies.h(28): note: 参见“UGameFeaturesProjectPolicies::GetPreloadAssetListForGameFeature”的声明
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeaturesProjectPolicies.h(16): note: 参见“UGameFeaturesProjectPolicies”的声明
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(54): error C3668: “ULyraGameFeature_HotfixManager::OnGameFeatureLoading”: 包含重写说明符“override”的方法没有重写任何基类方法
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(54): warning C4263: “void ULyraGameFeature_HotfixManager::OnGameFeatureLoading(const UGameFeatureData *)”: 成员函数不重写任何基类虚拟成员函数
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(55): warning C4264: “void IGameFeatureStateChangeObserver::OnGameFeatureLoading(const UGameFeatureData *,const FString &)”: 不重写基“IGameFeatureStateChangeObserver”中的虚拟成员函数;函数被隐藏
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeatureStateChangeObserver.h(43): note: 参见“IGameFeatureStateChangeObserver::OnGameFeatureLoading”的声明
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeatureStateChangeObserver.h(29): note: 参见“IGameFeatureStateChangeObserver”的声明
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(64): error C3668: “ULyraGameFeature_AddGameplayCuePaths::OnGameFeatureRegistering”: 包含重写说明符“override”的方法没有重写任何基类方法
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(64): warning C4263: “void ULyraGameFeature_AddGameplayCuePaths::OnGameFeatureRegistering(const UGameFeatureData *,const FString &)”: 成员函数不重写任何基类虚拟成员函数
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(66): warning C4264: “void IGameFeatureStateChangeObserver::OnGameFeatureRegistering(const UGameFeatureData *,const FString &,const FString &)”: 不重写基“IGameFeatureStateChangeObserver”中的虚拟成员函数;函数被隐藏
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeatureStateChangeObserver.h(39): note: 参见“IGameFeatureStateChangeObserver::OnGameFeatureRegistering”的声明
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeatureStateChangeObserver.h(29): note: 参见“IGameFeatureStateChangeObserver”的声明
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(65): error C3668: “ULyraGameFeature_AddGameplayCuePaths::OnGameFeatureUnregistering”: 包含重写说明符“override”的方法没有重写任何基类方法
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(65): warning C4263: “void ULyraGameFeature_AddGameplayCuePaths::OnGameFeatureUnregistering(const UGameFeatureData *,const FString &)”: 成员函数不重写任何基类虚拟成员函数
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(66): warning C4264: “void IGameFeatureStateChangeObserver::OnGameFeatureUnregistering(const UGameFeatureData *,const FString &,const FString &)”: 不重写基“IGameFeatureStateChangeObserver”中的虚拟成员函数;函数被隐藏
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeatureStateChangeObserver.h(41): note: 参见“IGameFeatureStateChangeObserver::OnGameFeatureUnregistering”的声明
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeatureStateChangeObserver.h(29): note: 参见“IGameFeatureStateChangeObserver”的声明
1>[2/12] Compile Module.ShooterCoreRuntime.cpp
1>I:\work\LyraWithUnLua\Plugins\GameFeatures\ShooterCore\Intermediate\Build\Win64\UnrealEditor\Inc\ShooterCoreRuntime\UHT\InputTriggerCombo.generated.h(13): fatal error C1189: #error: "InputTriggerCombo.generated.h already included, missing '#pragma once' in InputTriggerCombo.h"
1>[3/12] Link UnrealEditor-ShooterCoreRuntime-Win64-Debug.lib cancelled
1>[4/12] Compile LyraEditor.cpp
1>I:\work\LyraWithUnLua\Source\LyraEditor\LyraEditor.cpp(154): error C2653: “FEditorStyle”: 不是类或命名空间名称
1>I:\work\LyraWithUnLua\Source\LyraEditor\LyraEditor.cpp(154): error C3861: “GetStyleSetName”: 找不到标识符
1>[5/12] Link UnrealEditor-LyraEditor-Win64-Debug.lib cancelled
1>[6/12] Compile Module.LyraGame.11_of_13.cpp
1>I:\work\LyraWithUnLua\Source\LyraGame\AbilitySystem\Abilities\LyraGameplayAbility.cpp(487): error C3867: “ULyraGameplayAbility::ChangeActivationGroup”: 非标准语法;请使用 "&" 来创建指向成员的指针
1>I:\work\LyraWithUnLua\Source\LyraGame\AbilitySystem\Abilities\LyraGameplayAbility.cpp(487): error C3861: “ENSURE_ABILITY_IS_INSTANTIATED_OR_RETURN”: 找不到标识符
1>I:\work\LyraWithUnLua\Source\LyraGame\AbilitySystem\Abilities\LyraGameplayAbility.cpp(510): error C3867: “ULyraGameplayAbility::SetCameraMode”: 非标准语法;请使用 "&" 来创建指向成员的指针
1>I:\work\LyraWithUnLua\Source\LyraGame\AbilitySystem\Abilities\LyraGameplayAbility.cpp(510): error C2059: 语法错误:“)”
1>I:\work\LyraWithUnLua\Source\LyraGame\AbilitySystem\Abilities\LyraGameplayAbility.cpp(521): error C3867: “ULyraGameplayAbility::ClearCameraMode”: 非标准语法;请使用 "&" 来创建指向成员的指针
1>I:\work\LyraWithUnLua\Source\LyraGame\AbilitySystem\Abilities\LyraGameplayAbility.cpp(521): error C2059: 语法错误:“)”
1>I:\work\LyraWithUnLua\Source\LyraGame\AbilitySystem\LyraAbilitySet.cpp(57): warning C4996: 'UAbilitySystemComponent::GetSpawnedAttributes_Mutable': This function will be made private. Use Add/Remove SpawnedAttributes instead Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>I:\work\LyraWithUnLua\Source\LyraGame\AbilitySystem\LyraGameplayCueManager.cpp(400): warning C4996: 'FAssetBundleData::AddBundleAssets': The contents of an asset bundle now use FTopLevelAssetPath instead of FSoftObjectPath. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>[7/12] Compile Module.LyraGame.12_of_13.cpp
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\GameFeatureAction_AddAbilities.cpp(237): warning C4996: 'UAbilitySystemComponent::GetSpawnedAttributes_Mutable': This function will be made private. Use Add/Remove SpawnedAttributes instead Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\GameFeatureAction_AddWidget.cpp(31): warning C4996: 'FAssetBundleData::AddBundleAsset': The contents of an asset bundle now use FTopLevelAssetPath instead of FSoftObjectPath. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(34): error C3668: “ULyraGameFeaturePolicy::GetPreloadAssetListForGameFeature”: 包含重写说明符“override”的方法没有重写任何基类方法
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(34): warning C4263: “TArray<FPrimaryAssetId,FDefaultAllocator> ULyraGameFeaturePolicy::GetPreloadAssetListForGameFeature(const UGameFeatureData *) const”: 成员函数不重写任何基类虚拟成员函数
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(43): warning C4264: “TArray<FPrimaryAssetId,FDefaultAllocator> UGameFeaturesProjectPolicies::GetPreloadAssetListForGameFeature(const UGameFeatureData *,bool) const”: 不重写基“UGameFeaturesProjectPolicies”中的虚拟成员函数;函数被隐藏
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeaturesProjectPolicies.h(28): note: 参见“UGameFeaturesProjectPolicies::GetPreloadAssetListForGameFeature”的声明
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeaturesProjectPolicies.h(16): note: 参见“UGameFeaturesProjectPolicies”的声明
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(54): error C3668: “ULyraGameFeature_HotfixManager::OnGameFeatureLoading”: 包含重写说明符“override”的方法没有重写任何基类方法
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(54): warning C4263: “void ULyraGameFeature_HotfixManager::OnGameFeatureLoading(const UGameFeatureData *)”: 成员函数不重写任何基类虚拟成员函数
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(55): warning C4264: “void IGameFeatureStateChangeObserver::OnGameFeatureLoading(const UGameFeatureData *,const FString &)”: 不重写基“IGameFeatureStateChangeObserver”中的虚拟成员函数;函数被隐藏
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeatureStateChangeObserver.h(43): note: 参见“IGameFeatureStateChangeObserver::OnGameFeatureLoading”的声明
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeatureStateChangeObserver.h(29): note: 参见“IGameFeatureStateChangeObserver”的声明
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(64): error C3668: “ULyraGameFeature_AddGameplayCuePaths::OnGameFeatureRegistering”: 包含重写说明符“override”的方法没有重写任何基类方法
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(64): warning C4263: “void ULyraGameFeature_AddGameplayCuePaths::OnGameFeatureRegistering(const UGameFeatureData *,const FString &)”: 成员函数不重写任何基类虚拟成员函数
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(66): warning C4264: “void IGameFeatureStateChangeObserver::OnGameFeatureRegistering(const UGameFeatureData *,const FString &,const FString &)”: 不重写基“IGameFeatureStateChangeObserver”中的虚拟成员函数;函数被隐藏
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeatureStateChangeObserver.h(39): note: 参见“IGameFeatureStateChangeObserver::OnGameFeatureRegistering”的声明
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeatureStateChangeObserver.h(29): note: 参见“IGameFeatureStateChangeObserver”的声明
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(65): error C3668: “ULyraGameFeature_AddGameplayCuePaths::OnGameFeatureUnregistering”: 包含重写说明符“override”的方法没有重写任何基类方法
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(65): warning C4263: “void ULyraGameFeature_AddGameplayCuePaths::OnGameFeatureUnregistering(const UGameFeatureData *,const FString &)”: 成员函数不重写任何基类虚拟成员函数
1>I:\work\LyraWithUnLua\Source\LyraGame\GameFeatures\LyraGameFeaturePolicy.h(66): warning C4264: “void IGameFeatureStateChangeObserver::OnGameFeatureUnregistering(const UGameFeatureData *,const FString &,const FString &)”: 不重写基“IGameFeatureStateChangeObserver”中的虚拟成员函数;函数被隐藏
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeatureStateChangeObserver.h(41): note: 参见“IGameFeatureStateChangeObserver::OnGameFeatureUnregistering”的声明
1>I:\work\UnrealEngine\Engine\Plugins\Experimental\GameFeatures\Source\GameFeatures\Public\GameFeatureStateChangeObserver.h(29): note: 参见“IGameFeatureStateChangeObserver”的声明
1>I:\work\LyraWithUnLua\Source\LyraGame\GameModes\LyraExperienceManagerComponent.cpp(221): warning C4996: 'UGameFeaturesSubsystem::GetPluginURLForBuiltInPluginByName': Use GetPluginURLByName instead Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>I:\work\LyraWithUnLua\Source\LyraGame\Hotfix\LyraHotfixManager.cpp(104): warning C4996: 'FConfigFile::CombineFromBuffer': Use CombineFromBuffer that takes FileHint Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>I:\work\LyraWithUnLua\Source\LyraGame\Interaction\Abilities\LyraGameplayAbility_Interact.cpp(103): error C2440: “const_cast”: 无法从“TObjectPtr”转换为“AActor *”
1> with
1> [
1> T=AActor
1> ]
1>I:\work\LyraWithUnLua\Source\LyraGame\Interaction\Abilities\LyraGameplayAbility_Interact.cpp(103): note: 转换要求构造函数或用户定义的转换运算符,而该运算符不能由 const_cast 或 reinterpret_cast 使用
1>I:\work\LyraWithUnLua\Source\LyraGame\Interaction\Tasks\AbilityTask_WaitForInteractableTargets.cpp(134): error C2679: 二元“=”: 没有找到接受“TWeakObjectPtr<UAbilitySystemComponent,FWeakObjectPtr>”类型的右操作数的运算符(或没有可接受的转换)
1>I:\work\UnrealEngine\Engine\Source\Runtime\CoreUObject\Public\UObject\ObjectPtr.h(340): note: 可能是“TObjectPtr &TObjectPtr::operator =(TPrivateObjectPtr &&)”
1> with
1> [
1> T=UAbilitySystemComponent
1> ]
1>I:\work\UnrealEngine\Engine\Source\Runtime\CoreUObject\Public\UObject\ObjectPtr.h(311): note: 或 “TObjectPtr &TObjectPtr::operator =(TYPE_OF_NULLPTR)”
1>I:\work\UnrealEngine\Engine\Source\Runtime\CoreUObject\Public\UObject\ObjectPtr.h(309): note: 或 “TObjectPtr &TObjectPtr::operator =(const TObjectPtr &)”
1>I:\work\UnrealEngine\Engine\Source\Runtime\CoreUObject\Public\UObject\ObjectPtr.h(308): note: 或 “TObjectPtr &TObjectPtr::operator =(TObjectPtr &&)”
1>I:\work\LyraWithUnLua\Source\LyraGame\Interaction\Tasks\AbilityTask_WaitForInteractableTargets.cpp(134): note: 尝试匹配参数列表“(TObjectPtr, TWeakObjectPtr<UAbilitySystemComponent,FWeakObjectPtr>)”时

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant