README.TXT 3.56 KB
Newer Older
Sylvain Thery's avatar
Sylvain Thery committed
1
English version bellow
Pierre Kraemer's avatar
Pierre Kraemer committed
2

Sylvain Thery's avatar
Sylvain Thery committed
3
4
5
Dépendences Linux
=================
installer les paquets suivants:  
Sylvain Thery's avatar
Sylvain Thery committed
6
cmake cmake-curses-gui cmake-qt-gui libXi-dev libXmu-dev libglew-dev libtinyxml2-dev libboost-all-dev zlib1g-dev qt4-designer qt4-dev-tools uuid-dev libgsl0-dev libsuitesparse-dev
Pierre Kraemer's avatar
Pierre Kraemer committed
7

Pierre Kraemer's avatar
Pierre Kraemer committed
8

Sylvain Thery's avatar
Sylvain Thery committed
9
10
Pour compiler CGoGN
===================
Pierre Kraemer's avatar
Pierre Kraemer committed
11

Sylvain Thery's avatar
Sylvain Thery committed
12
* on compile tout d'abord les bibliothèques third-party :
Sylvain Thery's avatar
Sylvain Thery committed
13

Sylvain Thery's avatar
Sylvain Thery committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cd CGoGN/ThirdParty/build  
cmake ..  
make (-j x si vous avez x cores)  
make install  

La même chose en debug:  
cd ../buildDebug  
cmake ..  
make (-j x si vous avez x cores)  

On peut fixer certaines option pour ne pas tout compiler:
	* WITH_ASSIMP  -> compile et utilise la librairie Assimp
	* WITH_ZINRI -> compile et utilise la librairie Zinri  
	* WITH_PYTHONQT	-> pour SCHNApps
Sylvain Thery's avatar
Sylvain Thery committed
28
	
Sylvain Thery's avatar
Sylvain Thery committed
29
30
31
32
* ensuite on compile CGoGN :  
	cd CGoGN/build  
	cmake ..  
	make (-j x si vous avez x cores)  
Pierre Kraemer's avatar
Pierre Kraemer committed
33

Sylvain Thery's avatar
Sylvain Thery committed
34
35
36
37
	Et en Debug avec:  
	cd ../buildDebug  
	cmake ..  
	make (-j x si vous avez x cores)  
Pierre Kraemer's avatar
Pierre Kraemer committed
38

Sylvain Thery's avatar
Sylvain Thery committed
39
    Certaines options sont disponibles :
Sylvain Thery's avatar
Sylvain Thery committed
40

Sylvain Thery's avatar
Sylvain Thery committed
41
42
43
44
45
46
	* BUILD_SHARED_LIBS -Q experimental !
	* ONELIB	-> compilation en une seule lib (libcgogn.a) au lieu de 4
	* WITH_ASSIMP  -> utilise Assimp (auto set par third party compil)
	* WITH_ZINRI -> utilise Zinri (auto set par third party compil)
	* WITH_QT	-> minimize les dependence si pas besoin de Qt (VRJuggler)
	* WITH_GLEWMX  -> pour utiliser GLEWMX a la place de GELW (pour VRJuggler)
Pierre Kraemer's avatar
Pierre Kraemer committed
47
48


Sylvain Thery's avatar
Sylvain Thery committed
49
50
	Les librairies sont generees dans lib/Release et lib/Debug  
	Les binaires sont generes dans bin/Release et bin/Debug
Sylvain Thery's avatar
Sylvain Thery committed
51
52


Sylvain Thery's avatar
Sylvain Thery committed
53
54
55
56
57
58
59
60
61
62
* on peut ensuite compiler SCHNApps ainsi que les plugins fournis :
	
	cd CGoGN/SCHNApps/build  
	cmake ..  
	make (-j x si vous avez x cores)  

	Et en Debug avec:  
	cd ../buildDebug  
	cmake ..  
	make (-j x si vous avez x cores)  
Sylvain Thery's avatar
Sylvain Thery committed
63

Pierre Kraemer's avatar
Pierre Kraemer committed
64

Pierre Kraemer's avatar
Pierre Kraemer committed
65
Des exemples de données (fichiers trianbgz, off, etc..) sont accessible à l'adresse suivante: 
Pierre Kraemer's avatar
Pierre Kraemer committed
66
https://iggservis.u-strasbg.fr/Data/data.zip
Sylvain Thery's avatar
Sylvain Thery committed
67

Pierre Kraemer's avatar
Pierre Kraemer committed
68

Sylvain Thery's avatar
Sylvain Thery committed
69
70
ENGLISH VERSION
===============
Sylvain Thery's avatar
Sylvain Thery committed
71

Sylvain Thery's avatar
Sylvain Thery committed
72
73
74
75
Linux dependencies
==================
install the following packages:  
cmake cmake-curses-gui cmake-qt-gui libXi-dev libXmu-dev libglew-dev libxml2-dev libboost-all-dev zlib1g-dev qt4-designer qt4-dev-tools uuid-dev libgsl0-dev libsuitesparse-dev
Pierre Kraemer's avatar
Pierre Kraemer committed
76

Sylvain Thery's avatar
Sylvain Thery committed
77
78
79
To compile CGoGN
================
 * first compile third-party libraries:
Pierre Kraemer's avatar
Pierre Kraemer committed
80

Sylvain Thery's avatar
Sylvain Thery committed
81
82
83
84
	cd CGoGN/ThirdParty/build  
	cmake ..  
	make (-j x if you have x cores)  
	make install  
Pierre Kraemer's avatar
Pierre Kraemer committed
85

Sylvain Thery's avatar
Sylvain Thery committed
86
87
88
89
	In debug mode:  
	cd ../buildDebug  
	cmake ..  
	make  
Sylvain Thery's avatar
Sylvain Thery committed
90

Sylvain Thery's avatar
Sylvain Thery committed
91
92
93
94
	Some options are available to not compile everything:
	* WITH_ASSIMP  -> compile and use Assimp library 
	* WITH_ZINRI -> compile and use Zinri library 
	* WITH_PYTHONQT	-> needed by SCHNApps
Pierre Kraemer's avatar
Pierre Kraemer committed
95

Sylvain Thery's avatar
Sylvain Thery committed
96
* then compile CGoGN (the libs are generated in CGoGN/lib and some examples in CGoGN/bin):
Pierre Kraemer's avatar
Pierre Kraemer committed
97

Sylvain Thery's avatar
Sylvain Thery committed
98
99
100
	cd CGoGN/build  
	cmake ..  
	make (-j x if you have x cores)  
Pierre Kraemer's avatar
Pierre Kraemer committed
101

Sylvain Thery's avatar
Sylvain Thery committed
102
103
104
105
	in debug mode:  
	cd ../buildDebug  
	cmake ..  
	make  
Sylvain Thery's avatar
Sylvain Thery committed
106

Sylvain Thery's avatar
Sylvain Thery committed
107
	Some options are available:
Sylvain Thery's avatar
Sylvain Thery committed
108

Sylvain Thery's avatar
Sylvain Thery committed
109
110
111
112
113
114
	* BUILD_SHARED_LIBS  (F) experimental !
	* ONELIB	-> allow compilation in one lib (libcgogn.a) instead of four.
	* WITH_ASSIMP  -> use Assimp library (auto setted by third party compiling)
	* WITH_ZINRI -> use Zinri library (auto setted by third party compiling)
	* WITH_QT	-> to minimize dependencies and compilation time
	* WITH_GLEWMX  -> to use GLEWMX (for VRJuggler users)
Sylvain Thery's avatar
Sylvain Thery committed
115

Sylvain Thery's avatar
Sylvain Thery committed
116
* we can then compile SCHNApps and the provided plugins :
Pierre Kraemer's avatar
Pierre Kraemer committed
117
	
Sylvain Thery's avatar
Sylvain Thery committed
118
119
120
	cd CGoGN/SCHNApps/build  
	cmake ..  
	make (-j x if you have x cores)  
Sylvain Thery's avatar
Sylvain Thery committed
121

Sylvain Thery's avatar
Sylvain Thery committed
122
	in debug mode:
Sylvain Thery's avatar
Sylvain Thery committed
123
124
125
	cd ../buildDebug  
	cmake ..  
	make  
Sylvain Thery's avatar
Sylvain Thery committed
126
127
128
129

Libraries are generated in lib/Release and lib/Debug
Binaries are generated in bin/Release and bin/Debug

Sylvain Thery's avatar
Sylvain Thery committed
130

Pierre Kraemer's avatar
Pierre Kraemer committed
131
Examples of data (trianbgz, off, etc.. files) are available at the following address:
Sylvain Thery's avatar
Sylvain Thery committed
132
https://iggservis.u-strasbg.fr/Data/data.zip