Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

43
Vistas
Where can I get SDL_TTF?

I have been developing a calculator from scratch.

I got to the part where I need to render numbers/symbols on the buttons and display them, but I realize I need SDL_TTF for that, which I didn't have when I downloaded SDL2.

I downloaded version 2.28.5 VC on github and took a look inside the include file, but I didn't, nor did I see SDL_TTF in SDL2 version 2.3.

Do I have it and am I coincidentally looking in the wrong place or do I need to get it from somewhere?

over 2 years ago · Carlos Garzón Colorado
1 Respuestas
Responde la pregunta

0

SDL_ttf is not included in the main SDL2 library. It is distributed as a separate extension that you must download and install separately. Therefore, you will not find it among the standard SDL2 files.

If you're using Visual Studio, you can download the corresponding version of SDL_ttf, add its include and lib directories to your project, and link the necessary libraries ( SDL2_ttf.lib and its dependencies). Then you can include it with:

 #include <SDL_ttf.h>

Alternatively, if you use a package manager like vcpkg, you can easily install it along with SDL2 and all its dependencies.

3 months ago · Ruben Alexander Serrano Porras Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda