Lazarus

Programming => Packages and Libraries => Topic started by: af0815 on December 03, 2019, 09:40:19 pm

Title: fpreport: FPReportdesign error at compile
Post by: af0815 on December 03, 2019, 09:40:19 pm
I got the following error if i want to compile reportdesign or the package lclreport

Quote
Hint: (11030) Start of reading config file D:\data\lazdev\work64ft\fpc\bin\x86_64-win64\fpc.cfg
Hint: (11031) End of reading config file D:\data\lazdev\work64ft\fpc\bin\x86_64-win64\fpc.cfg
Free Pascal Compiler version 3.2.0-beta-r43633 [2019/12/03] for x86_64
Copyright (c) 1993-2018 by Florian Klaempfl and others
(1002) Target OS: Win64 for x64
(3104) Compiling lclfpreport.pas
(3104) Compiling lclfpreportbuild.pp
Fatal: (10024) Unit fpreportdom searched but fpreport found
Fatal: (1018) Compilation aborted
Error: D:\data\lazdev\work64ft\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode

I use FPC-fixes32 with fcl-report compiled and Lazarus (Lazarus 2.1.0 r62316M FPC 3.2.0 x86_64-win64-win32/win64)

It is an naked new installation without any other package installed

Title: Re: fpreport: FPReportdesign error at compile
Post by: af0815 on December 10, 2019, 09:48:06 pm
There is a difference between i386 and x86_64 (on win10_64). On the same naked Lazarus/fpc combination with i386 it compiles on x86_64 it does not.

fcl-report is always compiled in fpc. There must be a diffence in finding the fcl-packages.
Title: Re: fpreport: FPReportdesign error at compile
Post by: af0815 on December 25, 2019, 03:14:12 pm
i activated show debug infos and show unit infos ( while i am compiling redprortdesign.lpr) and see
Quote
(FPREPORTDB) (10048) Adding dependency: FPREPORTDB depends on DB
(FPREPORTDB) (10056) Finished loading unit FPREPORTDB
(LCLFPREPORTBUILD) (10048) Adding dependency: LCLFPREPORTBUILD depends on FPREPORTDB
(LCLFPREPORTBUILD) (10027) Load from LCLFPREPORTBUILD (interface) unit FPREPORTDOM
(FPREPORTDOM) (10055) Loading unit FPREPORTDOM
(FPREPORTDOM) (10002) PPU Name: /home/andi/data/lazdev/trunk/fpc/units/x86_64-linux/fcl-report/fpreport.ppu
(FPREPORTDOM) (10005) PPU Time: 2019/12/23 14:53:48
(FPREPORTDOM) (10003) PPU Flags: 4224
(FPREPORTDOM) (10004) PPU Crc: 083B0CC3
(FPREPORTDOM) (10004) PPU Crc: 50A62B54 (intfc)
(FPREPORTDOM) (10004) PPU Crc: 6196D615 (indc)
(FPREPORTDOM) Number of definitions: 3227
(FPREPORTDOM) Number of symbols: 10461
Fatal: (10024) Unit fpreportdom searched but fpreport found
Fatal: (1018) Compilation aborted
Error: /home/andi/data/lazdev/trunk/fpc/bin/x86_64-linux/ppcx64 returned an error exitcode
I did not understand why it is loading fpreport.ppu and not fpreportdom.ppu maybe a bug in x64 code ?

Edit: fpreportdom.ppu is not built
Title: Re: fpreport: FPReportdesign error at compile
Post by: julkas on December 25, 2019, 03:36:53 pm
@af0815 What is your project?
I use for reporting other production ready free, open source solutions.
Title: Re: fpreport: FPReportdesign error at compile
Post by: af0815 on December 25, 2019, 03:59:02 pm
@af0815 What is your project?
I use for reporting other production ready free, open source solutions.
my problem is to built fpreport on a 64bit system. i did not use any other system
Title: Re: fpreport: FPReportdesign error at compile
Post by: julkas on December 25, 2019, 04:10:19 pm
I use TIBCO for reports (if not embedded target project).
Title: Re: fpreport: FPReportdesign error at compile
Post by: af0815 on December 25, 2019, 04:31:10 pm
nice for you, but it doesnt help me
Title: Re: fpreport: FPReportdesign error at compile
Post by: Pascal on January 06, 2020, 09:19:43 pm
Did you try it lately? There was a change on 27.12. concerning fpreportdom.

I tried to build it from Lazarus on Win64 and it compiles.
Title: Re: fpreport: FPReportdesign error at compile
Post by: af0815 on January 06, 2020, 10:45:17 pm
The changes i know :-) because there are some discuss on the mailinglist and bugtracker, where i was active.
Now it compiles, after fpreportdom was removed.

This issue is removed and working.

But i found some other interesting things. But this is another story :-)