<div dir="ltr"><div>Dear Waldo,<br>you're welcome.<br><br></div><div>However, you may perfectly have different versions of VTK in the same machine. So may be the problem was deeper than just having multiple versions of VTK.<br>
<br></div>Kind regards,<br>JON HAITZ<br><div class="gmail_extra"><br><br><br><div class="gmail_quote">On 18 June 2014 17:18, Waldo Valenzuela <span dir="ltr"><<a href="mailto:waldo.valenzuela@hotmail.com" target="_blank">waldo.valenzuela@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Jon,<div><br></div><div>Thanks very much for your reply. At the end, was a problem with the previous version of VTK that I have installed, I had to format the computer and after that, I followed your suggestions and it work.</div>
<div><br></div><div>Best regards,</div><div><br></div><div><br></div><div>Waldo.</div><div><div class="h5"><div><br></div><div><div>On 09 Jun 2014, at 14:13, Jon Haitz Legarreta <<a href="mailto:jhlegarreta@vicomtech.org" target="_blank">jhlegarreta@vicomtech.org</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr"><div><div><div><div>Dear Waldo,<br></div>I'm running VTK 6.1.0 with VS 2010, and found no linking errors when trying to build any of VTK's built-in examples.<br><br></div>
Just checked the BUILD_EXAMPLES flag (had to check as well the BUILD_TESTING flag; otherwise CMake complained) (linking statically, on the other hand, the same as you: had the BUILD_SHARED_LIBRARIES flag unchecked in CMake), re-configured, re-generated, re-built VTK, and executed an example (\Examples\Tutorial\Step2\Cxx\Cone2) with no problems.<br>

<br></div>VTK's CMakeLists.txt files should care about finding and linking against the appropriate libraries, so unless you've modified either the CMakeLists or the project's properties in VS (which is neither required nor expected), I cannot find a reasonable explanation.<br>

<br></div>JON HAITZ<br><div><div class="gmail_extra"><div><div dir="ltr"><table cellpadding="0" cellspacing="0" align="center" border="0"><tbody><tr><td><br></td></tr><tr><td><table cellpadding="0" align="center" border="0">

<tbody><tr><td><span style="font-size:10px;color:gray;font-family:Verdana,Arial,Helvetica,sans-serif"><a href="http://www.vicomtech.org/en/proteccion-datos" style="color:gray" target="_blank"></a></span><br></td></tr></tbody></table>

</td></tr></tbody></table></div></div>
<br><br><div class="gmail_quote">On 8 June 2014 19:28, Waldo Valenzuela <span dir="ltr"><<a href="mailto:waldo.valenzuela@hotmail.com" target="_blank">waldo.valenzuela@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Hi guys,<br>
<br>
I have linker error in visual studio 2010, after compile vtk 6.1 all the library are named "NAMELIBRARY-6.1.lib", and when I try to run any example of vtk visual studio is looking for the vtk library without the -6.1.<br>


<br>
What I am doing wrong?<br>
<br>
Any help is always welcome.<br>
<br>
Best,<br>
<br>
Waldo.<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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div></blockquote></div><br></div></div>