Recent

Author Topic: How to install fpreport?  (Read 646 times)

aducom

  • Full Member
  • ***
  • Posts: 126
    • http://www.aducom.com
How to install fpreport?
« on: December 24, 2019, 10:45:54 pm »
I tried to get fpreport installed. I tried to install from the component library but I get a compile error on the fpreport in the uses section that it is not found. Also tried to install it from fpcupdeluxe but it fails also with the same message:
D:\fpcupdeluxe\lazarus\components\fpreport\cfgfpreportimageexport.pp(24,42) Fatal: (10022) Can't find unit fpreport used by cfgfpreportimageexport

Am I missing something?

af0815

  • Sr. Member
  • ****
  • Posts: 461
Re: How to install fpreport?
« Reply #1 on: December 25, 2019, 11:58:41 am »
Actual ther ars some issue with fpreport. Only fixed in trunk.

One working soloution is win32 Laz 20 fixes with fpc32 fixes. in 64 it was/is not aktivated in fpc. So Lazarus cannot found the needed ppu's. you can look if you find a director fcl-fpreport with the needed ppu's. if it is missing, fpc was not compiled with fpreport.
« Last Edit: December 25, 2019, 12:00:47 pm by af0815 »
regards
Andreas

julkas

  • Hero Member
  • *****
  • Posts: 538
  • KISS principle / Lazarus 2.0.6 / FPC 3.0.4
Re: How to install fpreport?
« Reply #2 on: December 25, 2019, 12:10:18 pm »
What is your application requirements ?
procedure mulu64(a, b: QWORD; out clo, chi: QWORD); assembler;
asm
  mov rax, a
  mov rdx, b
  mul rdx
  mov [clo], rax
  mov [chi], rdx
end;

af0815

  • Sr. Member
  • ****
  • Posts: 461
Re: How to install fpreport?
« Reply #3 on: December 25, 2019, 04:00:48 pm »
my target : to get fpreport working
regards
Andreas

aducom

  • Full Member
  • ***
  • Posts: 126
    • http://www.aducom.com
Re: How to install fpreport?
« Reply #4 on: December 26, 2019, 10:25:03 am »
I don't understand. Not activated? You mean that the ppu should be part of the Lazarus install? I'm running 64bits, so it looks like the requirements are not there.

af0815

  • Sr. Member
  • ****
  • Posts: 461
Re: How to install fpreport?
« Reply #5 on: December 26, 2019, 01:00:28 pm »
I don't understand. Not activated? You mean that the ppu should be part of the Lazarus install? I'm running 64bits, so it looks like the requirements are not there.
fpreport is a part of FPC not Lazarus. So the packagemenagement of FPC is responsible. To test if your installation is working with a 64 bit installtion of Lazarus/FPC, install lazarus\components\fpreport\design\lazfpreportdesign.lpk and  open lazarus\components\fpreport\design\reportdesign.lpr and try to compile for 64 bit Lazarus.

With win32 Lazarus/FPC it works out of the box. On a 64 bit installation of FPC some units are not compiled/installed (the ppu's are missing).
 
regards
Andreas

aducom

  • Full Member
  • ***
  • Posts: 126
    • http://www.aducom.com
Re: How to install fpreport?
« Reply #6 on: December 26, 2019, 07:46:31 pm »
Ah. Compiling fails unfortunately. Will try to find the missing file.