I've discovered that there are two identical header files named SkeletonRenderer.h, located in different directories. One is in the spine-cocos2dx\spine-cocos2dx\src\spine folder, and the other is in the spine-cpp\spine-cpp\include\spine folder. Both header files declare a SkeletonRenderer class, but their declarations are entirely different. This discrepancy has led to a significant issue in the spine-cocos2dx project where the subclass SkeletonAnimation of SkeletonRenderer mistakenly references the wrong base class, resulting in numerous compilation errors. Additionally, some of the compilation errors arise from the cocos2dx code itself. However, the project compiled successfully before the spine-runtimes were included. I also tried compiling the spine-cocos2dx-example project and encountered the exact same compilation errors.
I've discovered that there are two identical header files named SkeletonRenderer.h, located in different directories. One is in the spine-cocos2dx\spine-cocos2dx\src\spine folder, and the other is in the spine-cpp\spine-cpp\include\spine folder. Both header files declare a SkeletonRenderer class, but their declarations are entirely different. This discrepancy has led to a significant issue in the spine-cocos2dx project where the subclass SkeletonAnimation of SkeletonRenderer mistakenly references the wrong base class, resulting in numerous compilation errors. Additionally, some of the compilation errors arise from the cocos2dx code itself. However, the project compiled successfully before the spine-runtimes were included. I also tried compiling the spine-cocos2dx-example project and encountered the exact same compilation errors.
Can anyone assist in resolving this issue?