forked from lagadic/visp
-
Notifications
You must be signed in to change notification settings - Fork 2
/
INSTALL.txt
78 lines (56 loc) · 1.81 KB
/
INSTALL.txt
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
75
76
77
78
ViSP
Visual Servoing Platform
Copyright (C) 2005 - 2017 by Inria. All rights reserved.
https://visp.inria.fr
INSTALL howto for the ViSP library
QUICKINSTALL:
> get ViSP source
> install CMake (see http://www.cmake.org)
> cmake .
> make
> make install
The make install step is needed if you want to use ViSP in your own
projects. To do the installation, you don't need to be root.
Building ViSP with CMake
------------------------
Prerequsits:
(1) Install newest cmake release from http://www.cmake.org
(2) checkout/install ViSP source code.
(3) configure
run cmake to change options and to generate makefiles.
example for a build on Linux:
cd to source directory of ViSP
> cd ViSP
To configure and generate makefiles:
On Linux:
> ccmake . (mind the 'dot')
See the bottom line for usage instructions, in particular:
- press 'c', then modify options as required and press 'c' again to configure
- finally press 'g' to generate Makefiles
On Win32:
> CMakeSetup.exe
The GUI is self-explaining.
Note:
You can also use
> cmake .
directly if you prefer command line instead of graphical interface.
(4) compile:
> make
(5) install:
> make install
Copy headers in ${CMAKE_INSTALL_PREFIX}/include
Copy library in ${CMAKE_INSTALL_PREFIX}/lib
Copy visp-config shell script in ${CMAKE_INSTALL_PREFIX}/bin
(6) uninstall:
> make uninstall
Dual from install.
Remove headers in ${CMAKE_INSTALL_PREFIX}/include
Remove library and cmake files in ${CMAKE_INSTALL_PREFIX}/lib
Remove visp-config shell script in ${CMAKE_INSTALL_PREFIX}/bin
(7) clean:
> make clean
The "make clean" target will remove files generated by the compiler and linker.
(8) documentation
> make visp_doc
Generate doxygen html documentation in doc/html.
See README.txt for further information.