Felomeng Translation: libsvm2.88 generate a binary file in Windows (the binary file is usually called an EXE file, and the file can be executed)

Source: Internet
Author: User

The Windows binary file is in the "Windows" folder. You can use visual c ++ to make these files. The steps are as follows:

 

1. Open a DOS command window (or Visual Studio command prompt) and go to the libsvm folder. If you have not set the environment variables for VC ++, you can type "C:/program files/Microsoft Visual Studio 8.0/VC/bin/vcvars32.bat ".

 

You can change the preceding directory based on the VC ++ version and installation directory.

 

2. Type

 

Nmake-F makefile. Win clean all

 

3. (optional) generate the python interface, download and install python.

Open the makefile. Win file and set python_inc and python_lib to the python installation directory. Type

Nmake-F makefile. Win Python

Copy Windows/Python/svmc. PYD to the python folder.

 

You can also generate these files in the Visual C ++ environment. For more information, see the FAQ of the SVM toolkit ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.