Mercurial > devkit
view libsdl-ttf.md @ 32:c29f7af71406
libsdl-ttf: typo
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 08 Apr 2021 14:11:56 +0200 |
parents | eb65d65a9828 |
children | 352772cef8ef |
line wrap: on
line source
Build libsdl-ttf ================ Version: 2.0.15 Date: 20210408 Dependencies ------------ - libsdl - libfreetype Download -------- - https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.zip Configure --------- 1. Remove VisualC/external directory, 2. Open VisualC/SDL_ttf.sln, 3. Remove glfont and showfont projects, 4. Remove x64, x86 from SDL2_ttf project 5. Select Release or Debug and x64 Visual Studio configuration 6. Open SDL2_ttf properties 5.1 C/C++ -> General -> Additional Include Directories 5.1.1 Clear old values 5.1.2 Add C:\pkg\vs\<release|debug>\include\SDL2 5.1.3 Add C:\pkg\vs\<release|debug>\include\freetype2 5.2 Linker -> General -> Additional Library Directories 5.2.1 Set to C:\pkg\vs\<release|debug>\lib 5.3 Linker -> Input -> Additional Dependencies 5.3.1 (Debug) Set to SDL2d.lib freetyped.lib 5.3.2 (Release) Set to SDL2.lib freetype.lib Build ----- 1. Press F7 2. Copy SDL_ttf.h to C:\pkg\vs\<release|debug>\include\SDL2 Debug 1. Copy VisualC\x64\Debug\SDL2_ttf.dll to C:\pkg\vs\debug\bin 2. Copy VisualC\x64\Debug\SDL2_ttf.pdb to C:\pkg\vs\debug\bin 3. Copy VisualC\x64\Debug\SDL2_ttf.lib to C:\pkg\vs\debug\lib Release 1. Copy VisualC\x64\Release\SDL2_ttf.dll to C:\pkg\vs\release\bin 2. Copy VisualC\x64\Release\SDL2_ttf.lib to C:\pkg\vs\release\lib