Skip to content

Building with SDL2 and SDL2_ttf in debian 12 #201

@eolandro

Description

@eolandro

Hi! everybody!

I was able to compile NP2Kai in Debian 12. But there something about SDL2_tff.
In /x/fontmng.c Line 16: I've changed:
#include <SDL2_ttf/SDL_ttf.h> to #include <SDL2/SDL_ttf.h>

My building environment was:

export NP2KAI_VERSION="rev.22";
export NP2KAI_HASH="44c8a8c";
cmake .. -B build -D USE_SDL3=OFF -D USE_SDL2=ON -D USE_SDL_TTF=2

If anyone gets errors related to fontmng.c and SDL_ttf maybe this will be useful.

PD sorry for bad english

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions