Forum > LazReport

Compilation error while installing lazreportpdfexport 0.9

<< < (3/4) > >>

jesusr:

--- Quote from: tintinux on June 18, 2024, 12:34:50 pm ---Hi

I'm trying to install lazreportpdfexport using install/uninstall packages in Lazarus 3.4 (and FPC 3.2.2)

I have noticed that it requires now powerpdf 0.9.16 and it was installed (from lazarus-ccr).

There are compilation errors :

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Compile package pack_powerpdf 0.9.16: Success, Warnings: 9, Hints: 23[...]Report.pas(1348,5) Warning: Symbol "OffsetRect" is deprecated: "Use Types.OffsetRect instead"PReport.pas(1363,5) Warning: Symbol "OffsetRect" is deprecated: "Use Types.OffsetRect instead"PReport.pas(1559,5) Warning: Symbol "OffsetRect" is deprecated: "Use Types.OffsetRect instead"[...]Compile package lazreportpdfexport 0.9: Exit code 1, Errors: 2lr_e_pdf.pas(539,19) Error: identifier idents no member "SubType"lr_e_pdf.pas(540,26) Error: identifier idents no member "URI"Codetools, Errors: 1lr_e_pdf.pas(32,23) Error: unit not found: lr_rrect
Any ideas ?

--- End quote ---

A newer LazReport (Lazarus) version requires a newer version of PowerPDF, 0.9.16 release do not contain the needed changes.
PowerPDF 0.9.17 is now available in lazarus-ccr, that should work.

tintinux:

--- Quote from: jesusr ---PowerPDF 0.9.17 is now available in lazarus-ccr, that should work.
--- End quote ---

So, I downloaded and installed this package 0.9.17, but the first thing I see during installation is that is is still labelled 0.9.16...












paweld:
And did you also remove the references to the component in the object inspector (Project > Project inspector > Required packages > select "lazreportpdfexport" > Remove) and did you remove the "lr_e_pdf" entity from the uses section in the *.pas files?

tintinux:

--- Quote from: paweld ---did you also remove the references to the component in the object inspector (Project > Project inspector > Required packages > select "lazreportpdfexport" > Remove) and did you remove the "lr_e_pdf" entity from the uses section in the *.pas files?
--- End quote ---
Yes, I did !

jesusr:
Sorry, I screwed up. I will correct it later.
It should work OK anyway as it now include the needed changes and provided that you don't update Lazarus, because the new Lazarus version requires 0.9.17.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version