<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Thanks for the reply. I will try it again. And I am suspecting it is
because of the machine I am running. I will change machine and tried
again too.<br><br>I did try checked on VTK_WRAP_TCL. But CMAKE didn't ask for TCL path. (this troubled me too).<br><br>So,
if everything goes well, (including the TCL path), I should get a dll
that can be imported into my tcl, but without the tcl shell and the tcl
interpretor ? What will be the name of the dll ?<br><br>Thanks again.<br><br>Regards<br>S-Y. Chen<br><br><hr id="stopSpelling">From: david.partyka@kitware.com<br>Date: Sun, 6 Mar 2011 08:48:54 -0500<br>Subject: Re: [vtkusers] Problem compiling vtk 5.6.1<br>To: shenyeh_chen@hotmail.com<br>CC: vtkusers@vtk.org<br><br>To build the Tcl wrapping you have set the following CMake options.<div><br></div><div>VTK_WRAP_TCL</div><div><br></div><div><Hit Configure></div><div><br></div><div>TCL_INCLUDE_PATH <Path to Tcl include directory></div>
<div>TCL_LIBRARY <Patch to tcl8x.lib></div><div><br></div><div><br></div><div>Your VS Runtime errors shouldn't be occuring. If they continue to do so can you send us the related build output?<br><br><div class="ecxgmail_quote">
On Sun, Mar 6, 2011 at 5:33 AM, Shen-Yeh Chen <span dir="ltr"><<a href="mailto:shenyeh_chen@hotmail.com">shenyeh_chen@hotmail.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left: 1px solid rgb(204, 204, 204); 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 "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's support team for mode information"<br>
<br>It went on after I hit "OK" 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 "load" 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>                                            </body>
</html>