ControllerImage icon indicating copy to clipboard operation
ControllerImage copied to clipboard

Write documentation

Open icculus opened this issue 2 years ago • 3 comments

Just inline in the headers is probably sufficient.

icculus avatar Dec 03 '23 02:12 icculus

I have SDL3/SDL.h in the proper location and am using gcc -I/home/matt/tmp/ControllerImage/SDL/include controllerimage.c and I still get:

In file included from controllerimage.c:9:
controllerimage.h:13:10: fatal error: SDL3/SDL.h: No such file or directory
   13 | #include <SDL3/SDL.h>
      |          ^~~~~~~~~~~~
compilation terminated.

No matter where I have those files, it still won't work. This definitely needs to be documented better. Just trying to use cmake with mkdir build; cd build && cmake .. doesn't end up building any of the libraries.

gardotd426 avatar Dec 03 '23 10:12 gardotd426

Weird...there's definitely a file at /home/matt/tmp/ControllerImage/SDL/include/SDL3/SDL.h ...?!

icculus avatar Dec 03 '23 21:12 icculus

>_ file /home/matt/tmp/ControllerImage/SDL/include/SDL3/SDL.h
/home/matt/tmp/ControllerImage/SDL/include/SDL3/SDL.h: C source, ASCII text

gardotd426 avatar Dec 04 '23 00:12 gardotd426