UE5 Error LNK2019 编译异常修复备忘

UE5编译常见异常:

复制代码
Error LNK2019 : 无法解析的外部符号 ** 中引用了该符号

  已定义且可能匹配的符号上的提示:"private: bool __cdecl *::*(void)"

大概率是因为在 *.Build.cs 文件中缺少相应模块引用:

// Copyright Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;

public class PipeSDKPlugin : ModuleRules

{

public PipeSDKPlugin(ReadOnlyTargetRules Target) : base(Target)

{

PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "EnhancedInput" ,"新增模块引用"});

PrivateDependencyModuleNames.AddRange(new string[] { });

// Uncomment if you are using Slate UI

// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });

// Uncomment if you are using online features

// PrivateDependencyModuleNames.Add("OnlineSubsystem");

// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true

}

}

相关推荐
_风华ts3 小时前
创建并使用AimOffset
ue5·动画·虚幻·虚幻引擎·aimoffset
AI视觉网奇5 小时前
ue 角色驱动衣服 绑定衣服
笔记·学习·ue5
AI视觉网奇1 天前
3d数字人 ue blender 绑定衣服对齐 2026
学习·ue5
AI视觉网奇4 天前
ue metahuman自动绑定实战
笔记·学习·ue5
AI视觉网奇4 天前
ue 安装报错MD-DL ue 安装笔记
笔记·学习·ue5
zhangzhangkeji4 天前
UE5 多线程(6):FQueuedThreadPool 的使用,peek 函数,
ue5
AI视觉网奇4 天前
ue 导出 fbx
笔记·学习·ue5
zhangzhangkeji5 天前
UE5 多线程(5-3):锁的智能指针版本 FScopeLock 与 FScopeUnlock。
ue5
菜鸟z级5 天前
ubuntu18.04+realsense d415+ur5手眼标定,眼在手上
ue5·机器人·相机
AI视觉网奇5 天前
ue5 绑定 鞋子 blender绑定
笔记·学习·ue5