Hi Brian,
On 1/3/07, Brian Keener <[EMAIL PROTECTED]> wrote:
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.
Rather than automatic detection the OSG build system relies upon
platform specific variable definitions in Make/makedefs - there is one
of Cygwin. We could use a new variable or one of the existing ones to
turn on/off the variable paths in compilation of osgViewer.
> 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?
I have compiled GraphicsWindowWin32.cpp under Linux but just tweaking
the GNUmakefile. All it does is report messages that nothing is
implemented though.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/