For anyone who compiles FG for X11, have you encountered
compile issues with Xinput.h not being found?
I have a clean install of Ubuntu 16.04.02 LTS that I went to
compile on. After installing everything necessary (gl.h, libgl,
libglu), CMake completed and I went to build (gcc).
At that point, I got a compile error from gcc telling me it
"freeglut/src/x11/fg_internal_x11.h:42:35: fatal error: X11/extensions/XInput.h: No such file or directory"
I have not build anything on Linux involving X11, so I wasn't
sure where to expect the file and did a search. I found a
handful of results where people tried to build FG, hit the
same issue and it came down to the file is now called XI.h.
I don't know if other devs just symlinked XI.h to XInput.h
already, I happen to be too new/have a different version,
or what. But I know we don't have any tickets about this
that already exist.
Comments before I add said issue? Is something off on my
machine? If not, the solution for my issue will be to modify
CMake so it indicates if we are using XInput.h or XI.h
Vinnie
|