Skip to content

(EN) Installation

Uğur PARLAYAN edited this page Oct 21, 2019 · 3 revisions

Installation

Before installing this library, he wants to install the other libraries heard and introduce the library path to the IDE. Let's explain this page respectively.

Requirements and Obligations

This component package is available in Delphi XE6 and later. Sorry, we can't support older versions. At this point, Delphi's current Community Editions will surely meet your needs.

Dependencies

This library is dependent on the following libraries, so it must be established or promoted first.

You must introduce the folder paths of the following libraries to the IDE.

Download these libraries from the links below and open them in a folder on your computer where you have saved your libraries. Make a note of the paths to these folders. We will need this information at a later stage ...

https://github.com/graphics32/graphics32
https://github.com/graphics32/GR32PNG

You should install the following libraries in Delphi.

https://github.com/graphics32/graphics32

Preparing Dependencies

Introducing the library of Graphics32 and GR32PNG

Our goal is to introduce the Graphics32\Source, GR32PNG and Graphics32_RBC\Sources folders to the Delphi IDE. To do this, you must follow the steps below.

  1. Open Delphi
  2. From the Tools menu, open Options. In the Options window, switch to the Library page under the Delphi Options from the menu tree on the left. It should look similar to the following;

a1

  1. Press the 3-point button to the right of the Library Path line in the Directories Group.

a2

  1. Directories penceresindeki Greyed items denote invalid path. satırının sağındaki Klasör butonuna basın.

  2. Press the Folder button to the right of the Greyed items denote invalid path. line in the Directories window.

a3

  1. The Folder Selection window will appear. In this window, locate the sources subfolders in the folders you noted and press the Select Folder button. The window will close and switch to the previous window.

a4

  1. The ADD button in the Directories Window will be activated. (If the folder you selected is not in the list!)

a5

  1. Repeat steps 4 and 5 to add both the Graphics32\Sources, the GR32PNG, and the Graphics32_RBC\Sources folders to the list.

a6

  1. Press the OK button to close the Directories window.
  2. Press the OK button to close the Options window.

Installing the Graphics32 Library

To do so, follow the instructions in the link below;

https://graphics32.github.io/Docs/Installation.htm

Or, in summary, follow these steps; (I used the version for Delphi 10.2 as an example)

  1. Open the GR32_D.dproj file.
  2. Right-click the GR32 group project in the Project Manager window and choose Build All.

b1

  1. Project In the Manager window, right-click on the GR32 group project and choose Compile All.

b2

  1. Right-click the GR32_DRX2.bpl package in the Project Manager window and click the Install button.

b3

  1. From the File menu, issue the command Close All.

b4

The Graphics32 Library was installed if it did not display an error message. At this point, let's close Delphi and reopen it.


Installing the GR32PNG Library

No packages have been defined for the installation of this library. Therefore, it is sufficient to introduce the folder containing the source code to Delphi.

( Just follow the instructions described in Introducing the library of Graphics32 and GR32PNG )

Installing the Graphics32_RBC Library

After introducing Graphics32 installation and the path of the GR32PNG library to Delphi, follow the steps below. (In this example, I used Tokyo version 10.2 of Delphi as an example.)

  1. Unpack the Graphics32_RBC_XE10_2.dproj package in the Graphics32_RBC\Packages\XE102 folder in Delphi.

c1

  1. Right-click on the package name and choose Build All.

c2

  1. Right-click on the package name and command Compile All.

c3

  1. Right-click the package name and issue Install.

c4

  1. If you have not received an error during the installation of the package, the following information window should appear.

c5

At this point, let's close and reopen Delphi to ensure that the BPL file is reloaded into the IDE.

Recent Controls

If you followed all the instructions in order and there is no deficiency in your Delphi installation, you should see a tab in the Component Palette as follows.

d1

If you use the Tool Palette there should also be a group added as follows.

d2

I hope you will be satisfied using it. :)

Don't hesitate to share the screenshots of your projects with us, we're really curious about how you bring out the beauties. ;)