Skip to content

make not finding SDL #1

@mxmilkiib

Description

@mxmilkiib

Hi. Trying to build on Arch Linux atm;

g++ -c main.cpp -Wall 
In file included from main.cpp:14:
/usr/include/SDL/SDL_gfxPrimitives.h:38:10: fatal error: SDL.h: No such file or directory
   38 | #include <SDL.h>
      |          ^~~~~~~
compilation terminated.
make: *** [Makefile:16: main.o] Error 1
% locate SDL.h
...
/usr/include/SDL/SDL.h
...
%  pQo /usr/include/SDL/SDL.h
/usr/include/SDL/SDL.h is owned by sdl 1.2.15-14

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