<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="line-height:17px">
<span class="Apple-style-span" style="font-family: Tahoma; line-height: normal; ">When I compile my project, I got 
following compiling errors, it seems that I have told the compiler where is the 
function body of the vtk functions, but I think to set the additional 
dependencies should solve the problem. I also tried to added the vtk lib folder 
to the windows environment variable-&gt;path, have gotten luck :(</span></div></div></blockquote><div><br></div><div>It is strongly recommended to use CMake to build a project which uses VTK. Here are some instructions (you can skip the part about downloading the example, just apply the cmake procedure to your code file). </div>
<div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.vtk.org/Wiki/VTK/Examples/Instructions/ForUsers">http://www.vtk.org/Wiki/VTK/Examples/Instructions/ForUsers</a></div>
<div><br></div><div>You can use any of the CMakeLists.txt files on the wiki as a guide: <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/SimpleOperations/DistancePointToLine">http://www.vtk.org/Wiki/VTK/Examples/Cxx/SimpleOperations/DistancePointToLine</a></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>David </div></div>