![]() If it is not possible to copy the files into this folder (or you are unsure about its location) alternativly you can copy the SDL2.dll right into the same folder where the SDL 2.0 application (.exe) is located. Do not use the SysWoW64-folder (Hint: 32 bit files on 64 bit Windows go here). 64bit Windows: Copy those 64bit files to your system32-folder (!), C:\WINDOWS\system32\, Windows is expecting you to do this. There is a text file and the very important SDL2.dll.Ħ) 32bit Windows: Copy those files (especially the SDL2.dll!) to your system32-folder, C:\WINDOWS\system32\. Install SDL 2.0 and Header translationĥ) Extract SDL2-2.0.4-win32-x86.zip or SDL2-2.0.4-win32-圆4.zip to get the SDL runtime library. 64 bit Windows only: After you installed the 32 bit Free Pascal, you may execute fpc-3.0.0.86_64-win64.exe optionally to add the 64 bit version on top. Don’t modify any checked options during installation process. ![]() Let the self-installer create a shortcut on your desktop. Let the self-installer create a shortcut on your desktop.Ĥb) For Free Pascal IDE: 32 and 64 bit Windows: Execute fpc-2.6.4.i386-win32.exe to install Free Pascal for a 32 bit or 64 bit Windows system. Install Lazarus or the Free Pascal CompilerĤa) For Lazarus: 32 and 64 bit Windows: Execute lazarus-1.4.4-fpc-2.6.4-win32.exe to install Lazarus for a 32 bit or 64 bit Windows system and follow the self-installer. Choose the master branch (1), click on “Clone or download” (2) and click on Download ZIP (3).ģ) Download the latest version of SDL 2.0 runtime library, version 2.0.4 or higher. This is important for any operating system: Windows, Linux, Mac OS X. Click on “ Clone or download” and then on “ Download ZIP” (see arrows in image below) of the page and make sure that Branch: master (not v1.72!) is chosen at the left side (see arrow in image below). Download SDL 2.0 and Header translationĢ) Download the latest version of Tim Blume’s SDL 2.0 units, better go with the latest branch (master branch), and do not use version 1.72 since it contains some bugs. Hence, you need to download both Free Pascal installers shown above. (Recommended), 2) Install the 64 bit version of Free Pascal on top of the 32 bit version of Free Pascal. 64 bit Windows: You have two choices, 1) Simple way: Go with the 32 bit version of Free Pascal. The tutorial examples will work with both versions though.ġb) For Free Pascal IDE: 32 bit Windows: Download the latest stable Free Pascal compiler, version 3.0.0 or higher. Remark: As of today () the bundle doesn’t provide the most recent Free Pascal Compiler (3.0.0) but the version before (2.6.4). It has the Free Pascal Compiler accompanied. If you have Free Pascal or the Lazarus IDE installed already, you can skip the steps 1a) and 1b).ġa) For Lazarus IDE: Download the latest version of the Lazarus IDE. ![]() SDL 2.0 > Download > Choose the download suitable for your system.ĭownload Lazarus or the stand-alone Free Pascal Compiler (FPC) *Better go with the latest availabe version (not version 1.72!) since some important bugfixes have been made lately. Click on this button for the download of the latest release. On the right upper side is a button saying Download ZIP. If you need the Linux, Mac OS X or other versions, check them out here: (see Download). Windows 64 bit version (needs 32 bit version) Linux and Mac OS X versions are here: (see Downloads).įpc-3.0.0.86_64-win64.exe Keep in mind, you have to download either the Lazarus IDE or the stand-alone Free Pascal Compiler, not both. This table provides all information and sources you need with respect to installation steps 1) – 3). The latter will be done by SDL 2.0 units. And finally we need units that connect our SDL 2.0 code written in Free Pascal to the SDL library files. SDL Library and SDL 2.0 unitsĪdditionaly we need the original SDL library files (.dll files). ![]() If you are not sure, I recommend to go with the Lazarus IDE package. First of all we need the stand-alone Free Pascal Compiler or Lazaruse IDE (which already has a copy of the Free Pascal Compiler included). ![]() We need three different software packages. My advise is nonetheless, use the Lazarus IDE. In contrast to that the Lazarus IDE (right) looks up-to-date, but requires it to be installed additionally. You may notice that the native Free Pascal IDE (left) looks old, but it is shipped right along with the Free Pascal Compiler. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |