为有中文需求的客户提供多渠道中文技术支持.

Tue Aug 08, 2023 3:12 am

如题,我把spiredoc插件导入unity,当打包方式设置为mono时它一切正常工作,但是当我设置为il2cpp时它就无法打包,提示以下报错:
Code: Select all
Building Library\Bee\artifacts\WinPlayerBuildProgram\3wbgm\cysk_ire.Doc108.obj failed with output:
Spire.Doc108.cpp
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(8666): error C2143: �﷨����: ȱ�١�)��(�ڡ�__cdecl����ǰ��)
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(8666): error C2143: �﷨����: ȱ�١�;��(�ڡ�__cdecl����ǰ��)
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(8666): error C2059: �﷨����:��__cdecl��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(8666): error C2059: �﷨����:��)��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(8668): error C4430: ȱ������˵���� - �ٶ�Ϊ int��ע��: C++ ��֧��Ĭ�� int
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(8668): error C2146: �﷨����: ȱ�١�;��(�ڱ�ʶ����il2cppPInvokeFunc����ǰ��)
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(8668): error C2065: ��il2cppPInvokeFunc��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(8669): error C2065: ��il2cppPInvokeFunc��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(8671): error C2065: ��U1705_t7C1AA49B33D1B7702927FFAA2E4A042216128DD1_marshaled_pinvoke��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(8671): error C2059: �﷨����:��)��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(8672): error C2065: ��il2cppPInvokeFunc��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(8672): error C2672: ��il2cpp_codegen_resolve_pinvoke��: δ�ҵ�ƥ������غ���
D:\Unity\Hub\Editor\2021.3.14f1c1\Editor\Data\il2cpp\libil2cpp\codegen\il2cpp-codegen-il2cpp.h(478): note: �����ǡ�FunctionPointerType il2cpp_codegen_resolve_pinvoke(const Il2CppNativeChar (&)[dynamicLibraryLength],const char (&)[entryPointLength],Il2CppCallConvention,Il2CppCharSet,int,bool)��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(8672): note: ��il2cpp_codegen_resolve_pinvoke��:��FunctionPointerType���� ģ�� ������Ч��ӦΪ����
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(8681): error C2061: �﷨����: ��ʶ����U1705_t7C1AA49B33D1B7702927FFAA2E4A042216128DD1_marshaled_pinvoke��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9112): error C2061: �﷨����: ��ʶ����U1705_t7C1AA49B33D1B7702927FFAA2E4A042216128DD1_marshaled_pinvoke��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9114): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9115): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9116): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9117): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9118): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9119): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9120): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9121): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9122): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9123): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9124): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9125): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9126): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9127): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9128): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9129): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9130): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9131): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9132): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9133): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9135): error C4430: ȱ������˵���� - �ٶ�Ϊ int��ע��: C++ ��֧��Ĭ�� int
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9135): error C2143: �﷨����: ȱ�١�,��(�ڡ�&����ǰ��)
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9138): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9139): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9141): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9142): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9144): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9145): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9147): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9148): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9150): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9151): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9153): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9154): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9156): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9157): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9159): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9160): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9162): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9163): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9165): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9166): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9168): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9169): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9171): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9172): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9174): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9175): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9177): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9178): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9180): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9181): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9183): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9184): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9186): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9187): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9189): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9190): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9192): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9193): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9195): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9196): error C2065: ��unmarshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9199): error C2065: ��U1705_t7C1AA49B33D1B7702927FFAA2E4A042216128DD1_marshaled_pinvoke��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9199): error C2065: ��marshaled��: δ�����ı�ʶ��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9199): error C2182: ��U1705_t7C1AA49B33D1B7702927FFAA2E4A042216128DD1_marshal_pinvoke_cleanup��: ��void�� ��һʹ����Ч
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9200): error C2143: �﷨����: ȱ�١�;��(�ڡ�{����ǰ��)
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9201): error C2059: �﷨����:��}��
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9201): error C2143: �﷨����: ȱ�١�;��(�ڡ�}����ǰ��)
E:\Projects\Il2CPPBuildTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Spire.Doc108.cpp(9204): error C2143: �﷨����: ȱ�١�;��(�ڡ�{����ǰ��)
E:\Projects\Il2CPPBuildTest\Library\Bee\a<message truncated>

由于某些原因我不得不使用il2cpp的构建方式,请问spiredoc是不支持il2cpp吗?使用的unity版本为2021.3.14f1c1

991207197
 
Posts: 1
Joined: Fri Aug 04, 2023 12:29 pm

Tue Aug 08, 2023 3:31 am

您好,

感谢您的反馈。
您可以尝试使用我们的最新商业版(Spire.Doc hotfix 11.8.2)进行测试,如果测试之后还有问题,由于我们没有使用过您提到的这个产品,麻烦将您的项目,以及测试步骤分享给我们,您可以通过邮件(support@e-iceblue)发送给我们或者附加到该贴中。如果项目文件太大,还可以上传到阿里网盘或者百度网盘等然后将下载链接分享给我们。感谢您的帮助。

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Return to 中文技术支持