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

Conversion methods


Delphi projects can be converted either manually or using the Delphi Converter wizard in Lazarus. Before beginning the conversion process, we need to note some considerations and information.

Filenames and extension

Filenames are case-sensitive on some file systems. When converting Delphi filenames, you should make your filename lowercase to avoid File Not Found error messages.

Lazarus and Delphi use different file extensions for corresponding units. The following table shows the correlation between the different file extension types:

Delphi

Description

Lazarus

Description

.pas

Delphi source file

.pas, .pp

Pascal unit file

.dfm

Delphi form

.lfm

Form data file

.dcu

Delphi compiled unit

.o, .ppu

Compiled unit

.dpr

Delphi project

.lpr

Project file

.res

Windows resource file

N/A

 

.dof

Delphi option file

N/A

 
  

.lrs

Lazarus resource file

  

.lpi

Lazarus project information

  

.ppu

FPC unit description file

Semantic and syntax...