Skip to content
Christian edited this page Mar 27, 2017 · 41 revisions

If you want to compile YUView from source, here is a short how-to. We use qmake for the project so there is actually not much to consider when compiling the sources. Qt should take care of everything necessary to generate the executable. However, here is a short introduction for the supported platforms:

Supported Compilers

We have built and tested YUView using Qt 5.6 and Qt 5.8 with the following compilers:

  • VC2013, VC2015
  • GCC Version 5.4.0 (including MinGW-x64)
  • Clang Version 6.0

Windows

On windows you will have to install Qt and a compiler. We use the Visual Studio compiler and MinGW. Both should work. If you installed this you can just compile the YUView.pro file using qmake. You can also open the YUView.pro file in the QtCreator. Here you will have to configure the project to use a compiler (Qt should auto detect the Visual Studio and MinGW compilers) and hit the build button.

Linux

On Linux systems compiling is similarly easy. You have to install Qt and a compiler. Most Linux distributions ship with the gcc compiler so there is no need to install a compiler. After this you can use qmake or the QtCreator to build YUView. On the command line you can just use qmake and then make. Using the creator, just open the YUView.pro file, configure the project to use a compiler (Qt should auto detect gcc) and hit the build button.
Additionally you can install the program running sudo make install. This will also install a desktop entry.

If you get the error "cannot find -lGL" the openGL libraries were not found. These libraries are required by Qt. You will have to install these for your linux distribution. However, the libGL might already be on your system, but the compiler could just not find it. You can try locate libGL to see if the library is already installed. If yes, you can just link it to a library search path like /usr/lib. For example on Ubuntu 15.4 this works:

sudo ln -s /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so

Ubuntu

On Ubuntu you can directly install YUView from a ppa. Just open a terminal and execute the following commands:
sudo add-apt-repository ppa:schneider-p/ppa-ient
sudo apt-get update
sudo apt-get install yuview
Note that those commands will install the player to /usr/bin and create a desktop entry. The package does not contain the libde265. So if you want to decode hevc streams within YUView, you have install it separately.
sudo apt-get install libde265-internals
You could also copy the precompiled libde265-internals from this repository to a location where YUView can find it. A good place would be /usr/lib or your favorite YUView startup directory.
If the package from the ppa is outdated you will be notified by YUView at startup.

Arch

For Arch linux there is a package available in the AUR. Simply follow this link
YUView Arch Linux
and install the package by hand or via an AUR-helper.
If the package from the AUR is outdated you will be notified by YUView at startup.