-
Notifications
You must be signed in to change notification settings - Fork 0
Tutorial for Linux
Takuya Takeuchi edited this page May 4, 2018
·
2 revisions
-
LIBLINEAR
- 2.00
- Compiler
- .NET Core 2.0
- Change to liblinear directory
- Type the following code in a console:
gcc -shared -fPIC linear.cpp -o liblinear.so
Or
g++ -shared -fPIC linear.cpp -o liblinear.so
Or
clang -shared -fPIC linear.cpp -o liblinear.so
After this, liblinear.so will be generated in liblinear.
- Install .NET Core 2.0 by following the official page
- Open LibLinearDotNet\src\LibLinearDotNet in console
- Type the following code in a console:
dotnet restore
dotnet msbuild /p:DefineConstants=LINUX /p:Configuration=Release
Or
dotnet restore
dotnet msbuild /p:DefineConstants=LINUX /p:Configuration=Debug