求助!打包出错 \NPC.h(19): error C2143: �﷨����: ȱ�١...

[复制链接]
查看2135 | 回复3 | 2020-5-4 20:30:31 | 显示全部楼层 |阅读模式
打包项目的时候出错,已经被卡了很久了
Building 4 actions with 8 processes...
UATHelper: 正在打包 (Windows (64-bit)):     [1/4] NPC.cpp
UATHelper: 正在打包 (Windows (64-bit)):     d:\workspace\quannian2\source\quannian2\NPC.h(19): error C2143: �﷨����: ȱ�١�;��(�ڡ�*����ǰ��)
UATHelper: 正在打包 (Windows (64-bit)):     d:\workspace\quannian2\source\quannian2\NPC.h(19): error C4430: ȱ������˵���� - �ٶ�Ϊ int��ע��: C++ ��֧��Ĭ�� int
UATHelper: 正在打包 (Windows (64-bit)):     d:\workspace\quannian2\source\quannian2\NPC.h(19): error C2238: ����ı��λ�ڡ�;��֮ǰ
UATHelper: 正在打包 (Windows (64-bit)):     [2/4] NPC.gen.cpp
UATHelper: 正在打包 (Windows (64-bit)):     D:\WorkSpace\QuanNian2\Source\QuanNian2/NPC.h(19): error C2143: �﷨����: ȱ�١�;��(�ڡ�*����ǰ��)
UATHelper: 正在打包 (Windows (64-bit)):     D:\WorkSpace\QuanNian2\Source\QuanNian2/NPC.h(19): error C4430: ȱ������˵���� - �ٶ�Ϊ int��ע��: C++ ��֧��Ĭ�� int
UATHelper: 正在打包 (Windows (64-bit)):     D:\WorkSpace\QuanNian2\Source\QuanNian2/NPC.h(19): error C2238: ����ı��λ�ڡ�;��֮ǰ
UATHelper: 正在打包 (Windows (64-bit)):     D:\WorkSpace\QuanNian2\Intermediate\Build\Win64\UE4\Inc\QuanNian2\NPC.gen.cpp(72): error C2039: ��ProxSphere��: ���ǡ�ANPC���ij�Ա
UATHelper: 正在打包 (Windows (64-bit)):     D:\WorkSpace\QuanNian2\Source\QuanNian2/NPC.h(11): note: �μ���ANPC��������
UATHelper: 正在打包 (Windows (64-bit)):     D:\WorkSpace\QuanNian2\Intermediate\Build\Win64\UE4\Inc\QuanNian2\NPC.gen.cpp(72): error C2618: offsetof �еķǷ���Աָʾ��
UATHelper: 正在打包 (Windows (64-bit)):     D:\WorkSpace\QuanNian2\Intermediate\Build\Win64\UE4\Inc\QuanNian2\NPC.gen.cpp(72): note: offsetof �������ں��壻ʹ�� /Zcffsetof- ��ԭ���ɵķǷ��϶���

PureWhiteGK | 2020-5-4 21:37:14 | 显示全部楼层
已解决,在uspherecomponent前面加上class
回复 支持 反对

使用道具 举报

43180715 | 2020-5-7 21:42:23 | 显示全部楼层
资源哪里好,肯定引擎世界找!
回复 支持 反对

使用道具 举报

zybUE4001 | 2020-9-4 16:29:39 | 显示全部楼层
每日一签!!!!!!!!!!!!!!!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

2

主题

2

回帖

15

积分

初始化成员

积分
15