/xFSTK

xFSTK stitcher and downloader by Intel with patches from community

Primary LanguageC++

Install prerequisites:
$ sudo apt-get install g++ qtbase5-dev qtcreator build-essential devscripts libxml2-dev alien doxygen graphviz libusb-dev libboost-all-dev 

Install CMake. Ubuntu 20.04 has 3.16.3*

*note: Some repositories come with older versions of cmake. If that is the case, please build/install version cmake 2.8.12 or later
http://www.cmake.org/cmake/resources/software.html
Recommended version:
http://www.cmake.org/files/v2.8/cmake-2.8.12.2.tar.gz
View readme.txt in cmake tar.gz file for cmake build and install 

How To Build This Software:
$ mdkir build (in the extracted xfstk downloader directory)
$ cd build
$ export DISTRIBUTION_NAME=ubuntu20.04
$ export BUILD_VERSION=1.8.5
$ git checkout v$BUILD_VERSION
$ cmake .. 
(make sure that this was the cmake directory that was manually built and installed, i.e. /usr/local/bin/cmake ..)
$ make

For Debian based systems:

$ make package

Other optional targets are available.
Type `make help` (after cmake has been run) for a list. I.e:

$ make docs

Explanation:
1) Make a directory. I.E:
	$ mkdir temporary_directory
 Q: Why do I have to make a directory?
 A: This is to initiate an "out-of-source" build so no build clutter will be left in the source tree.
    If you want to clean up the build you can just delete temporary_directory
    (more information: http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees).

2) Change to the directory you just created. I.E:
	$ cd temporary_directory
3) Execute cmake. It's argument will be the path to the CMakeLists.txt file.
	$ cmake ..
4) Simply run the make command with optional arguments.
5) Build debian package xfstk-downloader-1.8.5.ubuntu20.04-amd64.deb that you can install using dpkg