-
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDL2_framerate.h not such file or directory #565
Comments
Hi @piotao, we rely on |
Shouldn't this be |
|
Hi @hfiguiere, thank you for the suggestion. I have updated the |
System: MX Linux 21
SDL2 installed and files in /usr/include/SDL2 exists (see attached file with ls -R - zipped)
Steps to reproduce in $HOME/go/src/esdeel directory:
0. go mod init
Error:
esdeel$ go build .
github.com/veandco/go-sdl2/gfx
In file included from ../../pkg/mod/github.com/veandco/[email protected]/gfx/sdl_gfx.go:5:
./sdl_gfx_wrapper.h:8:11: fatal error: SDL2_framerate.h: No such file or directory
8 | #include <SDL2_framerate.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
HOW I FIXED THAT:
and manually changed linux includes from default <SDL2_framerate.h> to their direct paths:
#include "/usr/include/SDL2/SDL2_framerate.h"
etc.
files.zip
The text was updated successfully, but these errors were encountered: