Skip to content

Commit 6461588

Browse files
committed
Updated linux installation doc.
1 parent 8bcfd84 commit 6461588

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Both plugin and sample can be built using CMake and any recent C/C++ compiler (g
1414
### ● FFmpeg plugin
1515
To build the plugin, go to the source directory and create a build directory where CMake configuration will be performed.
1616

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

1919
```
2020
mkdir build
@@ -24,6 +24,13 @@ cmake .. \
2424
-DCMAKE_INSTALL_PREFIX=<plugin install path>
2525
```
2626

27+
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`.
28+
```
29+
cmake .. \
30+
-DCMAKE_BUILD_TYPE=Release \
31+
-DCMAKE_INSTALL_PREFIX=<plugin install path>
32+
```
33+
2734
### ● Test program
2835
The sample program requires Harfang C++ SDK, Asset compiler (assetc) and the FFmpeg plugin (or any video stream plugin).
2936

0 commit comments

Comments
 (0)