README.txt 2.06 KB
Newer Older
1
NextSoftware/VVCSoftware_VTM build howto:
2 3 4 5

The software uses cmake to create the needed build files. 
Download cmake: http://www.cmake.org/ and install it.

6 7 8 9
=================== Windows only =======================
Python and gnuwin32 are not mandatory, but they simplifiy the build process for the user.
python:    https://www.python.org/downloads/release/python-371/
gnuwin32:  https://sourceforge.net/projects/getgnuwin32/files/getgnuwin32/0.6.30/GetGnuWin32-0.6.3.exe/download
10

11 12 13 14 15 16 17 18 19 20 21
To use MinGW, install MSYS2:
http://repo.msys2.org/distrib/msys2-x86_64-latest.exe

Installation instructions:
https://www.msys2.org/

and install the needed toolchains.
pacman -S --needed base-devel mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain git subversion mingw-w64-i686-cmake mingw-w64-x86_64-cmake
========================================================

========= Build instructions for plain cmake ===========
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
Open a command prompt on your system and change into the root directory
of this project (location of README.txt).

Create a build directory in the root directory:
mkdir build 

After that use one of the following cmake commands. Feel free to change the 
commands to satisfy your needs.

Windows sample for Visual Studio 2015 64 Bit:
cd build
cmake .. -G "Visual Studio 14 2015 Win64"

Linux Release Makefile sample:
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release

Linux Debug Makefile sample:
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug

MACOSX Xcode sample:
cd build
cmake .. -G "Xcode"
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
========================================================

============= Build instructions for make ==============
remark:
If you installed python and gnuwin32 on Windows operating systems, 
you will be able to use make.

Open a command prompt on your system and change into the root directory
of this project (location of README.txt).

to use the default system compiler simply call:
make all

Using MSYS2 and MinGW:
Open an MSYS MinGW 64-Bit terminal and change into the root directory
of this project (location of README.txt).

Call:
make all toolset=gcc
========================================================