[vtkusers] vtkAVIWriter::New() not working
Mathieu Westphal
mathieu.westphal at kitware.com
Thu Jul 5 05:34:46 EDT 2018
Hello,
vtkAVIWriter is a windows specific class.
If you are on linux, this example can't be used.
If you are on windows, make sure that you have
activated VTK_USE_VIDEO_FOR_WINDOWS cmake option.
Best regards,
Mathieu Westphal
On Thu, Jul 5, 2018 at 11:11 AM, cammarasana123 <cammarasanasimone at gmail.com
> wrote:
> Hello everybody,
>
> I was trying this example for creating an AVI video
>
> https://www.vtk.org/Wiki/VTK/Examples/Cxx/Untested/Video/AVI
> <https://www.vtk.org/Wiki/VTK/Examples/Cxx/Untested/Video/AVI>
>
> but this simple program here is not working:
> /
> #include <vtkSmartPointer.h>
> #include <vtkAVIWriter.h>
> int main (int argc, char *argv[])
> {
> vtkSmartPointer<vtkAVIWriter> writer =
> vtkSmartPointer<vtkAVIWriter>::New();
> }
> /
>
> giving an error like
> *Undefined reference at vtkAVIWriter::New()*
>
> The Cmake is the same of the example..I don't know if there can be some
> error with the installation, other programs are working rightly.
>
> Thanks for supporting
> Simone
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180705/9aef7005/attachment.html>
More information about the vtkusers
mailing list