| Software | Version | Size, MB | Source | Description |
|---|---|---|---|---|
| Latest revision | depends | directly through SVN | How to get them will be described next! | |
| 1.4.7 | ~2 | http://tortoisesvn.net/ | Download the latest version of SVN client (except you already have such a client). | |
| 2.2.0 | ~38 | http://www.freepascal.org | Download the latest source files of the Freepascal compiler. Go to "Download" and scroll down to "Source". |
| 1) get the mentioned SVN client (TortoiseSVN) for Windows and install it |
| 2) create a directory where you want to have Lazarus installed later (e.g. C:\FPC\Lazarus) |
|
3) right-click on the new created lazarus folder and chose "SVN Checkout..."; you get the following window |
| 4) type in field URL of repository: "http://svn.freepascal.org/svn/lazarus/trunk" (without quotationmarks) as shown in the picture above; if you use a command line client (e.g. Subversion you have to type "svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus" (without quotationmarks)) |
| 5) click "OK" |
|
6) another window pops up called "trunk - SVN Checkout..."; now it will take some minutes; after all files got downloaded you receive a window similar to this: (you can go on reading while waiting) |
| 14) Download the latest source files of the Freepascal compiler (usually it doesn't matter if the version of the source files differ slightly from the version of actual compiler). |
| 15) Now extract the file. It doesn't matter where the source files are located but you may prefer a folder like "C:\FPC\2.2.0\source\". |
| 16) The extraction generates a folder "fpcbuild-2.2.0". The whole path should be "C:\FPC\2.2.0\source\fpcbuild-2.2.0\". |
|
17) Now run Lazarus and skip any error message. Go to "Environment" in the menu.
Choose "Environment options" from the tab. The following window should come up. |
| 18) The text field "Lazarus directory (default for all projects)" should be filled with your Lazarus path, if not do so. The text field "Compiler path (ppc386.exe)" should be filled with your Freepascal compiler path, if not do so. |
| 19) The text field "FPC source directory" is probably empty. The sources are needed for Lazarus to compile projects successfully. Fill in the path where you extracted the source files in step 15. If you followed my suggestion the correct path would be "C:\FPC\2.2.0\source\fpcbuild-2.2.0\fpcsrc\". Confirm by clicking "OK". |
| 20) If you haven't done any mistakes there shouldn't be any error anymore if you close and restart Lazarus. |
|
21) If you didn't install SDL manually you can skip steps 21 and 22, you are finished then! Now let's tell Lazarus where to find the JEDI-SDL units. Go to "Project" in menu.
Choose "Compiler Options..." from the tab. The following window should come up but without any entry in the text field "Other Unit Files (-Fu) (Delimiter is semicolon);". |
| 22) Enter the path to the JEDI-SDL units. If you installed JEDI-SDL as mentioned in Chapter 1 you should enter "C:\FPC\2.2.0\units\JEDI\SDL\Pas". Now you are ready to write Freepascal programs in Lazarus using JEDI-SDL. Note: The environment settings are saved for any project but the compiler settings (steps 20-22) are just related to the current project so you have to set the unit path to JEDI-SDL units separate for each project. |