CvMatND* cvCreateMatND(int dims, int* sizes, int type) {
    void *fptr;
    CvMatND*retval;

    fptr = dlsym(_Chcv_handle, "cvCreateMatND_chdl");
    if(fptr == NULL) {
        fprintf(_stderr, "Error: %s(): dlsym(): %s\n", __func__,  dlerror());
        return NULL;
    }
    dlrunfun(fptr, &retval, cvCreateMatND, dims, sizes, type);
    return retval;
}
