[vtkusers] compiling on Cygwin

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Jun 16 12:01:45 EDT 2008


On Sat, Jun 14, 2008 at 7:28 AM, Deirdre Wendel <dew52 at columbia.edu> wrote:
> I'm running into a persistent error message in trying to compile on Cygwin.
>
>
> The message states "In function LResult vtkTk
> RenderWidgetProc(HWND__*,UINT,WPARAM,LPARAM)" "invalid use of undefined type
> 'struct _XDisplay'."
> in the files Rendering/vtkTkRenderWidget.cxx and
> Rendering/vtkTKImageViewerWidget.cxx.

In the cygwin shell type:

$ make VERBOSE=1

then send the output back to the list.

> Also the process of building cxx objects on my machine is extremely slow
> (even though it's a dual processor 1.8GHz machine with plenty of RAM and
> free disk space).

cygwin is known to be *very* slow. Try mingw instead, if you really do
not want to use the M$ compilers.

-- 
Mathieu



More information about the vtkusers mailing list