<div>Often these type of errors are caused by a mixture of different versions of dlls. My suggestion would be to delete the contents of the&nbsp;build directories completely (including CMakeCache.txt) and run CMake again and then recompile.
</div>
<div>&nbsp;</div>
<div>When you build your own code, don&#39;t forget to delete the CMakeCache.txt file and run CMake again before using Visual Studio.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Andrew</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/22/07, <b class="gmail_sendername">JohnMark</b> &lt;<a href="mailto:zhaojunxp@hotmail.com">zhaojunxp@hotmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div><font color="#0000ff" size="3">Hi , everyone ,</font><br><font color="#0000ff" size="3">&nbsp;&nbsp;&nbsp; </font><br><font color="#0000ff" size="3">&nbsp;&nbsp;&nbsp; Today I download the VTK 5.1.0 from the </font><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/" target="_blank">
<font color="#0000ff" size="3">www.vtk.org</font></a><font color="#0000ff" size="3"> by CVS . and I get no mistake when I compile </font><br><font color="#0000ff" size="3"></font>&nbsp;<br><font color="#0000ff" size="3">it in CMake 
2.4 . then I compile the VTK.dsw in VC++ 6.0 .there is no mistake and I get all the .lib </font><br><font color="#0000ff" size="3"></font>&nbsp;<br><font color="#0000ff" size="3">and .dll . but I get many errors when I use it . the error is : there is a conflict ......
</font><br><font color="#0000ff" size="3"></font>&nbsp;<br><font color="#0000ff" size="3">&nbsp;&nbsp;&nbsp; I have compile VTK 5.0.3 , is there a conflict between VTK 5.0.3 and VTK 5.1.0 ? my system is Win </font><br><font color="#0000ff" size="3">
</font>&nbsp;<br><font color="#0000ff" size="3">XP , and I can compile programs with VTK 5.0.3 perfectly . but I can&#39;t use VTK 5.1.0 . so I doubt </font><br><font color="#0000ff" size="3"></font>&nbsp;<br><font color="#0000ff" size="3">
there are three possibilities :</font><br><font color="#0000ff" size="3"></font>&nbsp;<br><font color="#0000ff" size="3">&nbsp;&nbsp;&nbsp; 1 , there really is a conflict between VTK 5.1.0 and VTK 5.0.3 ;</font><br><font color="#0000ff" size="3">
</font>&nbsp;<br><font color="#0000ff" size="3">&nbsp;&nbsp;&nbsp; 2 , the library paths have changed in the new edition ;</font><br><font color="#0000ff" size="3"></font>&nbsp;<br><font color="#0000ff" size="3">&nbsp;&nbsp;&nbsp; 3 , there is some problem with my compile environment : because I know the VTK 
5.1.0 can&nbsp;&nbsp;&nbsp;&nbsp; </font><br><font color="#0000ff" size="3"></font>&nbsp;<br><font color="#0000ff" size="3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; compile and use in VC++ 8.0 from one of my internet friends . and that is to say , I have&nbsp; </font><br><font color="#0000ff" size="3">
</font>&nbsp;<br><font color="#0000ff" size="3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to compile it in VC++8.0 and then I can use VTK 5.1.0 ? </font><br><font color="#0000ff" size="3"></font>&nbsp;<br><font color="#0000ff" size="3">&nbsp;&nbsp;&nbsp; who can help me ? who can tell me how to compile VTK 
5.1.0 in VC++6.0 &amp; Win XP ? who can tell me </font><br><font color="#0000ff" size="3"></font>&nbsp;<br><font color="#0000ff" size="3">how to set the libraries paths ( if the set method has changed ) ? </font><br><font color="#0000ff" size="3">
</font>&nbsp;<br><font color="#0000ff" size="3">&nbsp;&nbsp;&nbsp; thank you and with great regards !</font><br><font color="#0000ff" size="3"></font>&nbsp;<br><font color="#0000ff" size="3">&nbsp;&nbsp;&nbsp; Mark </font><br><br><br>
<hr>
使用新一代 Windows Live Messenger 轻松交流和共享! <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://messenger.live.cn/" target="_blank">立即体验!</a></div><br>_______________________________________________<br>This is the private VTK discussion list.
<br>Please keep messages on-topic. Check the FAQ at: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br><br></blockquote></div><br><br clear="all">
<br>-- <br>___________________________________________<br>Andrew J. P. Maclean<br>Centre for Autonomous Systems<br>The Rose Street Building J04<br>The University of Sydney&nbsp;&nbsp;2006&nbsp;&nbsp;NSW<br>AUSTRALIA<br>Ph: +61 2 9351 3283<br>
Fax: +61 2 9351 7474<br>URL: <a href="http://www.acfr.usyd.edu.au/">http://www.acfr.usyd.edu.au/</a><br>___________________________________________