Outils pour utilisateurs

Outils du site


tech:notes_lazarus

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:notes_lazarus [2026/04/21 23:18] Jean-Baptistetech:notes_lazarus [2026/04/28 18:36] (Version actuelle) Jean-Baptiste
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon Dev Pascal RAD}}
 +
 +# Notes Lazarus
 +
 +Voir : 
 +* https://doc.ubuntu-fr.org/lazarus
 +
 +Voir aussi :
 +* [[Notes Gambas|Gambas]]
 +* Pascal
 +* Delphi Community Edition
 +
 +
 +Exemple de projet :
 +* https://github.com/doublecmd/doublecmd/
 +
 +
 +## Installation
 +
 +~~~bash
 +apt-get install lazarus
 +
 +apt-file search /usr/share/fpcsrc/ |awk '{print $1}' |sort -u
 +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 : \\
 +"Restore Fppkg configuration" \\
 +/usr/lib/x86_64-linux-gnu/fpc
 +
 +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://wiki.freepascal.org/Cross_compiling
 +* https://github.com/ChrisWiGit/lazarus-docker
 +* /usr/lib/x86_64-linux-gnu/fpc/3.2.2/units/x86_64-linux
 +* https://encyclopedia.pub/entry/28093
 +
 +
 +`/usr/share/doc/fp-compiler/3.2.2/wince/testemu/win32-i386-win32-build.cmd`
 +~~~bash 
 +rem windres --preprocessor fprcp -v -i my.rc -o my.res
 +fpc -va  OPT="-gl -Xs -WC" -Twin32 -Pi386 -FE.\exe\ wcetemu.pp >i386-win32.log
 +pause
 +~~~
 +
 +~~~
 +Error: ppc386 can't be executed, error message: Failed to execute "ppc386", error code: 127
 +~~~
 +
 +~~~bash
 +# /usr/lib/i386-linux-gnu/fpc/3.2.2/ppc386
 +apt-get install fp-compiler-3.2.2:i386
 +~~~
 +
 +
 +
 +## Langages Pascal
 +
 +Voir : 
 +* https://wiki.freepascal.org/Basic_Pascal_Tutorial
 +
 +
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki