-
Notifications
You must be signed in to change notification settings - Fork 24
How to install
Takuya Takeuchi edited this page Jan 12, 2020
·
2 revisions
You can install the following nuget packages.
-
NcnnDotNet
- For only CPU.
-
NcnnDotNet.GPU
- For computer installed GPU.
- Supports Intel, NVIDIA, AMD, Qualcomm, ARM and Apple GPUs.
- For computer installed GPU.
- Visual C++ 2017 Redistributable Package
- Vulkan SDK 1.1.92.1 for Windows
- Optional: Requires to use NcnnDotNet.GPU
- X11
- Ubuntu:
sudo apt-get install libx11-6
- Ubuntu:
- Vulkan SDK 1.1.92.1 for Linux
- Optional: Requires to use NcnnDotNet.GPU
- You must add installed path to environmental variables before build.
- export VULKAN_SDK=/usr/share/vulkan/1.1.92.1/x86_64
- X11
- Install from here
brew cask install xquartz
- Vulkan SDK 1.1.92.1 for OSX
- Optional: Requires to use NcnnDotNet.GPU
- You must add installed path to environmental variables before build.
- export VULKAN_SDK=/usr/local/share/vulkan/1.1.92.1/macOS/
PM> Install-Package NcnnDotNet
> dotnet add package NcnnDotNet