Pablo Carneiro Elias
2009-05-12 14:10:40 UTC
Hi all,
I've just updated to the last svn version of OpenSG 2.0 yesterday and I got
some compilation errors involving a conflict between X11 (included from
OSGNativeWindow.h which is included from OSGPassiveWindowBase.h) and Qt
under linux. The problem is that X11 defines many names that Qt uses as
Enums (such as KeyPress -> QEvent::KeyPress). It never happened with the
older version of OpenSG I had (dated from 2009-01-22).
Is it possible for you to remove OSGNativeWindow.h from
OSGPassiveWindowBase.h?
Or better yet, can you avoid including X11 from any public headers?
Thanks,
Pablo
I've just updated to the last svn version of OpenSG 2.0 yesterday and I got
some compilation errors involving a conflict between X11 (included from
OSGNativeWindow.h which is included from OSGPassiveWindowBase.h) and Qt
under linux. The problem is that X11 defines many names that Qt uses as
Enums (such as KeyPress -> QEvent::KeyPress). It never happened with the
older version of OpenSG I had (dated from 2009-01-22).
Is it possible for you to remove OSGNativeWindow.h from
OSGPassiveWindowBase.h?
Or better yet, can you avoid including X11 from any public headers?
Thanks,
Pablo