[osg-users] Little Warning about using osgGA::GUIEventHandler and linux/input.h

2012-02-01 Thread Christian Schulte
Hello everyone, after some headaches I have found a solution to a compile problem in a program using osgGA::GUIEventHandler and linux/input.h (neccesary for make work an old joystick model, not possible to be modified). Here is an exctract of the code which throw

Re: [osg-users] Little Warning about using osgGA::GUIEventHandler and linux/input.h

2012-02-01 Thread Robert Osfield
Hi Christian, The usual way to avoid pollution of 3rd party #defines to to make sure that the polluters are included after the ones that are effected. If this isn't possible then to #undef the problem #defines. Another possible route would be to simply use a non polutting headers and lib for