[vtkusers] Error in vtkWin32RenderWindowInteractor

Francois Bertel francois.bertel at kitware.com
Mon Mar 8 10:40:20 EST 2010


Do you use an install tree of VTK? If so, don't try to include the
build directory in addition to the install tree.
I think this is a bug in the install process because it does not copy
vtkTDxConfigure.h from the build tree to the install tree.


On Mon, Mar 8, 2010 at 10:35 AM, Darshan Pai <darshanpai at gmail.com> wrote:
> oh . yes I think I see now . I did not include the build directory of VTK
> during compilation
>
> Works now
>
> Thanks
>
> Darshan
>
> On Mon, Mar 8, 2010 at 10:30 AM, Francois Bertel
> <francois.bertel at kitware.com> wrote:
>>
>> No, vtkTDxConfigure.h is where VTK_USE_TDX is defined.
>>
>> I think it might that vtkTDxConfigure.h has to copied during the install
>> step.
>>
>> Do you compile your applications against a build directory of VTK or
>> an install directory of VTK.
>>
>>
>> On Mon, Mar 8, 2010 at 10:26 AM, Darshan Pai <darshanpai at gmail.com> wrote:
>> > Just checked my Build settings . the switch is off . I opened the .h
>> > file
>> > and I suspect that that
>> > #include "vtkTDxConfigure.h" // defines VTK_USE_TDX
>> > #ifdef VTK_USE_TDX
>> > class vtkTDxWinDevice;
>> > #endif
>> >
>> > should be actually this ..
>> >
>> >
>> > #ifdef VTK_USE_TDX
>> > #include "vtkTDxConfigure.h" // defines VTK_USE_TDX
>> > class vtkTDxWinDevice;
>> > #endif
>> >
>> > Isnt it ?
>> >
>> > On Mon, Mar 8, 2010 at 9:57 AM, Francois Bertel
>> > <francois.bertel at kitware.com> wrote:
>> >>
>> >> Hello,
>> >>
>> >> I assumed you switched VTK_USE_TDX to ON. Then vtkTDxConfigure.h is in
>> >> the subdirectory Rendering in your build directory:
>> >> mybuild/Rendering/vtkTDxConfigure.h
>> >>
>> >> More info here:
>> >>
>> >>
>> >> http://www.vtk.org/Wiki/VTK/3DConnexion_Devices_Support#Install_the_3DConnexion_SDK
>> >>
>> >> On Sat, Mar 6, 2010 at 3:50 PM, Darshan Pai <darshanpai at gmail.com>
>> >> wrote:
>> >> > I just compiled the latest CVS version of VTK and tried to test it
>> >> > against
>> >> > my current programs . It gives me an error when I use
>> >> > vtkWin32RenderWindowInteractor
>> >> >  Cannot open include file: 'vtkTDxConfigure.h': No such file or
>> >> > directory
>> >> >
>> >> > Where can i find this file?
>> >> >
>> >> > Regards
>> >> > Darshan
>> >> >
>> >> > _______________________________________________
>> >> > Powered by www.kitware.com
>> >> >
>> >> > Visit other Kitware open-source projects at
>> >> > http://www.kitware.com/opensource/opensource.html
>> >> >
>> >> > Please keep messages on-topic and check the VTK FAQ at:
>> >> > http://www.vtk.org/Wiki/VTK_FAQ
>> >> >
>> >> > Follow this link to subscribe/unsubscribe:
>> >> > http://www.vtk.org/mailman/listinfo/vtkusers
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> François Bertel, PhD  | Kitware Inc. Suite 204
>> >> 1 (518) 371 3971 x113 | 28 Corporate Drive
>> >>                      | Clifton Park NY 12065, USA
>> >> _______________________________________________
>> >> Powered by www.kitware.com
>> >>
>> >> Visit other Kitware open-source projects at
>> >> http://www.kitware.com/opensource/opensource.html
>> >>
>> >> Please keep messages on-topic and check the VTK FAQ at:
>> >> http://www.vtk.org/Wiki/VTK_FAQ
>> >>
>> >> Follow this link to subscribe/unsubscribe:
>> >> http://www.vtk.org/mailman/listinfo/vtkusers
>> >
>> >
>>
>>
>>
>> --
>> François Bertel, PhD  | Kitware Inc. Suite 204
>> 1 (518) 371 3971 x113 | 28 Corporate Drive
>>                      | Clifton Park NY 12065, USA
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA



More information about the vtkusers mailing list