From 3c48bf67488078c26d563f5d33dbb7b1c1adae28 Mon Sep 17 00:00:00 2001 From: James Chen Date: Tue, 29 Oct 2024 17:31:24 +0800 Subject: [PATCH] Fix compile errors. --- native/CMakeLists.txt | 1 + native/tools/swig-config/spine.i | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index a7fb148f195..d01596560bb 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -2349,6 +2349,7 @@ if(USE_MIDDLEWARE) cocos/editor-support/spine/spine.h NO_WERROR cocos/editor-support/spine/SpineObject.cpp cocos/editor-support/spine/SpineObject.h + cocos/editor-support/spine/SpineString.cpp cocos/editor-support/spine/SpineString.h NO_WERROR cocos/editor-support/spine/TextureLoader.cpp cocos/editor-support/spine/TextureLoader.h diff --git a/native/tools/swig-config/spine.i b/native/tools/swig-config/spine.i index c8fa9127528..82e9a0e5219 100644 --- a/native/tools/swig-config/spine.i +++ b/native/tools/swig-config/spine.i @@ -102,6 +102,10 @@ using namespace spine; %ignore spine::TranslateTimeline::getRTTI; %ignore spine::TwoColorTimeline::getRTTI; %ignore spine::VertexAttachment::getRTTI; +%ignore spine::Interpolation::getRTTI; +%ignore spine::VertexEffect::getRTTI; +%ignore spine::ConstraintData::getRTTI; + %ignore spine::SkeletonDataMgr::destroyInstance; %ignore spine::SkeletonDataMgr::hasSkeletonData; %ignore spine::SkeletonDataMgr::setSkeletonData;