[vtkusers] Error LNK2019 while building examples

Girik Sharma giriksharma1995 at gmail.com
Wed Feb 11 11:36:32 EST 2015


Hey all!
I was trying to build the provided examples on windows using cmake with
VS2012 as generator.But I am getting the following errors:

Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: static double __cdecl vtkLine::DistanceToLine(double * const,double
* const,double * const,double &,double * const)"
(__imp_?DistanceToLine at vtkLine@@SANQAN00AAN0 at Z) referenced in function _main
E:\DistancePointToLine\DistancePointToLine.obj DistancePointToLine


Error 2 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: static double __cdecl vtkLine::DistanceToLine(double * const,double
* const,double * const)" (__imp_?DistanceToLine at vtkLine@@SANQAN00 at Z)
referenced in function _main E:\DistancePointToLine\DistancePointToLine.obj
DistancePointToLine

Please help me.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150211/af60fe67/attachment.html>


More information about the vtkusers mailing list