Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

53
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda