From: Vinnie S. <rcm...@ho...> - 2017-06-07 04:05:56
|
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 |
From: John T. <nu...@me...> - 2017-06-07 13:43:50
|
On Wed, Jun 07, 2017 at 04:05:44AM +0000, Vinnie Simonetti wrote: > 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). You need to install the xinput development package. Debian-based systems have this irritating convention of breaking up the header files of libraries into a separate -dev package. I suppose it's a holdover from a time when a few hundred header files would take up too much disk space for users which don't need to compile anything. Anyway, bottom line: apt-get install libxi-dev -- John Tsiombikas http://nuclear.mutantstargoat.com/ |
From: Vinnie S. <rcm...@ho...> - 2017-06-08 02:00:33
|
> Anyway, bottom line: apt-get install libxi-dev Ah, ok. Well, I'll probably do a small update just so we produce an error on configuration that xinput.h can't be found. Vinnie |
From: Diederick C. N. <dc...@gm...> - 2017-06-08 05:43:38
|
Hi Vinnie, On Jun 8, 2017 4:00 AM, "Vinnie Simonetti" <rcm...@ho...> wrote: > Anyway, bottom line: apt-get install libxi-dev Ah, ok. Well, I'll probably do a small update just so we produce an error on configuration that xinput.h can't be found. That's be great! Cheers, Dee |
Opt out of campaigns and programs that require the sale or disclosure of information to our partners. View our Privacy Policy.
Submit RequestTurn off online tracking by opting out of cookies and the transfer of data to third parties.
Submit RequestExercise your consumer rights via other methods including:
By e-mail: privacy@slashdotmedia.com
By phone: 1-800-552-9000
Or by mail at:
Slashdot Media
PO Box 12190
San Diego, CA 92112
Attention: Privacy Compliance