summaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: 151382af154e6979690673e1cd4b772216c2751f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Simple install procedure
========================

  $ tar xfz libuca-0.x.tar.gz
  $ cd libuca-0.x
  $ mkdir build
  $ cd build/
  $ cmake ..
  $ make

  [ Become root if necessary ]
  $ make install


Requirements
============

libuca requires CMake and pkg-config for building libraries and accompanying
tools. Information about CMake can be found at:

    http://www.cmake.org

and pkg-config at:

    http://www.freedesktop.org/software/pkgconfig

libuca depends on the GObject library for object oriented programming.
Information about this library can be found at:

    http://developers.gnome.org/gobject/stable

Each specific camera needs a camera SDK and/or a driver:

    - UFO camera: pcilib
    - pco.edge, pco.4000, pco.dimax cameras: SiliconSoftware menable IV driver
      and SDK as well as the libpco wrapper.

The control tools require Gtk+ GUI toolkit. Information is available at:

    http://developer.gnome.org/platform-overview/


Building the Library
====================

On Linux, libuca uses the CMake build system and pkg-config for dependency
detection. The normal procedure to build this library is to create an empty
build directory:

    $ mkdir build/ && cd build

configure the project using CMake:

    $ cmake ../

and compiling the library with make:

    $ make
    $ make install

Options to the build process can be passed to the system when configuring:

    $ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr

or via configuration tools like `ccmake`.