need some help to fix error

hye guys,
i need some of you guys expert to help me fix this error.
i used kinect v1

the source code was found on github.

Untitled

use GetTriangles() and SetTriangles() instead