-
Notifications
You must be signed in to change notification settings - Fork 136
Tutorial for MacOS
Takuya Takeuchi edited this page Apr 20, 2020
·
7 revisions
- dlib
-
CMake
- 3.0 or higher
- If you do not want to add CMake path to environment variable, you must type fullpath of CMake when build library.
-
PowerShell Core
- 6.2 or higher
- .NET Core 2.0
- (Optional for using MKL) Intel Math Kernel Library
git clone https://github.com/takuya-takeuchi/DlibDotNet
cd DlibDotNet
./Initialize.sh
- Please refer About X11 for Mac
You need to launch XQuarts when use GUI functions of DlibDotNet
- Open DlibDotNet/src/DlibDotNet.Native in console
- Type the following code in a console:
$ pwsh Build.ps1 <Release/Debug> <cpu/mkl> <32/64> <desktop>
- Install Intel Math Kernel Library if you want to use Intel MKL
- libDlibDotNetNative.dylib will be in build_*\Release or build_*\Debug
- Open DlibDotNet/src/DlibDotNet.Native.Dnn in console
- Type the following code in a console:
$ pwsh Build.ps1 <Release/Debug> <cpu/mkl> <32/64> <desktop>
- Install Intel Math Kernel Library if you want to use Intel MKL
- libDlibDotNetNativeDnn.dylib will be in build_*\Release or build_*\Debug
- Install .NET Core 2.0 by following the official page
- Open DlibDotNet/src/DlibDotNet in console
- Type the following code in a console:
dotnet build -c <Release/Debug>