exercices:debut
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
exercices:debut [27/02/2019 08:35] – webmestre | exercices:debut [06/03/2020 15:29] (Version actuelle) – webmestre | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | Voici les données initiales pour réaliser les TP M3101. | ||
+ | |||
+ | * {{ : | ||
+ | * {{ : | ||
+ | |||
+ | Téléchargez l' | ||
+ | <code bash> | ||
+ | $ wget --user-agent=" | ||
+ | $ tar -xjf m4105c-src.tar.bz2 | ||
+ | $ tree m4105c-A-Dupond-Durand/ | ||
+ | </ | ||
+ | |||
+ | <WRAP center round important 60%> | ||
+ | Pensez dès maintenant à renommer votre répertoire en fonction des membres de votre binôme. | ||
+ | </ | ||
+ | |||
+ | |||
+ | <WRAP center round important 60%> | ||
+ | Dans les salles de l' | ||
+ | * il faut utiliser l' | ||
+ | * il faut copier la librairie pour votre système d' | ||
+ | </ | ||
+ | |||
+ | |||
+ | La structure de fichier que vous avez récupérer est la suivante | ||
+ | <code bash> | ||
+ | m4105c-A-Dupond-Durand/ | ||
+ | ├── build | ||
+ | │ | ||
+ | │ | ||
+ | ├── Makefile | ||
+ | └── src | ||
+ | ├── cpp | ||
+ | │ ├── misc | ||
+ | │ │ └── merciolMisc.cpp | ||
+ | │ ├── tp1 | ||
+ | │ │ ├── microPar.cpp | ||
+ | │ │ └── showCache.cpp | ||
+ | │ ├── tp2 | ||
+ | │ │ ├── imageFilter.cpp | ||
+ | │ │ └── imageStat.cpp | ||
+ | │ └── tree | ||
+ | │ | ||
+ | │ | ||
+ | │ | ||
+ | │ | ||
+ | └── include | ||
+ | ├── misc | ||
+ | │ ├── merciolChrono.hpp | ||
+ | │ ├── merciolChrono.tpp | ||
+ | │ ├── merciolDebug.hpp | ||
+ | │ ├── merciolDebug.tpp | ||
+ | │ ├── merciolGDAL.hpp | ||
+ | │ ├── merciolGDAL.tpp | ||
+ | │ ├── merciolGeo.hpp | ||
+ | │ ├── merciolGeo.tpp | ||
+ | │ ├── merciolOption.hpp | ||
+ | │ ├── merciolRaster.hpp | ||
+ | │ ├── merciolRaster.tpp | ||
+ | │ ├── merciolTest.hpp | ||
+ | │ └── merciolTest.tpp | ||
+ | ├── tp1 | ||
+ | │ └── merciolAnswer.hpp | ||
+ | └── tree | ||
+ | ├── merciolArea.hpp | ||
+ | ├── merciolArrayTree.hpp | ||
+ | ├── merciolArrayTree.tpp | ||
+ | ├── merciolGraphWalker.hpp | ||
+ | ├── merciolGraphWalker.tpp | ||
+ | ├── merciolLeader.hpp | ||
+ | ├── merciolLeader.tpp | ||
+ | ├── merciolTree.hpp | ||
+ | ├── merciolWeight.hpp | ||
+ | ├── merciolWeight.tpp | ||
+ | └── MonArbre.hpp | ||
+ | </ | ||
+ | |||
+ | |||
+ | {{ : | ||
+ | Nous ferons des tests avec une image de Nairobi que vous pouvez pointer sur votre disque en salle TP. | ||
+ | Cette image est accessible sur l' | ||
+ | |||
+ | <WRAP center round important 60%> | ||
+ | Pour ceux qui utilisent leur portable il faut ajouter des paquets avec la commande suivante : | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP clear></ | ||
+ | Voici un exemple d' | ||
+ | <code bash> | ||
+ | $ mv m4105c-A-Dupond-Durand/ | ||
+ | $ cd m4105c-X-Y-Z/ | ||
+ | $ make | ||
+ | $ tree build | ||
+ | $ build/ | ||
+ | </ | ||
+ | |||
+ | Exemple pour le TP2 : | ||
+ | <code bash> | ||
+ | $ mkdir data ws | ||
+ | $ ln -s / | ||
+ | $ cd ws | ||
+ | $ ../ | ||
+ | $ ../ | ||
+ | $ ../ | ||
+ | $ ../ | ||
+ | </ | ||
+ | |||
+ | Pour aller toujours plus loin... [[https:// | ||
+ | |||