Dependencies¶
To build and use BFT4Lin projects, the BitFlow Linux driver and SDK must first be built and operable on the PC. When the bitflow.ko driver module has been successfully built, and loaded with insmod, and the CIsimple example included with the SDK runs correctly, you are ready to start with BFT4Lin.
To purchase the BitFlow Linux driver and SDK, contact the BitFlow Sales Department.
For assistance building or configuring the driver or SDK, contact BitFlow Support.
Before building any BFT4Lin projects, the Qt 5 runtime and development files must be installed on the PC, as must several components of the Boost C++ libraries. It is possible to use essentially any version of Qt 5, but the version from the Ubuntu repositories (or the respective package service for the target distro) is generally the simplest to setup and get started with.
General¶
These dependencies are required to build most of the BFT4Lin packages, and may be installed from the Linux terminal on Ubuntu and other similar Debian based systems with the following command:
$ sudo apt install qt5-default libboost-thread-dev libboost-chrono-dev libboost-filesystem-dev libtiff5 libtiff5-dev
Note
For Ubuntu 22.04 and higher, the repository does not have qt5-default package.
You can get pre-built libraries by installing the qtbase5-dev.
$ sudo apt install qtbase5-dev qt5-qmake
To build Qt locally, see Install Qt5 on Ubuntu.
For more information regarding Boost, including alternate release downloads, see http://www.boost.org/.
QtCreator (optional)¶
To build using QtCreator, that application must first be installed, which may be done by executing:
$ sudo apt install qtcreator