README.TXT 3.81 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 6
Dépendences Linux
=================
installer les paquets suivants:  
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
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
	* BUILD_SHARED_LIBS  (F) experimental !  
	* WITH_ASSIMP        (?)  
	* WITH_ZINRI ->
	* WITH_QT	 -> afin de limiter les dépendances et le temps de compilation  
	* ONELIB	-> permet de forcer la compilation en une seule lib (libcgogn.a) au lieu de quatre.
Pierre Kraemer's avatar
Pierre Kraemer committed
46

Sylvain Thery's avatar
Sylvain Thery committed
47 48 49 50 51 52
	* 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
53 54


Sylvain Thery's avatar
Sylvain Thery committed
55 56
	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
57 58


Sylvain Thery's avatar
Sylvain Thery committed
59 60 61 62 63 64 65 66 67 68
* 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
69

Pierre Kraemer's avatar
Pierre Kraemer committed
70

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

Pierre Kraemer's avatar
Pierre Kraemer committed
74

Sylvain Thery's avatar
Sylvain Thery committed
75 76
ENGLISH VERSION
===============
Sylvain Thery's avatar
Sylvain Thery committed
77

Sylvain Thery's avatar
Sylvain Thery committed
78 79 80 81
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
82

Sylvain Thery's avatar
Sylvain Thery committed
83 84 85
To compile CGoGN
================
 * first compile third-party libraries:
Pierre Kraemer's avatar
Pierre Kraemer committed
86

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

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

Sylvain Thery's avatar
Sylvain Thery committed
97 98 99 100
	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
101

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

Sylvain Thery's avatar
Sylvain Thery committed
104 105 106
	cd CGoGN/build  
	cmake ..  
	make (-j x if you have x cores)  
Pierre Kraemer's avatar
Pierre Kraemer committed
107

Sylvain Thery's avatar
Sylvain Thery committed
108 109 110 111
	in debug mode:  
	cd ../buildDebug  
	cmake ..  
	make  
Sylvain Thery's avatar
Sylvain Thery committed
112

Sylvain Thery's avatar
Sylvain Thery committed
113
	Some options are available:
Sylvain Thery's avatar
Sylvain Thery committed
114

Sylvain Thery's avatar
Sylvain Thery committed
115 116 117 118 119 120
	* 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
121

Sylvain Thery's avatar
Sylvain Thery committed
122
* we can then compile SCHNApps and the provided plugins :
Pierre Kraemer's avatar
Pierre Kraemer committed
123
	
Sylvain Thery's avatar
Sylvain Thery committed
124 125 126
	cd CGoGN/SCHNApps/build  
	cmake ..  
	make (-j x if you have x cores)  
Sylvain Thery's avatar
Sylvain Thery committed
127

Sylvain Thery's avatar
Sylvain Thery committed
128
	in debug mode:
Sylvain Thery's avatar
Sylvain Thery committed
129 130 131
	cd ../buildDebug  
	cmake ..  
	make  
Sylvain Thery's avatar
Sylvain Thery committed
132 133 134 135

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
136

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