Compiling the Source Code

Problem I am trying to compile the source code of the SDL Component Suite. However, I am unable to succeed since the compiler requires an include file which is not part of the sources:
{$I ..\sharwinc\stringl_ct.inc}
How to solve this?
Solution The SDL Component Suite is offered for free in a Light Edition. This edition is limited and requires a few additional files to establish the restrictions. If you have bought the sources of the SDL Suite, you have to define the compiler switch PAIDVERS in order to be able to compile the sources.

In the case you try to compile the source from the IDE, open the project options, select the tab "Directories/Conditionals" and enter the string "PAIDVERS" into the "Conditional defines" text field.

If you are using the command line compiler "dcc32" you have to specify the conditional by using the -D parameter:

($DELPHI)/dcc32 -DPAIDVERS ....

Hint: Since the individual packages are partially depending on each other it is mandatory to follow a particular order of compilation: SDL_basepack, SDL_mathpack, SDL_guipack, SDL_geopack, SDL_chempack, SDL_chartpack

 


Last Update: 2010-05-28