File: INSTALL.md

package info (click to toggle)
tupi 0.2%2Bgit04-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 33,780 kB
  • ctags: 8,094
  • sloc: cpp: 69,811; ruby: 1,021; xml: 786; sh: 124; makefile: 54
file content (74 lines) | stat: -rw-r--r-- 2,850 bytes parent folder | download
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
66
67
68
69
70
71
72
73
74
Note: Just for now, the Tupi project is only available for Unix systems. 
We hope to port it to many other platforms in the future. Meanwhile, the 
best way to try it is from any GNU/Linux distro (and FreeBSD or Unix-alike 
systems).

## Dependencies

The compilation process of any software usually requires a set of specific
tools previously installed in your system. Those additional components are 
called "dependencies".

In this case, before you start to compile Tupi, you must ensure to get 
installed the next list of dependencies in your computer:

* build-essential: All the C/C++ free compilers, libraries and utilities
  required to create a binary from any Unix-alike C/C++ source code (gcc,
  g++, cpp, make, etc)
* Qt: The full development toolkit used to create Tupi
* ruby: A script language used to do the configuration process previous 
  to the compilation
* libavcodec-dev: A subcomponent of the project ffmpeg, to deal with 
  video manipulation
* libavformat-dev: A subcomponent of the project ffmpeg, to deal with 
  video manipulation
* zlib-dev: A file-compression library
* quazip: A very handy API to deal with zip files
* qtmobility-dev: A useful Qt library to manage camera devices

For Ubuntu users (version 10.10) with some experience using the console, 
these are the commands they should run to install Tupi dependencies:

Open a terminal (from Aplications -> Accesories) and type:

    % sudo apt-get install build-essential    [Press enter]
    % sudo apt-get install ruby    [Press enter]
    % sudo apt-get install libavcodec-dev libavformat-dev    [Press enter]
    % udo apt-get install libqt4-gui qt4-qmake qt4-dev-tools    [Press enter]
    % sudo apt-get install zlib1g-dev    [Press enter]
    % sudo apt-get install libquazip0-dev    [Press enter]
    % sudo apt-get install qtmobility-dev    [Press enter]

Note: If you are not using Ubuntu, check for the equivalent packages for your
Linux distro

## Get the source code and compile it

Get the Tupi source code from our Download section
(http://www.maefloresta.com/portal/downloads). Then, 
run these commands:

    % tar xvfz tupi-XXX.tar.gz    [Press enter]
    % cd tupi-XXX    [Press enter]
    % ./configure --prefix=/usr/local/tupi    [Press enter]
    % make    [Press enter]
    % sudo make install    [Press enter]

Note: Only for advanced users, the configure script provides many options 
useful to set specific installation paths. Try "./configure --help" to get 
more information about it.

## Animation time!

Execute:
    /usr/local/tupi/bin/tupi &    [Press enter]

Or look for the launcher from Applications -> Graphics -> Tupi

And enjoy Tupi!

Note: Whether you find any error in this how-to or you want to share your own
installation notes with us, feel free to send us your documents.

Additional info: http://www.maefloresta.com