【问题标题】:UE4 project link error with empty descriptionUE4 项目链接错误,描述为空
【发布时间】:2020-03-13 08:58:19
【问题描述】:

我正在将一堆 c++ 代码从旧项目转移到 UE4 项目。我收到链接错误 LNK2001 或 LNK1120,描述为空,这使得定位问题非常困难。

我正在使用 VS2017 社区 15.9.21,UE4 4.23 和构建配置开发编辑器针对 win64。 我还有其他c++项目,vs2017可以正确报出链接错误详情,所以怀疑是虚幻工具链造成的。

有什么想法吗?

构建日志:

14>Using Visual Studio 2017 14.16.27023 toolchain (d:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023) and Windows 10.0.16299.0 SDK (C:\Program Files (x86)\Windows Kits\10).
14>Building 3 actions with 8 processes...
14>  [1/3] UE4Editor-Network.dll
?14>LINK : fatal error LNK1104:
14>  [2/3] UE4Editor-Protocol.dll
14>LINK : error LNK2001:
14>E:\work\QSGame_Branch\Branch_64bit_publish\QSGame 4.23\Binaries\Win64\UE4Editor-Protocol.dll : fatal error LNK1120: 1

【问题讨论】:

    标签: c++ compiler-errors linker unreal-engine4


    【解决方案1】:

    我解决了问题,所以我在这里发布我的解决方案,以防有人遇到同样的问题。

    必须卸载除英语以外的任何语言包。而已。 使用Visual Studio安装程序安装/卸载那些语言包,如果只安装英文,问题就消失了。

    【讨论】:

      猜你喜欢
      • 2018-12-29
      • 2014-05-25
      • 1970-01-01
      • 2013-08-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-15
      相关资源
      最近更新 更多