Hello Pablo,
Pablo Carneiro Elias wrote:
> 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).
hm, strange, my build also picks up Qt, but it goes through fine. Can
you set -DCMAKE_VERBOSE_MAKEFILE=ON on the cmake command line, rerun
{c,}make and from the output send the compiler invocation and error
output for a file that fails?
> Is it possible for you to remove OSGNativeWindow.h from
> OSGPassiveWindowBase.h?
Only Gerrit can answer that, AFAIK he is in the middle of adding
something that required that, but I don't know the details.
> Or better yet, can you avoid including X11 from any public headers?
I don't see how we could do that and still implement an X11Window ;)
Cheers,
Carsten
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users