hello. i'm first at spine, and i will use the Spine in my first 2D game. first, im not goot at english. so sorry about my english.
i have problem in spine-c runtime example(main.c).
my environment : visual studio 2010 c++ express
problem :
when i build the spine-c runtime project with example source(main.c), then copiler show me a error about pointer access.
the error has detected in spSkeleton_create function.
spSkeleton* spSkeleton_create (spSkeletonData* data) {
int i, ii;
spSkeleton* self = NEW(spSkeleton);
CONST_CAST(spSkeletonData*, self->data) = data;
self->boneCount = self->data->boneCount;
self->bones = MALLOC(spBone*, self->boneCount);
i debugged(F5) it.
when self->boneCount is executed, i saw 0x000005 error detected massage.
i think the parameter "data/spineboy.atlas" is not delivered well.
]spAtlas* atlas = spAtlas_readAtlasFile("data/spineboy.atlas");
spSkeletonData *skeletonData = spSkeletonJson_readSkeletonDataFile(json, "data/spineboy.atlas");
what should i do for build the spine-c example(main.c) well.