haodawei123 2018-11-23 06:33 采纳率: 0%
浏览 1031

ue4如何使用IPlatformFilePak.h

我需要用到IPlatformFilePak.h里面的函数,include包含,ue4编译出错
#include "MyProject15.h"
#include "Runtime/PakFile/Public/IPlatformFilePak.h"

错误提示如下,请问该怎么弄啊?
Info Compiling game modules for hot reload
Info Performing 3 actions (2 in parallel)
Info MyProject15.cpp
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(16) : error C2143: ?﷨????: ȱ?١?;??(?ڡ?????ǰ??)
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(16) : error C4430: ȱ??????˵???? - ?ٶ?Ϊ int??ע??: C++ ??֧??Ĭ?? int
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(17) : error C2144: ?﷨????:??FThreadSafeStaticStat????ǰ??Ӧ?С?;??
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(17) : error C4430: ȱ??????˵???? - ?ٶ?Ϊ int??ע??: C++ ??֧??Ĭ?? int
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(19) : error C2144: ?﷨????:??FThreadSafeStaticStat????ǰ??Ӧ?С?;??
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(19) : error C4430: ȱ??????˵???? - ?ٶ?Ϊ int??ע??: C++ ??֧??Ĭ?? int
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(32) : error C4430: ȱ??????˵???? - ?ٶ?Ϊ int??ע??: C++ ??֧??Ĭ?? int
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(32) : error C2086: ??int PAKFILE_API??: ?ض???
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(19) : note: ?μ???PAKFILE_API????????
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(32) : error C2146: ?﷨????: ȱ?١?;??(?ڱ?ʶ????TPakChunkHash????ǰ??)
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(278) : error C2079: ??FPakFile??ʹ??δ?????? class??PAKFILE_API??
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(278) : error C2143: ?﷨????: ȱ?١?;??(?ڡ?:????ǰ??)
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(278) : error C2059: ?﷨????:??:??
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(278) : error C2059: ?﷨????:????????ʽת????
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(279) : error C2143: ?﷨????: ȱ?١?;??(?ڡ?{????ǰ??)
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(279) : error C2447: ??{??: ȱ?ٺ???????(?Ƿ?????ʽ????ʽ???)
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(647) : error C2079: ??FPakNoEncryption??ʹ??δ?????? class??PAKFILE_API??
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(648) : error C2059: ?﷨????:??public??
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(650) : error C2332: ??enum??: ȱ?ٱ?????
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(650) : error C2143: ?﷨????: ȱ?١?;??(?ڡ?{????ǰ??)
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(650) : error C2447: ??{??: ȱ?ٺ???????(?Ƿ?????ʽ????ʽ???)
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(663) : error C2059: ?﷨????:??}??
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(663) : error C2143: ?﷨????: ȱ?١?;??(?ڡ?}????ǰ??)
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(667) : error C2989: ??PAKFILE_API??: ?? ģ?? ?Ѿ?????Ϊ???? ģ??
Error E:\UE_4.15\Engine\Source\Runtime/PakFile/Public/IPlatformFilePak.h(646) : note: ?μ???PAKFILE_API????????
Info D:\UserData\My Documents\Unreal Projects\MyProject15\Intermediate\Build\Win64\UE4Editor\Development\MyProject15\PCH.MyProject15.cpp: fatal error C1903: ?޷?????ǰ?Ĵ????лָ???????ֹͣ????
Info ??E:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe???е??ڲ???????????
Info ??ѡ?? Visual C++
Info ?????????˵??ϵġ?????֧?֡???????????֧?ְ????ļ?????????ϸ??Ϣ

  • 写回答

1条回答 默认 最新

  • m0_46110741 2022-07-04 11:48
    关注

    引模块PakFile

    评论

报告相同问题?

悬赏问题

  • ¥15 如何删除这个虚拟音频
  • ¥50 hyper默认的default switch
  • ¥15 网站打不开,提示502 Bad Gateway
  • ¥20 基于MATLAB的绝热压缩空气储能系统代码咨询
  • ¥15 R语言建立随机森林模型出现的问题
  • ¥20 unity内置语言切换的按钮设置
  • ¥15 中级微观经济学,生产可能性边界问题
  • ¥15 TCP传输时不同网卡传输用时差异过大
  • ¥15 请各位看看我写的属于什么算法,或者有更正确的写法?
  • ¥15 html5 qrcode 扫描器