Robert Osfield wrote:
> What problems were you encountering with osgVIewer/X11 ?  Was it a 
> build problem?  What were the errors? 

Yes a build error.  My initial thoughts and diagnoses was that the 
GraphicsWindowX11 was looking for X.h and glx.h which I did not have installed 
because I did not have the Cygwin X headers and include package installed but 
OpenSceneGraph had previously compiled before the X11 changes.  I installed the 
X headers and includes and then ran into libary issues.  

Essentially what I determined was that GNUMakefile section for Cygwin was set 
up for a non X environment but with the new X11 changes for GraphicWindowX11 it 
needed more of a Linux X Makefile setup.  My thoughts were that the Cygwin Make 
section should do a header check for X.h and glx.h and if installed use a Linux 
X library and includes type install.  If they were not installed then use the 
previous Library and include setup for a non X environment (AKA console or more 
windows oriented).  Then the GraphicsWindow (X11/Win32) selection would be 
based on the presence of the X.h and glx.h files as well.

> We could change the osgViewer makefile to build 
> GraphicsWindowWin32.cpp just directive in the GNUmakefile. 
> GraphicsWindowWin32.cpp is still a non op though so it won't do 
> anything more than report that it hasn't been implemented yet.

What was osgViewer using before GraphicsWindowWin32.cpp - because it had 
previously compiled?

bk



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to