<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">When configuring the example with CMake, did you point it at the correct build folder of VTK? It could be failing to find VTK's .lib files.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 11, 2015 at 11:36 AM, Girik Sharma <span dir="ltr"><<a href="mailto:giriksharma1995@gmail.com" target="_blank">giriksharma1995@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hey all!</div><div>I was trying to build the provided examples on windows using cmake with VS2012 as generator.But I am getting the following errors:</div><div><br></div><div><div>Error<span style="white-space:pre-wrap">       </span>1<span style="white-space:pre-wrap">       </span>error LNK2019: unresolved external symbol "__declspec(dllimport) public: static double __cdecl vtkLine::DistanceToLine(double * const,double * const,double * const,double &,double * const)" (__imp_?DistanceToLine@vtkLine@@SANQAN00AAN0@Z) referenced in function _main<span style="white-space:pre-wrap">        </span>E:\DistancePointToLine\DistancePointToLine.obj<span style="white-space:pre-wrap">  </span>DistancePointToLine</div></div><div><br></div><div><br></div><div>Error<span style="white-space:pre-wrap">   </span>2<span style="white-space:pre-wrap">       </span>error LNK2019: unresolved external symbol "__declspec(dllimport) public: static double __cdecl vtkLine::DistanceToLine(double * const,double * const,double * const)" (__imp_?DistanceToLine@vtkLine@@SANQAN00@Z) referenced in function _main<span style="white-space:pre-wrap">        </span>E:\DistancePointToLine\DistancePointToLine.obj<span style="white-space:pre-wrap">  </span>DistancePointToLine</div><div><br></div><div>Please help me.</div><div>Thanks.</div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/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" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>