tech:notes_lazarus
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 | ||
| tech:notes_lazarus [2026/04/26 22:15] – Jean-Baptiste | tech:notes_lazarus [2026/04/28 18:36] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # Notes Lazarus | ||
| + | |||
| + | Voir : | ||
| + | * https:// | ||
| + | |||
| + | Voir aussi : | ||
| + | * [[Notes Gambas|Gambas]] | ||
| + | * Pascal | ||
| + | * Delphi Community Edition | ||
| + | |||
| + | |||
| + | Exemple de projet : | ||
| + | * https:// | ||
| + | |||
| + | |||
| + | ## Installation | ||
| + | |||
| + | ~~~bash | ||
| + | apt-get install lazarus | ||
| + | |||
| + | apt-file search / | ||
| + | apt-get install fpc-source-3.2.2 | ||
| + | |||
| + | apt-cache search fppkg | ||
| + | apt-get install fp-units-misc | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ## Configuration | ||
| + | |||
| + | Juste après le premier lancement : \\ | ||
| + | " | ||
| + | / | ||
| + | |||
| + | Tools - Options... - Editor - Display - Colors \\ | ||
| + | Forground : Silver \\ | ||
| + | Background : Black | ||
| + | |||
| + | |||
| + | ## Compilation | ||
| + | |||
| + | ~~~bash | ||
| + | lazbuild --ws=qt6 project1.lpi | ||
| + | ~~~ | ||
| + | |||
| + | Fichiers utilisées : | ||
| + | * project1.lpi | ||
| + | * project1.ico | ||
| + | * project1.lpr | ||
| + | * unit1.pas | ||
| + | |||
| + | |||
| + | ### Notes crosscompilation | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
| + | * / | ||
| + | * https:// | ||
| + | |||
| + | |||
| + | `/ | ||
| + | ~~~bash | ||
| + | rem windres --preprocessor fprcp -v -i my.rc -o my.res | ||
| + | fpc -va OPT=" | ||
| + | pause | ||
| + | ~~~ | ||
| + | |||
| + | ~~~ | ||
| + | Error: ppc386 can't be executed, error message: Failed to execute " | ||
| + | ~~~ | ||
| + | |||
| + | ~~~bash | ||
| + | # / | ||
| + | apt-get install fp-compiler-3.2.2: | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | ## Langages Pascal | ||
| + | |||
| + | Voir : | ||
| + | * https:// | ||
| + | |||
| + | |||
| + | |||
