Recent

Author Topic: libcairo-2.dll && LazReport  (Read 4192 times)

Sanchoyzer

  • Jr. Member
  • **
  • Posts: 65
libcairo-2.dll && LazReport
« on: April 26, 2015, 03:45:26 am »
Windows 7 x64.
1. I installed Lazarus 1.4 x32.
2. I installed LazReport, made a test project => all OK
3. I would like export to PDF from LazReport => I installed package "cairoexport"
4. After rebuild Lazarus I saw the message like "system error: ... libcairo-2.dll not found ... reinstall Lazarus". And Lazarus does not start.
5. I reinstalled Lazarus => all OK
6. I installed LazReport, rebuild Lazarus, saw the error message again :( Lazarus does not work.

vfclists

  • Hero Member
  • *****
  • Posts: 825
    • HowTos Considered Harmful?
Re: libcairo-2.dll && LazReport
« Reply #1 on: April 26, 2015, 05:07:42 am »
Windows 7 x64.
1. I installed Lazarus 1.4 x32.
2. I installed LazReport, made a test project => all OK
3. I would like export to PDF from LazReport => I installed package "cairoexport"
4. After rebuild Lazarus I saw the message like "system error: ... libcairo-2.dll not found ... reinstall Lazarus". And Lazarus does not start.
5. I reinstalled Lazarus => all OK
6. I installed LazReport, rebuild Lazarus, saw the error message again :( Lazarus does not work.

This means you don't have libcairo-2.dll installed on your system, or it is not in a location where it can be found.
Search for it on the internet, starting with the developers site,or install a program which bundles it, then copy it to where Lazarus can find it or in the appropriate system directories
Windows - Lazarus 1.0.8/FPC 2.6.0
Linux - Lazarus 1.4.4 /FPC 2.6.4

paweld

  • Full Member
  • ***
  • Posts: 187
Re: libcairo-2.dll && LazReport
« Reply #2 on: April 26, 2015, 08:23:49 am »
Download and unzip: http://paweld.it/libcairo_dll.7z
After unzip copy all dll's to main lazaruz folder.
Best regards
paweld

Sanchoyzer

  • Jr. Member
  • **
  • Posts: 65
Re: libcairo-2.dll && LazReport
« Reply #3 on: April 26, 2015, 08:49:01 am »
After unzip copy all dll's to main lazaruz folder.

Ok, it's work! But I'd like to be able to export to pdf without *.dll from the third side. How I can do it?

paweld

  • Full Member
  • ***
  • Posts: 187
Re: libcairo-2.dll && LazReport
« Reply #4 on: April 26, 2015, 10:10:25 am »
Then You must install component PowerPdf http://wiki.freepascal.org/PowerPDF
and pdfexport from lazreport\source\addons
Best regards
paweld

Sanchoyzer

  • Jr. Member
  • **
  • Posts: 65
Re: libcairo-2.dll && LazReport
« Reply #5 on: April 26, 2015, 03:19:47 pm »
Thank you