Don’t modify any checked options during installation process. Let the self-installer create a shortcut on your desktop. Of course, if you have installed Free Pascal already you haven’t to download it again and you can skip step 4.Ĥ) Execute “fpc-2.2.4.i386-win32.exe” to install Free Pascal. Be sure it is the full installer (not headers only or demos only).ģ) Download the latest version of SDL runtime library, version 1.2.13 or higher. Softwareĭownload the latest stable Free Pascal compiler.ĭownload the latest version of JEDI-SDL package.ĭownload the latest stable runtime library of SDL.ġ) Download the latest stable Free Pascal compiler, version 2.2.4 or higher.Ģ) Download the latest version of JEDI-SDL, version 1.0 Final or higher. This table provides all information you need about the files you need to download with respect to installation steps 1) – 3). These units come from the JEDI-SDL Project (Joint Endeavor of Delphi Innovators – Simple Direct Media Layer Project). Furthermore we need the original SDL library files and finally we need something what translates our Pascal programs to the SDL library (written in C/C++). We need the Free Pascal compiler of course. We need three different software packages. Now this chapter concerns on the installation of all necessary software on your system for programming SDL applications with Free Pascal on Windows XP (probably this will work for other Windows systems as well please report if you tried out what about Vista?).įirst of all, we have to consider which software is needed. Which package of SDL units you want to install (MS Windows OS)? (If you want to contribute a configuration tutorial for Linux OS let me know you would be mentioned as author of course.) The further chapters (except chapter 1 and 1a) will work for Linux OS, too. LINUX USERS: The following description of the configuration is related to the MS Windows OS. This is also the package which is included in FPC nowadays. If you don’t know which to choose I recommend strongly to choose the package of the JEDI-SDL Project! It is more advanced and supports a greater variety of features. If you decide to do the manual installation there are two different unit packages which allow the development of SDL applications with the Free Pascal environment. If you already have installed Free Pascal (version 2.2.2 or later) just go on with Chapter 1a now. However, what you always HAVE TO consider is the download and copy of the corresponding DLL files described in the chapters. You don’t have to set individual pathes to the different unit files. Keep in mind though, many chapters assume you did the manual installation, so there are some envornment settings described you can skip. Before you accidently proceed reading the manual installation of the SDL units for the Free Pascal compiler (FPC) I’d like to express that since version 2.2.2 of FPC the pure, pre-compiled JEDI-SDL units are released along with the compiler so actually there is no need to install the SDL units manually anymore. Now something about the licensing: Both, Free Pascal and the SDL library are free and your created work can be used in commercial programs! The license of Free Pascal is: modified LGPL and the license of SDL: GNU LGPL.īy this the introduction to SDL is finished already. This finally allows even for three-dimensional games. SDL helps you to set up easily an SDL/OpenGL environment which allows for creation of 3d applications. Role-playing-, Real time/turn based strategy-, side-scrolling-, arcade-, board-, card-, simulation-, multi-user dungeon-, puzzle games and so on are possible. It’s especially meaningful to use the SDL library if you plan to develop two-dimensional games or similar software. The SDL library takes on the assignment to translate your commands to the specific OS commands. Linux, Windows, MacOS) only by learning one set of commands. SDL library gives you the ability to develop powerful applications for many different operating systems (OS, e.g. Unless you have good reasons to stay here you may prefer to go for the modern SDL 2.0 :-). SDL 1.2 is obsolete since it has been replaced by SDL 2.0.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |