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

David Gobbi dgobbi at irus.rri.ca
Wed Dec 5 14:59:22 EST 2001


Hi Bill,

If the VFW32.LIB is not present on all win32 systems, then it is best to
to go with option 1 (i.e. set VTK_USE_VIDEO_FOR_WINDOWS to OFF).
Otherwise people might end up distributing binaries that only work on
systems that have VFW32.

I can make the change ASAP.

 - David


On Wed, 5 Dec 2001, Bill Hoffman wrote:

> I think we should go with option 1, or fix the cmake list files.
> Currently, the default is to turn this on for all win32 systems.
> It should first try and find the vfw32 library.  If it can not find
> the library it should turn the option off.
>
> We have had several build errors because this library was not found.
>
> -Bill
>
>
> At 10:45 AM 11/21/2001 -0500, David Gobbi wrote:
> >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
>
> _______________________________________________
> 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