Forum > LazReport

Compilation error while installing lazreportpdfexport 0.9

(1/3) > >>

tintinux:
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 ?

paweld:
This component has always required PowerPDF (which is now obsolete).
You are probably referring to the lr_pdfexport 0.9 component, which does not require any external components (it uses the functionality built into FPC)

tintinux:
Thanks for the information !

I understand that I have to replace the package lazreportpdfexport by lr_pdfexport

But I can't find any documentation about the new package, let alone instruction for the migration.

The Lazreport documentation still refer only to lazreportpdfexport and PowerPdf



Thaddy:
fcl-pdf?

paweld:
Lazarus:- Main menu > packages > install / uninstall package - On the right side of the window, type in the search box: pdfexport
- select "lr_pdfexport 0.9"
- press "install package" button
- then "save and rebuild ide"

Navigation

[0] Message Index

[#] Next page

Go to full version