CustApp problem lazarus / 1-Linux ---------------------------------------------------------------------- Jacob48 · 2022-09-15 08:11 Good morning, I switched from Windows to Linux Mint (20) and since I am an avid Delphi user I have of course installed Lazarus. Everything looks fine but compiling stops with a CustApp problem. I have looked for a solution everywhere, but although the problem is often mentioned, no good, clear solution is given anywhere. I installed: fpc-laz_3.2.2-210709_amd64.deb fpc-src_3.2.2-210709_amd64.deb lazarus-project_2.2.2-0_amd64.deb Can anyone help me out? Jac ---------------------------------------------------------------------- howardpc · 2022-09-15 08:25 What code are you attempting to compile? What error message do you get? ---------------------------------------------------------------------- Jacob48 · 2022-09-15 11:23 Compile Project, Target: lib/x86_64-linux/Diakrieten: Exit code 1, Errors: 1 forms.pp(36,44) Fatal: Cannot find CustApp used by Forms of package LCLBase. ---------------------------------------------------------------------- howardpc · 2022-09-15 11:55 You may have a Delphi pascal compiler in your Path that is getting called instead of fpc.exe? ---------------------------------------------------------------------- Jacob48 · 2022-09-15 12:58 No, I did a clean Linux installation. ---------------------------------------------------------------------- af0815 · 2022-09-15 17:12 Something goes wrong with your fpc, because CustApp is in fpcsrc/packages/fcl-base/src/custapp.pp . So it is normal included in a standard installation of fpc. Are this packages from the mint install-system ? Because the date i more than one year ago. ---------------------------------------------------------------------- Jacob48 · 2022-09-15 20:45 No, from the Lazarus site. Could that be the bottleneck? ---------------------------------------------------------------------- af0815 · 2022-09-16 09:30 I use fpcupdeluxe for install fpc/lazarus (=from Source) so i have no knowledge with the packages. But one is definitive - your installation of fpc is corrupted or you have a problem with your Lazarus configuration. You can test this, if you say Lazarus should compile itself. Menu Tools->Configure "Build Lazarus" use Profile "Normal IDE" Check "Clean all" and Switch after building to automatically and say Build. This rebuild Lazarus with all known packages. If This works, the installation/configuration of fpc and Lazarus is ok. ---------------------------------------------------------------------- Jacob48 · 2022-09-16 12:57 Ok, then I'm going to try fpcupdeluxe. Thank you so far. Jac