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

Summary


In this chapter we learned that Lazarus is an open source integrated development environment for the Free Pascal language that is similar to Delphi. Lazarus contains the LCL, which is its version of Delphi's VCL. Lazarus can be used to create console as well as GUI applications. Because of its similarities to Delphi, it can be used as a replacement for Delphi.

Lazarus can be installed on Linux platforms either by using the package management tool of the specific Linux distribution or by installing it from the binary or source files located on the SourceForge.net repository.

Lazarus can also be installed on the Windows platforms, either 32-bit, or 64-bit using the packages available on the SourceForge.net repository.

There are also .dmg package files available at SourceForge.net for installing Lazarus on Mac OS.

The FreeBSD project makes Lazarus available through its ports system. There are 91 separate packages related to Lazarus and Free Pascal. There is also a meta package that will install all the separate packages or a subset thereof.

We learned how to set up the IDE options for the FPC source folder and the GNU debugger.

With the successful installation and updating of the settings, we now have a basic Lazarus development environment. We are ready to take on programming with Free Pascal and Lazarus, but first let's take some time to familiarize ourselves with the Lazarus IDE.