Add support for builds on ubuntu
This commit is contained in:
18
README.md
18
README.md
@@ -2,22 +2,34 @@
|
||||
NewTek NDI Python wrapper
|
||||
|
||||
## Setup
|
||||
### Windows and mac
|
||||
### Windows, mac, ubuntu
|
||||
Donwload and install NDI SDK.
|
||||
https://ndi.tv/sdk/
|
||||
|
||||
### Arch Linux
|
||||
```
|
||||
yay ndi-sdk
|
||||
yay -S ndi-sdk
|
||||
```
|
||||
|
||||
## Clone and build
|
||||
## Clone
|
||||
```
|
||||
git clone https://github.com/buresu/ndi-python.git --recursive
|
||||
```
|
||||
|
||||
## Build
|
||||
```
|
||||
cd /path/to/build
|
||||
cmake /path/to/project
|
||||
cmake --build /path/to/build --config Release
|
||||
```
|
||||
|
||||
For ubuntu you need to set the SDK directory in NDI_SDK_DIR.
|
||||
And build as follows.
|
||||
```
|
||||
cmake /path/to/project -DNDI_SDK_DIR=/path/to/ndisdk
|
||||
cmake --build /path/to/build --config Release
|
||||
```
|
||||
|
||||
After build copy ndi-python binary and NDI binary to execute directory.
|
||||
Enjoy!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user