Coupure prévue mardi 3 Août au matin pour maintenance du serveur. Nous faisons au mieux pour que celle-ci soit la plus brève possible.

README.TXT 3.22 KB
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1
2
Dépendences Linux:
installer les paquets suivants:
Pierre Kraemer's avatar
Pierre Kraemer committed
3
cmake cmake-curses-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
4
5

Pour compiler CGoGN:
Pierre Kraemer's avatar
Pierre Kraemer committed
6

Pierre Kraemer's avatar
Pierre Kraemer committed
7
8
9
10
  - on compile tout d'abord les bibliothèques third-party :

	cd CGoGN/ThirdParty/build
	cmake ..
Pierre Kraemer's avatar
Pierre Kraemer committed
11
	make (-j x si vous avez x cores)
Pierre Kraemer's avatar
Pierre Kraemer committed
12
	make install
Pierre Kraemer's avatar
Pierre Kraemer committed
13

Sylvain Thery's avatar
Sylvain Thery committed
14
15
16
17
18
	La même chose en debug:
	cd ../buildDebug
	cmake ..
	make (-j x si vous avez x cores)

Sylvain Thery's avatar
Sylvain Thery committed
19
20
	On peut fixer certaines option pour ne pas tout compiler (cf le README.TXT dans ThirdParty)
	
Pierre Kraemer's avatar
Pierre Kraemer committed
21
22
23
24
25
26
  - ensuite on compile CGoGN (compile les libs dans CGoGN/lib et des exemples dans CGoGN/bin) :

	cd CGoGN/build
	cmake ..
	make (-j x si vous avez x cores)

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

Pierre Kraemer's avatar
Pierre Kraemer committed
32
33
34
35
36
    -> certaines options sont disponibles :

	  BUILD_SHARED_LIBS  (F) experimental !
	  WITH_ASSIMP        (T)
	  WITH_ZINRI         (T)
Sylvain Thery's avatar
Sylvain Thery committed
37
	  WITH_QT	     (T)
Pierre Kraemer's avatar
Pierre Kraemer committed
38
	    -> afin de limiter les dépendances et le temps de compilation
39
	
Pierre Kraemer's avatar
Pierre Kraemer committed
40
41
	  ONELIB             (F)
	    -> permet de forcer la compilation en une seule lib (libcgogn.a) au lieu de quatre.
Pierre Kraemer's avatar
Pierre Kraemer committed
42

Pierre Kraemer's avatar
Pierre Kraemer committed
43
44
45
46
47
  - on peut ensuite compiler SCHNApps ainsi que les plugins fournis :
	
	cd CGoGN/SCHNApps/build
	cmake ..
	make (-j x si vous avez x cores)
Pierre Kraemer's avatar
Pierre Kraemer committed
48

Sylvain Thery's avatar
Sylvain Thery committed
49
50
51
52
53
54
55
56
57
	Et en Debug avec:
	cd ../buildDebug
	cmake ..
	make (-j x si vous avez x cores)


Les librairies sont generees dans lib/Release et lib/Debug
Les binaires sont generes dans bin/Release et bin/Debug

Pierre Kraemer's avatar
Pierre Kraemer committed
58

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

Pierre Kraemer's avatar
Pierre Kraemer committed
62

Sylvain Thery's avatar
Sylvain Thery committed
63
64
65
66
67
68
=========================================================================================
                                ENGLISH VERSION
=========================================================================================

Linux dependencies:
install the following packages:
Sylvain Thery's avatar
Sylvain Thery committed
69
cmake cmake-curses-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
Sylvain Thery's avatar
Sylvain Thery committed
70
71

To compile CGoGN:
Pierre Kraemer's avatar
Pierre Kraemer committed
72

Pierre Kraemer's avatar
Pierre Kraemer committed
73
74
75
76
77
78
79
  - first compile third-party libraries:

	cd CGoGN/ThirdParty/build
	cmake ..
	make (-j x if you have x cores)
	make install

Sylvain Thery's avatar
Sylvain Thery committed
80
81
82
83
84
	In debug mode
	cd ../buildDebug
	cmake ..
	make 

Pierre Kraemer's avatar
Pierre Kraemer committed
85
86
87
88
89
90
91
92
	Some options are available to not compile everything (see the README.TXT in ThirdParty)

  - then compile CGoGN (the libs are generated in CGoGN/lib and some examples in CGoGN/bin):

	cd CGoGN/build
	cmake ..
	make (-j x if you have x cores)

Sylvain Thery's avatar
Sylvain Thery committed
93
94
95
96
97
	in debug mode:
	cd ../buildDebug
	cmake ..
	make

Pierre Kraemer's avatar
Pierre Kraemer committed
98
	-> some options are available:.
Sylvain Thery's avatar
Sylvain Thery committed
99

Pierre Kraemer's avatar
Pierre Kraemer committed
100
101
102
	  BUILD_SHARED_LIBS  (F) experimental !
	  WITH_ASSIMP        (T)
	  WITH_ZINRI         (T)
Sylvain Thery's avatar
Sylvain Thery committed
103
	  WITH_QT	     (T)
Pierre Kraemer's avatar
Pierre Kraemer committed
104
105
106
107
	    -> to minimize dependencies and compilation time
	
	  ONELIB             (F)
	    -> allow compilation in one lib (libcgogn.a) instead of four.
Sylvain Thery's avatar
Sylvain Thery committed
108

Pierre Kraemer's avatar
Pierre Kraemer committed
109
110
111
112
113
  - we can then compile SCHNApps and the provided plugins :
	
	cd CGoGN/SCHNApps/build
	cmake ..
	make (-j x if you have x cores)
Sylvain Thery's avatar
Sylvain Thery committed
114

Sylvain Thery's avatar
Sylvain Thery committed
115
116
117
118
119
120
121
122
	in debug mode:
	cd ../buildDebug
	cmake ..
	make 

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
123

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