Search code examples
c++sdlgame-enginesdl-ttf

missing DLL - freetype262d.dll


I'm making a simple 2D game engine in C++ and to write text on the screen I want to use SDL_ttf. The problem is that after I installed SDL_ttf an error message pops up saying that freetype262d.dll is missing. To fix this error I tried reinstalling SDL_ttf manually and via NuGet and searching for the dll file online to download it but it's to no avail.

that's the error message


Solution

  • Looks like you need to install the FreeType library as well. Apparently SDL_ttf itself does not include it itself.