cjlin1 / libsvm

LIBSVM -- A Library for Support Vector Machines
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
BSD 3-Clause "New" or "Revised" License
4.54k stars 1.64k forks source link

There is no mex.h #108

Open racoci opened 6 years ago

racoci commented 6 years ago

https://github.com/cjlin1/libsvm/blob/88a1881f03ca139beff93170d7e6f36477fabe54/matlab/svm_model_matlab.c#L5

caitaozhan commented 5 years ago

I met this problem.

I solved this by installing Xcode (MacBook Pro), then in Matlab prompt, run "mex -setup" and "make".