void cvCalcPCA(CvArr* data, CvArr* mean, CvArr* eigenvals, CvArr* eigenvects, int flags) {
    void *fptr;

    fptr = dlsym(_Chcv_handle, "cvCalcPCA_chdl");
    if(fptr == NULL) {
        fprintf(_stderr, "Error: %s(): dlsym(): %s\n", __func__,  dlerror());
        return;
    }
    dlrunfun(fptr, NULL, cvCalcPCA, data, mean, eigenvals, eigenvects, flags);
}
