uricamic / clandmark

Open Source Landmarking Library
http://cmp.felk.cvut.cz/~uricamic/clandmark
GNU General Public License v3.0
199 stars 111 forks source link

matlab interface #72

Open huaian117 opened 7 years ago

huaian117 commented 7 years ago

when I run compile_mex, i met this problem

cimgmatlab.h(183) : error C2440: cannot convert “const size_t ”into“const cimg_library::CImg::mwSize

I use matlab 2016a and vc 2013

uricamic commented 7 years ago

Hi @huaian117,

sorry for a late answer.

Do you use the CImg library which is distributed with CLandmark or some other version?

akeba1 commented 7 years ago

I have also gotten this error, using Matlab 2016a, VC2012 & VC2015, using CImg distributed with CLandmark (1.5.6) as well as latest CImg (2.0.0_pre021317).

uricamic commented 7 years ago

Hi @akeba1,

could you try also with a different version of MATLAB? The newest version I have tried was 2015b and it works without any problems.

Also, could you please download the pre-compiled version and try it on MATLAB 2016a, if it works?

akeba1 commented 7 years ago

Unfortunately I don't have access to an older version of MATLAB, but I will try the pre-compiled version and let you know.

uricamic commented 7 years ago

Ok, thanks!