Configuration and Building

Getting the code

To get the code, execute:

` git clone --recursive https://github.com/TheImagingSource/tiscamera.git `

This requires that git be installed.

Configuring

cmake options

cmake options

option

description

default

-DBUILD_ARAVIS

Build tiscamera with support for aravis devices.

OFF

-DBUILD_GST_1_0

Build gstreamer 1.0 plugins.

ON

-DBUILD_TOOLS

Build additional tools for camera interaction.

OFF

-DBUILD_V4L2

Build tiscamera with support for V4L2 devices.

ON

-DBUILD_LIBUSB

Build tiscamera with support for USB devices that that have no native driver.

ON

-DBUILD_DOCUMENTATION

Build html documentation. This requires Sphinx Version >= 1.4

OFF

-DBUILD_TESTS

Build unit/integration tests.

OFF

-DCMAKE_INSTALL_PREFIX

Installation target prefix

/usr

-DCMAKE_RELEASE_TYPE

Release type to be built. Set this to Debug to enable debug symbols.

Release

Installation Directories

This is a list of all installation directories used. All directories can be changed independently of each other when configuring the project with cmake. Paths may change when CMAKE_INSTALL_PREFIX is set.

Default Installation Directories

Name

Variable

Default Directory

Description

Binaries

TCAM_INSTALL_BIN

/usr/bin

Directory for executables

Libraries

TCAM_INSTALL_LIB

/usr/lib

Directory for libraries

Header

TCAM_INSTALL_INCLUDE

/usr/include

Directory for header

GStreamer

TCAM_INSTALL_GST_1_0

/usr/lib/x86_64-linux-gnu/gstreamer-1.0

This path may vary

Systemd Units

TCAM_INSTALL_SYSTEMD

/lib/systemd/system

Static Data

TCAM_INSTALL_IMAGE_DIR

/usr/share/tiscamera

UDev

TCAM_INSTALL_UDEV

/etc/udev/rules.d/

Directory for Udev

UVC Extensions

TCAM_INSTALL_UVC_EXTENSION

/usr/share/theimagingsource/tiscamera/

Pkgconfig Files

TCAM_INSTALL_PKGCONFIG

/usr/lib/pgkconfig

Desktop Files

TCAM_INSTALL_DESKTOP_FILES

/usr/share/applications