[vtkusers] questtion about vtkAVIWriter::New()

Wang HJ hjwang126 at hotmail.com
Thu May 25 03:45:07 EDT 2006


Hi,

I want to create an output of avi file in vtk5.0 under visual studio net 
2003 c++. So now  I just use a statement like:
  vtkAVIWriter *w=vtkAVIWriter::New();
except this, I did not write any other statement about w

but it gave me the linking errors like:

vtkIO.lib(vtkAVIWriter.obj) : error LNK2019: unresolved external symbol 
_AVIStreamSetFormat at 16 referenced in function "public: virtual void 
__thiscall vtkAVIWriter::Start(void)" (?Start at vtkAVIWriter@@UAEXXZ)
vtkIO.lib(vtkAVIWriter.obj) : error LNK2019: unresolved external symbol 
_AVIMakeCompressedStream at 16 referenced in function "public: virtual void 
__thiscall vtkAVIWriter::Start(void)" (?Start at vtkAVIWriter@@UAEXXZ)
vtkIO.lib(vtkAVIWriter.obj) : error LNK2019: unresolved external symbol 
_AVIFileCreateStreamA at 12 referenced in function "public: virtual void 
__thiscall vtkAVIWriter::Start(void)" (?Start at vtkAVIWriter@@UAEXXZ)
vtkIO.lib(vtkAVIWriter.obj) : error LNK2019: unresolved external symbol 
_AVIFileOpenA at 16 referenced in function "public: virtual void __thiscall 
vtkAVIWriter::Start(void)" (?Start at vtkAVIWriter@@UAEXXZ)
vtkIO.lib(vtkAVIWriter.obj) : error LNK2019: unresolved external symbol 
_AVIFileInit at 0 referenced in function "public: virtual void __thiscall 
vtkAVIWriter::Start(void)" (?Start at vtkAVIWriter@@UAEXXZ)
vtkIO.lib(vtkAVIWriter.obj) : error LNK2019: unresolved external symbol 
_AVIStreamWrite at 32 referenced in function "public: virtual void __thiscall 
vtkAVIWriter::Write(void)" (?Write at vtkAVIWriter@@UAEXXZ)
vtkIO.lib(vtkAVIWriter.obj) : error LNK2019: unresolved external symbol 
_AVIFileExit at 0 referenced in function "public: virtual void __thiscall 
vtkAVIWriter::End(void)" (?End at vtkAVIWriter@@UAEXXZ)
vtkIO.lib(vtkAVIWriter.obj) : error LNK2019: unresolved external symbol 
_AVIFileRelease at 4 referenced in function "public: virtual void __thiscall 
vtkAVIWriter::End(void)" (?End at vtkAVIWriter@@UAEXXZ)
vtkIO.lib(vtkAVIWriter.obj) : error LNK2019: unresolved external symbol 
_AVIStreamRelease at 4 referenced in function "public: virtual void __thiscall 
vtkAVIWriter::End(void)" (?End at vtkAVIWriter@@UAEXXZ)

I do not know why, who can help me, many thanks

HJ





More information about the vtkusers mailing list