Afterwarp

Game Development and Applications in Delphi and FreePascal compilers.

 

Who's Online

We have 2 guests online
Lazarus Installation PDF Print E-mail
Thursday, 12 February 2009 05:05

Introduction

Asphyre Sphinx requires BDS 2006, Turbo Delphi, BDS 2007 or FPC/Lazarus. In this article the installation process is explained for FPC/Lazarus. Installation procedure for Delphi compilers is explained in separate article.

Preparation

The first step is to download the latest version of Asphyre Sphinx. Once this is done, unpack the archive to the local hard drive. Make sure that all folders within the archive are extracted. These at least should include \License, \Source and \Tools. If you have downloaded the complete package, \Examples folder will be also present.

Specify Path

Once the package has been extracted, an entry to Asphyre source code folder needs to be added. The easiest way to accomplish this is do add the path in Compiler Options for each individual project. Create or open existing Lazarus project go to [Project] - [Compiler Options]. Include the complete path to the unpacked \Source folder in "Other Unit Files", "Include Files", "Other Sources" and "Libraries" as illustrated on the screenshot below.

Image

Conclusion

If the above steps are performed well, Asphyre Sphinx is ready to be used. It is recommended to make sure that Lazarus project compiles and works before installing and using the framework.

Note: In order to load images from external files such as PNG and TIFF, you need to install Vampyre Imaging Library. Refer to the library documentation for the installation steps (usually found in \Doc\imaging.html). The installation is similar to the steps described above, entries to the library folders need to be added in Compiler Options menu.

Last Updated on Thursday, 12 February 2009 05:18