user@debian:~/Programy$ git clone
https://github.com/tolga9009/elgato-gchd.git
Cloning into 'elgato-gchd'...
remote: Enumerating objects: 1119, done.
remote: Total 1119 (delta 0), reused 0 (delta 0), pack-reused 1119
Receiving objects: 100% (1119/1119), 1.48 MiB | 2.06 MiB/s, done.
Resolving deltas: 100% (804/804), done.
user@debian:~/Programy$ cd elgato-gchd/
user@debian:~/Programy/elgato-gchd$ mkdir build
user@debian:~/Programy/elgato-gchd$ cd build/
user@debian:~/Programy/elgato-gchd/build$ cmake ..
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Checking for module 'libusb-1.0'
-- Found libusb-1.0, version 1.0.22
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/Programy/elgato-gchd/build
user@debian:~/Programy/elgato-gchd/build$ make
Scanning dependencies of target gchd
[ 4%] Building CXX object src/CMakeFiles/gchd.dir/disk.cpp.o
[ 8%] Building CXX object src/CMakeFiles/gchd.dir/fifo.cpp.o
[ 13%] Building CXX object src/CMakeFiles/gchd.dir/gchd.cpp.o
[ 17%] Building CXX object src/CMakeFiles/gchd.dir/main.cpp.o
[ 21%] Building CXX object src/CMakeFiles/gchd.dir/process.cpp.o
[ 26%] Building CXX object src/CMakeFiles/gchd.dir/socket.cpp.o
[ 30%] Building CXX object src/CMakeFiles/gchd.dir/streamer.cpp.o
[ 34%] Building CXX object src/CMakeFiles/gchd.dir/utility.cpp.o
[ 39%] Building CXX object src/CMakeFiles/gchd.dir/gchd/commands.cpp.o
[ 43%] Building CXX object src/CMakeFiles/gchd.dir/gchd/configure.cpp.o
[ 47%] Building CXX object src/CMakeFiles/gchd.dir/gchd/configure_component.cpp.o
[ 52%] Building CXX object src/CMakeFiles/gchd.dir/gchd/configure_composite.cpp.o
[ 56%] Building CXX object src/CMakeFiles/gchd.dir/gchd/configure_hdmi.cpp.o
[ 60%] Building CXX object src/CMakeFiles/gchd.dir/gchd/psi_data.cpp.o
[ 65%] Building CXX object src/CMakeFiles/gchd.dir/gchd/psi_descriptors.cpp.o
[ 69%] Building CXX object src/CMakeFiles/gchd.dir/gchd/psi_pat.cpp.o
/home/user/Programy/elgato-gchd/src/gchd/psi_pat.cpp: In member function ‘virtual void PAT_Entry::unpack(const std::vector<unsigned char>&, std::vector<unsigned char>::const_iterator&, int)’:
/home/user/Programy/elgato-gchd/src/gchd/psi_pat.cpp:57:39: warning: variable ‘endOfDataOffset’ set but not used [-Wunused-but-set-variable]
std::vector<uint8_t>::const_iterator endOfDataOffset=offset+size;
^~~~~~~~~~~~~~~
[ 73%] Building CXX object src/CMakeFiles/gchd.dir/gchd/psi_pmt.cpp.o
/home/user/Programy/elgato-gchd/src/gchd/psi_pmt.cpp: In member function ‘virtual void PMT_Mapping::unpack(const std::vector<unsigned char>&, std::vector<unsigned char>::const_iterator&, int)’:
/home/user/Programy/elgato-gchd/src/gchd/psi_pmt.cpp:80:39: warning: variable ‘endOfDataOffset’ set but not used [-Wunused-but-set-variable]
std::vector<uint8_t>::const_iterator endOfDataOffset=offset+size;
^~~~~~~~~~~~~~~
[ 78%] Building CXX object src/CMakeFiles/gchd.dir/gchd/psi_sit.cpp.o
[ 82%] Building CXX object src/CMakeFiles/gchd.dir/gchd/psi_syntax.cpp.o
[ 86%] Building CXX object src/CMakeFiles/gchd.dir/gchd/psi_table_header.cpp.o
[ 91%] Building CXX object src/CMakeFiles/gchd.dir/gchd/settings.cpp.o
[ 95%] Building CXX object src/CMakeFiles/gchd.dir/gchd/transcoder.cpp.o
[100%] Linking CXX executable gchd
[100%] Built target gchd
user@debian:~/Programy/elgato-gchd/build$ cd src
user@debian:~/Programy/elgato-gchd/build/src$ ls
CMakeFiles cmake_install.cmake gchd Makefile
user@debian:~/Programy/elgato-gchd/build/src$