I'm trying to compile some of the sample code for the cpp run-time and I'm getting two errors on the following lines:
Sample code is from: http://esotericsoftware.com/spine-cpp
Errors are:
line: regionAttachment->computeWorldVertices(slot->getBone(), &vertices.buffer().x, 0, sizeof(Vertex));
error: member reference type 'Vertex *' is a pointer; did you mean to use '->'?
line: mesh->computeWorldVertices(slot, 0, numVertices, vertices.buffer(), 0, sizeof(Vertex));
error: no matching member function for call to 'computeWorldVertices'
I wonder is this is a situation of the sample code being out of date?
I'm compiling on Xcode 11 under c++11.