[vtk-developers] Bug in vtkWin32RenderWindowInteractor.cxx

David Partyka david.partyka at kitware.com
Wed Oct 5 08:46:03 EDT 2011


Can do. Thanks!

On Wed, Oct 5, 2011 at 8:25 AM, Leo van Ruijven <LvRuijven at gmx.com> wrote:

> Yesterday I downloaded the Git source-code and tried to compile it on my
> windows AMD64 machine (VS8.0). But the compilation failed, because
> 'TRACKMOUSEEVENT' in vtkWin32RenderWindowInteractor.cxx was not recognized.
> This symbol is defined in winuser.h, which was surprisingly not included.
>
> The bug was easily fixed by changing the location of one line in
> vtkWin32RenderWindowInteractor.cxx. I just put the line:
> #include "vtkWin32OpenGLRenderWindow.h"
>
> after the lines
> #ifndef _WIN32_WINNT
> #define _WIN32_WINNT 0x0400  // for trackmouseevent support  requires Win95
> with IE 3.0 or greater.
> #endif
>
> After this fix the source compiled without errors. I am not sure why this
> was changed but assume that it served a purpose. Can someone else look at
> this bug?
>
> regards,
> Leo.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20111005/6df643da/attachment.html>


More information about the vtk-developers mailing list