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 metadata提取的PDF元数据,如何转换为一个Excel
  • ¥15 关于arduino编程toCharArray()函数的使用
  • ¥100 vc++混合CEF采用CLR方式编译报错
  • ¥15 coze 的插件输入飞书多维表格 app_token 后一直显示错误,如何解决?
  • ¥15 vite+vue3+plyr播放本地public文件夹下视频无法加载
  • ¥15 c#逐行读取txt文本,但是每一行里面数据之间空格数量不同
  • ¥50 如何openEuler 22.03上安装配置drbd
  • ¥20 ING91680C BLE5.3 芯片怎么实现串口收发数据
  • ¥15 无线连接树莓派,无法执行update,如何解决?(相关搜索:软件下载)
  • ¥15 Windows11, backspace, enter, space键失灵