To build the Tcl wrapping you have set the following CMake options.<div><br></div><div>VTK_WRAP_TCL</div><div><br></div><div>&lt;Hit Configure&gt;</div><div><br></div><div>TCL_INCLUDE_PATH &lt;Path to Tcl include directory&gt;</div>

<div>TCL_LIBRARY &lt;Patch to tcl8x.lib&gt;</div><div><br></div><div><br></div><div>Your VS Runtime errors shouldn&#39;t be occuring. If they continue to do so can you send us the related build output?<br><br><div class="gmail_quote">

On Sun, Mar 6, 2011 at 5:33 AM, Shen-Yeh Chen <span dir="ltr">&lt;<a href="mailto:shenyeh_chen@hotmail.com">shenyeh_chen@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div>
Hello everyone<br><br>I am new to vtk, so please forgive me if I am not making any sense.<br><br>I have my only of Tcl/Tk, which is customize from a standard Tcl/tk 8.5.7, and I am hoping to build a dll of vtk so I can import into my own tcl/tk and then use it.<br>

<br>So I downloaded cmake 2.8.4 and the source distribution of  vtk 5.6.1, and tried to pay with it.<br><br>I configured CMAKE for VS 2005 wind32, checked on BUILD_SHARED_LIBS, and then BUILD in VS 2005. <br><br>During the build, VS2005 gave and error message of &quot;Microsoft Visual C++ Runtime Library : Run Time Error . Program ........... R6034 An application has made an attempt to load the C runtime incorrectly. Please contact the application&#39;s support team for mode information&quot;<br>

<br>It went on after I hit &quot;OK&quot; several times anyway (it still went on even if I just left the error message box there). After the build, there are a lot .lib, .exe and .dll under the directory \bin\release.<br>

<br>But the directory \ALL_BUILD.dir\release is empty.<br><br>So, now the problem is<br><br>(1) which dll is the one that I can use to &quot;load&quot; into Tcl/Tk ?  <br>(2) Did I do anything wrong to cause the error message ? Does it matter ?<br>

<br>Thanks again for the help.<br><br>Regards<br>S-Y. Chen<br><br><br><br><br><br><br><br>                                               </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>
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>
<br></blockquote></div><br></div>