README.TXT 2.82 KB
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1
2
*** english version below ***

Pierre Kraemer's avatar
Pierre Kraemer committed
3
4
Dépendences Linux:
installer les paquets suivants:
Sylvain Thery's avatar
Sylvain Thery committed
5
cmake 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
6
7

Pour compiler CGoGN:
Pierre Kraemer's avatar
Pierre Kraemer committed
8
9
10
11
12
13
14
15

  - on compile d'abord les bibliothèques annexes :

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

Sylvain Thery's avatar
Sylvain Thery committed
16
	On peut fixer certaines option pour ne pas tout compiler (cf le README.TXT dans ThirdParty)
Pierre Kraemer's avatar
Pierre Kraemer committed
17
18
19
20
21
22
23
24

  - 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)

	Certaines options (booléennes) sont ici aussi disponible:
Sylvain Thery's avatar
Sylvain Thery committed
25
26
27
28
29
	BUILD_SHARED_LIBS  (F) experimental !
	WITH_ASSIMP        (T)
	WITH_NUMERICAL     (T)
	WITH_ZINRI         (T)
	WITH_QT	           (T)
Pierre Kraemer's avatar
Pierre Kraemer committed
30
	afin de limiter les dépendances et le temps de compilation
31
	FORCE_MR           (2)
Pierre Kraemer's avatar
Pierre Kraemer committed
32
	permet de compiler dans 3 modes: mono-resolution (0), multi-resolution (1)
33
34
35
	ONELIB             (F)
	permet de forcer la compilation en une seule lib (libcgogn.a) au lieu de quatre.
	
Pierre Kraemer's avatar
Pierre Kraemer committed
36
  - on peut ensuite compiler SCHNApps ainsi que les plugins fournis :
Pierre Kraemer's avatar
Pierre Kraemer committed
37

Pierre Kraemer's avatar
Pierre Kraemer committed
38
39
40
	cd CGoGN/SCHNApps/build
	cmake ..
	make (-j x si vous avez x cores)
Pierre Kraemer's avatar
Pierre Kraemer committed
41
42
43


Des exemples de données:
Sylvain Thery's avatar
Sylvain Thery committed
44
- fichiers trianbgz, off, etc
Pierre Kraemer's avatar
Pierre Kraemer committed
45
46
sont accessible à l'adresse suivante: 
https://iggservis.u-strasbg.fr/Data/data.zip
Sylvain Thery's avatar
Sylvain Thery committed
47
48
49
50
51
52
53

=========================================================================================
                                ENGLISH VERSION
=========================================================================================

Linux dependencies:
install the following packages:
Sylvain Thery's avatar
Sylvain Thery committed
54
ccmake 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
55
56

To compile CGoGN:
Pierre Kraemer's avatar
Pierre Kraemer committed
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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

	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)

	Some options are available:
	BUILD_SHARED_LIBS  (F) experimental !
	WITH_ASSIMP        (T)
	WITH_NUMERICAL     (T)
	WITH_ZINRI         (T)
	WITH_QT	           (T)
	to minimize dependencies and compilation time
80
	FORCE_MR           (2)
Pierre Kraemer's avatar
Pierre Kraemer committed
81
	allows the compilation in 3 modes: mono-resolution (0), multi-resolution (1)
82
	ONELIB             (F)
Pierre Kraemer's avatar
Pierre Kraemer committed
83
	allowss to force the compilation in one lib (libcgogn.a) instead of four.
Sylvain Thery's avatar
Sylvain Thery committed
84

Pierre Kraemer's avatar
Pierre Kraemer committed
85
  - we can then compile SCHNApps and the provided plugins :
Sylvain Thery's avatar
Sylvain Thery committed
86

Pierre Kraemer's avatar
Pierre Kraemer committed
87
88
89
	cd CGoGN/SCHNApps/build
	cmake ..
	make (-j x if you have x cores)
Sylvain Thery's avatar
Sylvain Thery committed
90
91
92
93
94
95


Examples of data:
- Trianbgz files, off, etc.
are accessible at the following address:
https://iggservis.u-strasbg.fr/Data/data.zip