logo
small logo
  • Products
  • Buy
  • Support
  • About
  • Customer panel Support
    • en
    • de
    • JP
    • ZH
  • Home
  • /
  • Articles
  • /
  • Installing FastReport 4 for Lazarus
  • Web reports in Lazarus on Linux

    December 15, 2020

    Until recently, the task of generating reports through the Web from an application written in

    read more
  • Installing FastReport in Lazarus

    March 17, 2021

    This article is outdated. Updated information is available at the following link. As part of the

    read more
  • Installing FastReport in Lazarus for Linux and Windows

    August 18, 2022

    We are pleased to present you the long-awaited release of Lazarus version 2.2.0, in

    read more
  • How to create an interactive PDF form for HR interviews in Delphi and Lazarus

    December 14, 2020

    Someone might not know, but the PDF standard allows you to create fillable forms. That

    read more
  • Connecting a report to data from FastReport in Lazarus

    March 26, 2021

    In the previous article about working with charts and graphs, we were already familiar with

    read more

Installing FastReport 4 for Lazarus

July 1, 2013

Not so long ago we have added support of Lazarus IDE for FastReport 4 VCL (starts from Pro version, because Lazarus updates recently and require source codes for recompilation).

As it's still in the beta stage there is no any detailed instruction about its installation, yet. This basic article will explain how to install Fast Report 4 under lazarus and issues you may have.

First of all you need a FastReport 4 VCL (Pro version or above. Or you can try our trial version compiled under Lazarus 1.0.8) installation (you can use source only installation) and Lazarus IDE (with FPC) installed. After we have FastReport 4 VCL installed we can compile its packages using Lazarus.

Lets start from Win32 compilation:

Run Lazarus IDE (under win32 FastReport works with standard widgets set you don't need to do any additional recompilation).

In Lazarus IDE follow "Packages" -> "Open package (*.lpk)".

Installing packages 

Now you need to locate and install FastScript package (fs_lazarus.lpk) firts. If you use default paths when installed FastReport 4 VCL, then it will be located in "C:\Program Files\FastReports\FastReport 4\FastScript".

Here I should notice that our installation works with admin privileges and after installation you should check "Fast Report 4" folder and allow write access for current user or you may not be able to compile it.

Open fs_lazarus.lpk  package and select "Use" -> "Install". Lazarus should rebuild itself and add FastScript package.

Componet pallate 

After installed Fast Script package you can locate and install FastReport 4 package (fr4_lazarus.lpk). If you use default paths when installed FastReport 4 VCL, then it will be located in "C:\Program Files\FastReports\FastReport 4\Source".  

Open fr4_lazarus.lpk  package and select "Use" -> "Install". Lazarus should rebuild itself and add Fast Script package.

Note: After recompilation on this stage lazarus may not load and ask for zlib1.dll. This happens because FastReport 4 uses Zlib library. To fix this issue you need to download Zlib1.dll and place it where Lazarus.exe located.

Now you can use FastReport 4 under lazarus almost Identical to VCL version.

Designer 

Installing under linux: 

Installing FastReport 4 for Lazarus under linux(make sure you have at least 4.14.3 version for proper compilation) almost the same as for windows. First you need to copy "Fast Report 4\Source" and  "Fast Report 4\Fast Script"  directories to your linux system.

The next step willl be recompilation of the lazarus with Qt library (by default it uses gtk), because at this moment FastReport 4 works only under Qt. Run Lazarus IDE in menu "Tools" -> "Configure Lazarus build..." and select "LCL widget type" -> "Qt". Press build (you should install Qt system package first. It depends on OS you're using).

Laz Widgets 

 Lazarus about

After recompilation Lazarus ready to install FastReport packages.  In Lazarus IDE folow "Packages" -> "Open package (*.lpk)". Locate and install FastScript package (fs_lazarus.lpk)  and  FastReport 4 package (fr4_lazarus.lpk).

Now you can use Fast Report 4 under linux !

Fast Report 4 linux 

This produc is still in beta stage, so some functional may not work. At this moment there are no any export filter, but we're planning to add them later. Also TfrxMemoView.Font.Charset should be always in DEFAULT_CHARSET, there are no charset implementation yet. 

avatar
Den Zubov
VCL Development
Fast Reports Team: Den Zubov - VCL Development at Fast Reports
VCL Lazarus FastReport Linux
Comments
Stephane WIERZBICKI
3492 days ago
Excellent post ! I'm using Lazarus 1.10 and I was able to compile and install all packages (be sure to compile the package with the default OS/CPU configuration) I'm looking forward for updated fast-report version :) Thank you

Add comment
logo
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314
  • Buy
  • Download
  • Documentation
  • Testimonials
  • How to uninstall
  • FAQ
  • Tutorial Video
  • Forum
  • Articles
  • Our News
  • Press about us
  • Resellers
  • Extended licensing
  • Contact us

© 1998-2023 by Fast Reports Inc.

  • Privacy Policy