Hello - This is from the PRoNTo manual. I ran into this same issue and followed these instructions and was able to get it to work.
Microsoft Windows
Make sure you have a C++ compiler install. If not, you can install Microsoft Visual C/C++;
Copy the libsvm folder to the `machines' directory of your PRoNTo instalation
(e.g. C:\PRoNTo\machines\);
Open a DOS command window and change to the libsvm folder in the previous step (cd
C:\PRoNTo\machines\libsvm-3.17\). If the environment variables of VC++ have not
been set, run the following command:
C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat. This command
might be dierent, depending on the path of your Visual Studio installation;
In the libsvm folder run the command: nmake -f Makefile.win clean all
If no errors appear, open MATLAB;
Change to the `matlab' folder inside the libsvm folder (e.g. C:\PRoNTo\machines\libsvm-
3.17 \matlab\);
Run make in the MATLAB Command Window. If there are no errors, you have just
successfully compiled libsvm to be used with MATLAB.
Remember, if you want to use the version that you have just compiled, you have to add the
libsvm folder to your path in MATLAB. If you have more than one libsvm folder inside the
`machines' folder, please remove one of them from the MATLAB path. You should only have one
libsvm folder in your path.
Unix (Mac OS or Linux)
Make sure you have a C++ compiler installed. If you are using Mac OS, please install
`Xcode'. On Linux systems, you should already have `gcc' installed;
Copy the libsvm folder to the `machines' directory of your PRoNTo instalation
(e.g. /home/<username>/PRoNTo/machines/);
Open a terminal window and change to the `machines' directory: cd PRoNTo/machines/
Compile libsvm by running the following command: make
If no errors appear, open MATLAB;
Change to the `matlab' folder inside the libsvm folder (e.g. PRoNTo/machines/libsvm-
3.17/matlab/);
Run make in the MATLAB Command Window. If there are no errors, you have just
successfully compiled libsvm to be used with MATLAB.
Remember, if you want to use the version that you have just compiled, you have to add the
libsvm folder to your path in MATLAB. If you have more than one libsvm folder inside the
`machines' folder, please remove one of them from the MATLAB path. You should only have one
libsvm folder in your path.
