[vtk-developers] Bug in vtkWin32RenderWindowInteractor.cxx

Leo van Ruijven LvRuijven at gmx.com
Wed Nov 30 15:32:58 EST 2011


Hello David, Everything works fine.

Leo.


> ----- Original Message -----
> From: David Partyka
> Sent: 11/30/11 06:06 PM
> To: Leo van Ruijven
> Subject: Re: [vtk-developers] Bug in vtkWin32RenderWindowInteractor.cxx
> 
> Fixes for this have been pushed into vtk master/release. Please let us know
> if you experience any issues.
> 
> On Wed, Oct 5, 2011 at 8:46 AM, David Partyka <david.partyka at kitware.com>wrote:
> 
> > 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
> >>
> >>
> >


L van Ruijven
Functional Anatomy (ACTA)
Gustav Mahlerlaan 3004
1081 LA Amsterdam
Netherlands
Ph. +31(0)20-5980852 (out of office on friday)



More information about the vtk-developers mailing list