<div dir="ltr">Hello,<div><br></div><div>vtkAVIWriter is a windows specific class.</div><div>If you are on linux, this example can't be used.</div><div>If you are on windows, make sure that you have activated VTK_USE_VIDEO_FOR_WINDOWS cmake option.</div><div><br></div><div>Best regards,</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Thu, Jul 5, 2018 at 11:11 AM, cammarasana123 <span dir="ltr"><<a href="mailto:cammarasanasimone@gmail.com" target="_blank">cammarasanasimone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everybody,<br>
<br>
I was trying this example for creating an AVI video<br>
<br>
<a href="https://www.vtk.org/Wiki/VTK/Examples/Cxx/Untested/Video/AVI" rel="noreferrer" target="_blank">https://www.vtk.org/Wiki/VTK/<wbr>Examples/Cxx/Untested/Video/<wbr>AVI</a><br>
<<a href="https://www.vtk.org/Wiki/VTK/Examples/Cxx/Untested/Video/AVI" rel="noreferrer" target="_blank">https://www.vtk.org/Wiki/VTK/<wbr>Examples/Cxx/Untested/Video/<wbr>AVI</a>>  <br>
<br>
but this simple program here is not working:<br>
/<br>
#include <vtkSmartPointer.h><br>
#include <vtkAVIWriter.h><br>
int main (int argc, char *argv[])<br>
{<br>
  vtkSmartPointer<vtkAVIWriter> writer =<br>
vtkSmartPointer<vtkAVIWriter>:<wbr>:New();<br>
}<br>
/<br>
<br>
giving an error like <br>
*Undefined reference at vtkAVIWriter::New()*<br>
<br>
The Cmake is the same of the example..I don't know if there can be some<br>
error with the installation, other programs are working rightly.<br>
<br>
Thanks for supporting<br>
Simone<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/VTK-Users-f1224199.html</a><br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>