[vtkusers] vtkaviwriter link error lnk2001
Simone Rapposelli
simone.rapposelli at gmail.com
Sat Sep 20 02:25:29 EDT 2014
Simone Rapposelli <simone.rapposelli <at> gmail.com> writes:
>
>
> Hi all,
> I am having a link error with vtkAVIWriter class using Visual Studio 2010
on a Win7 pro 64bit machine.
> I have correctly included the lib path and added vtkIO.lib in Project
properties but I get link errors as follows:
> ...
> vtkIO.lib(vtkAVIWriter.obj) :
> error LNK2001: unresolved external symbol _AVIStreamSetFormat <at> 16
> ...
> I have already tried "googling" without founding solutions...
>
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
I have just found the solution: add #pragma comment(lib,"Vfw32.lib")
More information about the vtkusers
mailing list