free-language / box2d

Automatically exported from code.google.com/p/box2d
0 stars 0 forks source link

X11/extensions/XInput.h: No such file #127

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Under Ubuntu 10.04, freeglut doesn't compile correctly. I know it isn't
your project, but until they make a new release, maybe you could add a line
or two.

The compiler stumbles on this: 
(line 111) #include <X11/extensions/XInput.h> (the file isn't found)
I'm not sure how to go about permanently fixing this, but for future
reference just replace XInput.h with XI.h.

Original issue reported on code.google.com by franticf...@gmail.com on 3 May 2010 at 10:56

GoogleCodeExporter commented 9 years ago
Stupid me, I forgot to put the file that the error is in.
Its in freeglut_internal.h

Original comment by franticf...@gmail.com on 4 May 2010 at 2:04

GoogleCodeExporter commented 9 years ago
I can't confirm this won't break freeglut for other users, so I'll leave this 
as is until the freeglut team fixes this. You may want to file a bug with them.

Original comment by erinca...@gmail.com on 16 Aug 2010 at 5:53

GoogleCodeExporter commented 9 years ago
Issue 141 has been merged into this issue.

Original comment by erinca...@gmail.com on 16 Aug 2010 at 6:16

GoogleCodeExporter commented 9 years ago
I can confirm the error is still here.
The solution given by franticfantom still works.

Original comment by gimenez.tom on 21 Sep 2010 at 9:43

GoogleCodeExporter commented 9 years ago
Here's a command that should work for anyone who doesn't want to fix it by hand 
every time there's an update: (you should be in the Box2D_v2.x.x directory)

sed 's/XInput/XI/g' -i freeglut/freeglut_internal.h

Original comment by grimfang4@gmail.com on 20 Dec 2011 at 1:38

GoogleCodeExporter commented 9 years ago
For who may got this issue, run:
sudo apt-get install libxi-dev
Its work for me.

Original comment by nvcn...@gmail.com on 13 Jul 2012 at 5:19

GoogleCodeExporter commented 9 years ago
#6 works for me too

Original comment by JDMarti...@gmail.com on 19 Feb 2014 at 5:43

GoogleCodeExporter commented 9 years ago
sudo apt-get install -y libxtst-dev xvfb will fix the installation issue.

http://www.guguncube.com/2733/python-spynner-installation-in-ubuntu

Original comment by sadhuaja...@gmail.com on 11 Mar 2014 at 9:16

GoogleCodeExporter commented 9 years ago
Why not just install some glut implementation for your OS? Seems like the only 
reasonable thing to do rather than make an OS specific patch that's already 
been done, compiled, tested and packaged for you.

Original comment by frederik...@gmail.com on 6 Apr 2014 at 6:20