[vtkusers] vtk, cygwin and opengl

Andy Cedilnik andy.cedilnik at kitware.com
Tue Jan 28 10:31:18 EST 2003


Hi Bill,

I just modified build process for VTK 4.1 and I will commit in in a bit.
The deal is, now you are able to build Windows executable even when X is
installed. If you do want to build X enabled binary, then I suggest
doing the following:

Make sure you have VTK_USE_X on,
OPENGL_INCLUDE_DIR and OPENGL_INCLUDE_PATH should be /usr/X11R6/include
OPENGL_LIBRARY and OPENGL_gl_LIBRARY should be /usr/X11R6/lib/libGL.a
(or maybe so)
 OPENGL_glu_LIBRARY should be /usr/X11R6/lib/libGLU.a (or maybe so)

If you do not build your own TCL, then disable VTK_WRAP_TCL

Compile.

Let me know if it works.

				Andy

On Tue, 2003-01-28 at 09:09, William Greathouse wrote:
> Am I correct in assuming this builds a MS-Window's executable and
> not an X Window executable?  I am interested in building an X
> compatible VTK under Cygwin.  Has anyone accomplished this?





More information about the vtkusers mailing list