doc:appunti:linux:video:olive_editor_compile_debian_bookworm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:video:olive_editor_compile_debian_bookworm [2023/11/06 16:27] – niccolo | doc:appunti:linux:video:olive_editor_compile_debian_bookworm [2023/11/06 17:54] (current) – [Copying the binary file to another PC] niccolo | ||
---|---|---|---|
Line 3: | Line 3: | ||
You can download Olive Video Editor form the [[https:// | You can download Olive Video Editor form the [[https:// | ||
- | It turned out that **compiling the progrm from the sources** (the same GitHub commit) solved the problem. | + | It turned out that **compiling the progrm from the sources** (the same GitHub commit) solved the problem. So this is how I compiled **Olive Video Editor version 0.2**, GitHub commit **[[https:// |
- | How to compile Olive Video Editor version 0.2 | + | ===== Preparing the Debian 12 Bookworm ===== |
+ | |||
+ | I performed a clean **Debian 12 Bookworm** installation, | ||
+ | |||
+ | There are detailed instructions on how to **[[https:// | ||
<code bash> | <code bash> | ||
Line 37: | Line 41: | ||
libopencolorio-dev | libopencolorio-dev | ||
</ | </ | ||
+ | |||
+ | ===== Download the source code ===== | ||
+ | |||
+ | As the root user I created a directory to download the source code; I gave the permissions to execute the build process as a regular (non root) user: | ||
+ | |||
+ | < | ||
+ | mkdir -p / | ||
+ | chown niccolo: | ||
+ | </ | ||
+ | |||
+ | As a regular user you can download the source code from the GitHub repository. I decided to download the exact commit of the last available nightly build: | ||
+ | |||
+ | < | ||
+ | cd / | ||
+ | git clone --recursive https:// | ||
+ | cd olive/ | ||
+ | git checkout 55eedbfce909dfd7df97611a2eea1d1958385f9c | ||
+ | </ | ||
+ | |||
+ | The source configuration and compile is executed using the **cmake** procedures: | ||
+ | |||
+ | < | ||
+ | cd / | ||
+ | mkdir build | ||
+ | cd build | ||
+ | cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo | ||
+ | cmake --build . | ||
+ | </ | ||
+ | |||
+ | ===== Configuration warnings ===== | ||
+ | |||
+ | During the cmake configuration I got the following warning that I decided to ignore: | ||
+ | |||
+ | < | ||
+ | -- The following OPTIONAL packages have not been found: | ||
+ | |||
+ | * OpenTimelineIO | ||
+ | * GoogleCrashpad | ||
+ | </ | ||
+ | |||
+ | The **OpenTimelineIO** is a Python package that you can find here: **[[https:// | ||
+ | |||
+ | The **crashpad** is a C++ program available here: **[[https:// | ||
+ | |||
+ | ===== Copying the binary file to another PC ===== | ||
+ | |||
+ | At the end of the compile process you will find the binary file **olive-editor** into the directory **/ | ||
+ | |||
+ | I copied the file as **/ | ||
+ | |||
+ | You may have to install the dependencies manually: | ||
+ | |||
+ | <code bash> | ||
+ | apt install \ | ||
+ | libopencolorio2.1 \ | ||
+ | libopenimageio2.4 \ | ||
+ | libavfilter8 | ||
+ | </ | ||
+ | |||
+ | Check if all the dependecies are satisfied by executing: | ||
+ | |||
+ | <code bash> | ||
+ | ldd / | ||
+ | </ | ||
+ | |||
+ | Almost certainly more dependencies exists, check the official [[https:// | ||
+ | |||
+ |
doc/appunti/linux/video/olive_editor_compile_debian_bookworm.1699288062.txt.gz · Last modified: 2023/11/06 16:27 by niccolo