Skip to content

Commit

Permalink
Updated linux installation doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlockoS committed Mar 1, 2022
1 parent 8bcfd84 commit 6461588
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Both plugin and sample can be built using CMake and any recent C/C++ compiler (g
### ● FFmpeg plugin
To build the plugin, go to the source directory and create a build directory where CMake configuration will be performed.

On Windows, you must defined FFMPEG_ROOT. This variable contains the path to the FFMpeg libraries and header files.
On Windows, you must defined `FFMPEG_ROOT`. This variable contains the path to the FFmpeg libraries and header files.

```
mkdir build
Expand All @@ -24,6 +24,13 @@ cmake .. \
-DCMAKE_INSTALL_PREFIX=<plugin install path>
```

On Linux, do not forget to specify `CMAKE_BUILD_TYPE` or the install will fail. If FFmpeg was installed using the system package manager, there is no need to specify `FFMPEG_ROOT`.
```
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=<plugin install path>
```

### ● Test program
The sample program requires Harfang C++ SDK, Asset compiler (assetc) and the FFmpeg plugin (or any video stream plugin).

Expand Down

0 comments on commit 6461588

Please sign in to comment.