[vtk-developers] No video hardware warning dialog ??

Lorensen, William E (CRD) lorensen at crd.ge.com
Wed Nov 21 11:55:32 EST 2001


There is a timeout in Dart already.

-----Original Message-----
From: David Gobbi [mailto:dgobbi at irus.rri.ca]
Sent: Wednesday, November 21, 2001 10:46 AM
To: Ken Martin
Cc: Vtk-Developers at Public. Kitware. Com
Subject: Re: [vtk-developers] No video hardware warning dialog ??


Hi Ken,

That would be the vtkWin32VideoSource.  It is automatically built by
CMake if VFW32.LIB (Video-for-Windows) is found on the system.

The two possible fixes are
1) set the VTK_USE_VIDEO_FOR_WINDOWS default to OFF in CMakeLists.txt
2) fix vtkWin32VideoSource.cxx to generate a VTK error instead of
   displaying a MessageBox
3) make sure that the method that generates the error isn't called
   during testing

I think that (2) is the best option, so I'll try to get a patch done
today.

Also, perhaps the testing should have a timeout built
it so that if a test doesn't complete in e.g. 15 minutes then the
offending process is terminated.  I don't think that it would
be easy to add this feature to Dart, but it would improve the
robustness of the tests.

 - David


On Wed, 21 Nov 2001, Ken Martin wrote:

> Hey Folk,
>
> Our dashboards are getting hung up on a dialog saying "No video
> hardware". Does this ring a bell with anyone?
>
> Thanks
> Ken
>
>
> --------------------------
> Ken Martin, PhD
> Kitware Inc.
> 518 371-3971 x101
> 469 Clifton Corporate Pkwy.
> Clifton Park, NY 12065
>
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at public.kitware.com
> http://public.kitware.com/mailman/listinfo/vtk-developers
>

_______________________________________________
vtk-developers mailing list
vtk-developers at public.kitware.com
http://public.kitware.com/mailman/listinfo/vtk-developers



More information about the vtk-developers mailing list