After all the compilation as suggesteed at the website, I got following error?
I followed all the instruction as written at the website but as I try to run matcaffe_demo I got ;
Invalid MEX-file '/media/retina18/Elements/Research/MyLibraries/machine_learning/caffe/matlab/caffe/caffe.mexa64': /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0: undefined symbol: FT_Face_GetCharVariantIndex
Is this a bug or do you have any solution or suggestion ?
This is because matlab has its own versions of libraries inside, which conflict with system libraries.
To look what libraries are conflicting you should compare !ldd caffe.mexa64 in matlab and ldd caffe.mexa64 in bash shell and provide them calling matlab with LD_PRELOAD, for example:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libfreetype.so.6 matlab
This particular line should solve your problem.
@szagoruyko - Thanks a ton. The tip helped me too. I think the issue can be closed now.