README.TXT 2.99 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
	On peut fixer certaines option pour ne pas tout compiler (cf le README.TXT dans ThirdParty)
Pierre Kraemer's avatar
Pierre Kraemer committed
15
	On peut aussi compiler en debug en compilant dans un répertoire dont le nom finit par Debug ("buildDebug" par exemple)
Sylvain Thery's avatar
Sylvain Thery committed
16
	
Pierre Kraemer's avatar
Pierre Kraemer committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30
  - 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 sont disponibles :

	  BUILD_SHARED_LIBS  (F) experimental !
	  WITH_ASSIMP        (T)
	  WITH_NUMERICAL     (T)
	  WITH_ZINRI         (T)
	  WITH_QT	         (T)
	    -> afin de limiter les dépendances et le temps de compilation
31
	
Pierre Kraemer's avatar
Pierre Kraemer committed
32 33
	  FORCE_MR           (0)
	    -> permet de compiler dans 2 modes: mono-resolution(0), multi-resolution(1)
34
	
Pierre Kraemer's avatar
Pierre Kraemer committed
35 36
	  ONELIB             (F)
	    -> permet de forcer la compilation en une seule lib (libcgogn.a) au lieu de quatre.
Pierre Kraemer's avatar
Pierre Kraemer committed
37

Pierre Kraemer's avatar
Pierre Kraemer committed
38 39 40 41 42
  - 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
43 44


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

Pierre Kraemer's avatar
Pierre Kraemer committed
48

Sylvain Thery's avatar
Sylvain Thery committed
49 50 51 52 53 54
=========================================================================================
                                ENGLISH VERSION
=========================================================================================

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

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

Pierre Kraemer's avatar
Pierre Kraemer committed
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
  - 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)

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

Pierre Kraemer's avatar
Pierre Kraemer committed
76 77 78 79 80 81 82
	  BUILD_SHARED_LIBS  (F) experimental !
	  WITH_ASSIMP        (T)
	  WITH_NUMERICAL     (T)
	  WITH_ZINRI         (T)
	  WITH_QT	         (T)
	    -> to minimize dependencies and compilation time
	
83
	  FORCE_MR           (0)
Pierre Kraemer's avatar
Pierre Kraemer committed
84 85 86 87
	    -> allows the compilation in 2 modes: mono-resolution(0), multi-resolution(1)
	
	  ONELIB             (F)
	    -> allow compilation in one lib (libcgogn.a) instead of four.
Sylvain Thery's avatar
Sylvain Thery committed
88

Pierre Kraemer's avatar
Pierre Kraemer committed
89 90 91 92 93
  - 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
94 95


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