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

Facing Linker issues when using Binaries in 'C' #161

Open Madankumar90 opened 4 years ago

Madankumar90 commented 4 years ago

Hey There, I wanted to use SVM_predict functionality in my C code. So i used svm.h and svm-predict.c in my project and used the windows binaries libsvm.dll. As seen i did not find a .lib library in the windows folder. with the libsvm.dll, svm.def i am finding linker issues that is "fatal error LNK1104: cannot open file" . what am i doing wrong here, or is it a must to have a .lib library to link?? Checked both for 32 and 64 bit but same issue prevails.