Skip to content

Commit

Permalink
add more info for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
zeyiwen committed Dec 26, 2019
1 parent 2546963 commit 92f0d96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ cmake .. -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE -DBUILD_SHARED_LIBS=TRUE -G "Vi
```
You need to change the Visual Studio version if you are using a different version of Visual Studio. Visual Studio can be downloaded from [this link](https://www.visualstudio.com/vs/). The above commands generate some Visual Studio project files, open the Visual Studio project to build ThunderSVM. Please note that CMake should be 3.4 or above for Windows.

After you execute `cmake .. -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE -DBUILD_SHARED_LIBS=TRUE -G "Visual Studio 14 2015 Win64"`, you can find a project "thundersvm.sln" under build directory. You can double click it to open it with Visual Studio. Then you should build the solution inside Visual Studio. You can refer to this [this link](https://docs.microsoft.com/en-us/visualstudio/ide/building-and-cleaning-projects-and-solutions-in-visual-studio?view=vs-2019). After you build the project, you should be able to use the python interface.

#### Working without GPUs<a name="withoutGPU"></a>
If you don't have GPUs, ThunderSVM can run purely on CPUs. The number of CPU cores to use can be specified by the ```-o``` option (e.g., ```-o 10```), and refer to [Parameters](http://thundersvm.readthedocs.io/en/latest/parameters.html) for more information.

Expand Down

0 comments on commit 92f0d96

Please sign in to comment.