[vtkusers] Error LNK2019 while building examples

Girik Sharma giriksharma1995 at gmail.com
Thu Feb 12 03:45:52 EST 2015


I am really stuck here!
Somebody please come up with a piece of advice.
Thanks!

On Wed, Feb 11, 2015 at 10:06 PM, Girik Sharma <giriksharma1995 at gmail.com>
wrote:

> 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/20150212/8486ede9/attachment.html>


More information about the vtkusers mailing list