Book Image

Getting Started with Lazarus IDE

By : Roderick Person
1 (1)
Book Image

Getting Started with Lazarus IDE

1 (1)
By: Roderick Person

Overview of this book

A good integrated development environment can be the key to creating and delivering software on time and budget. Having a programming language and a development environment that runs on multiple platforms greatly eases and lessens the time taken on creating cross-platform applications. An IDE that is compatible with a legacy code base allows developers to leverage existing libraries in future applications."Getting Started with Lazarus" is a practical, hands-on guide that provides you with a number of clear step-by-step exercises, which will help you take advantage of the power of the Lazarus IDE and Free Pascal to develop software that can be created for cross-platform use."Getting started with Lazarus" discusses developing software with the open source cross platform integrated development environment and the Free Pascal language. We'll learn how to install Lazarus on various platforms such as Linux and Windows, as well as how to create new projects and convert existing Delphi projects to Lazarus projects by learning the differences between Delphi's Pascal syntax and Free Pascal's Object Pascal using a real world example project. We'll learn how to create custom components for use in Lazarus. We'll also learn the basics of documenting a Lazarus project using the Lazarus Documentation Editor. Finally we will learn that the IDE can be rebuilt using a different widget type, specifically GTK 2. Teach yourself the basics of programming with Lazarus and the open source IDE for the Free Pascal language.
Table of Contents (14 chapters)
Getting Started with the Lazarus IDE
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Installing under Windows


The Lazarus and Free Pascal binary packages for the Windows operating systems are available from the SourceForge.net repository at http://sourceforge.net/projects/lazarus/files/. The Windows installer packages include both Free Pascal and Lazarus in an easy-to-install package. Choose either the Lazarus Windows 32 bits or Lazarus Widows 64 bits subfolder depending on your OS version. Next choose the current version of the Lazarus subfolder, which at the time of writing is Lazarus 1.02. Click on the lazarus-1.0.2-fpc-2.6.0-win32.exe Windows installer package. For Windows 32-bit operating systems or for Windows 64-bit operating systems, click on lazarus-1.0.2-fpc-2.6.0-win64.exe.

If you intend to develop applications for WinCE using Lazarus, you will need to download the WinCE installer package, that is, lazarus-1.0.2-fpc-2.6.0-cross-arm-wince-win32.exe. There is no 64-bit version available.

Once you have the files downloaded, double-click on the executable file to start the installation process. The installation process, as with most Windows installers, is straightforward. Unless you have a need to change the defaults, just click Next through the installation wizard's dialogs. One dialog to note is the Select Components dialog (shown in the following screenshot), this dialog defaults to having all applicable file extensions, such as .pas, opened with the Lazarus IDE. If you also have Delphi installed, you may want to consider changing these options.