Recent

Author Topic: CustApp problem  (Read 1485 times)

Jacob48

  • Newbie
  • Posts: 5
CustApp problem
« on: September 15, 2022, 10:11:30 am »
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

  • Hero Member
  • *****
  • Posts: 4144
Re: CustApp problem
« Reply #1 on: September 15, 2022, 10:25:34 am »
What code are you attempting to compile?
What error message do you get?

Jacob48

  • Newbie
  • Posts: 5
Re: CustApp problem
« Reply #2 on: September 15, 2022, 01:23:45 pm »
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

  • Hero Member
  • *****
  • Posts: 4144
Re: CustApp problem
« Reply #3 on: September 15, 2022, 01:55:37 pm »
You may have a Delphi pascal compiler in your Path that is getting called instead of fpc.exe?

Jacob48

  • Newbie
  • Posts: 5
Re: CustApp problem
« Reply #4 on: September 15, 2022, 02:58:01 pm »
No, I did a clean Linux installation.

af0815

  • Hero Member
  • *****
  • Posts: 1284
Re: CustApp problem
« Reply #5 on: September 15, 2022, 07:12:17 pm »
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.
« Last Edit: September 15, 2022, 07:16:06 pm by af0815 »
regards
Andreas

Jacob48

  • Newbie
  • Posts: 5
Re: CustApp problem
« Reply #6 on: September 15, 2022, 10:45:26 pm »
No, from the Lazarus site. Could that be the bottleneck?
« Last Edit: September 15, 2022, 10:47:00 pm by Jacob48 »

af0815

  • Hero Member
  • *****
  • Posts: 1284
Re: CustApp problem
« Reply #7 on: September 16, 2022, 11:30:03 am »
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. 
regards
Andreas

Jacob48

  • Newbie
  • Posts: 5
Re: CustApp problem
« Reply #8 on: September 16, 2022, 02:57:15 pm »
Ok, then I'm going to try fpcupdeluxe.
Thank you so far.

Jac

 

TinyPortal © 2005-2018