Skip to content

SDL2 include dir not found #51

@nikita-yfh

Description

@nikita-yfh

I tried build SDL_FontCache with CMake, but it not build:

nikita ~/c++/hagen/src/SDL_FontCache $ cmake .
-- The C compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:12 (message):
  SDL2 include dir not found


-- Configuring incomplete, errors occurred!
See also "/home/nikita/c++/hagen/src/SDL_FontCache/CMakeFiles/CMakeOutput.log".

The SDL2 libraries installed. How to build it?

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