<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br>1. I clear up the cache, and reload cmake again.<br><br>2. I hit "Configure", and then the vtk project is loaded, with build options displayed.<br><br>3. I check on VTK_WRAP_TCL, and hit on configure again, now cmake gave me error message of <br>"Error in configuration process, project file may be invalid".<br><br>Well, what could be wrong here ? <br><br>I am using cmake 2.8.4,  vtk 5.6.1 Windows XP, VS2005 SP1<br><br>Thanks again for the help<br><br>Regards<br>S-Y. Chen<br><br><br><br><hr id="stopSpelling">From: david.partyka@kitware.com<br>Date: Mon, 7 Mar 2011 06:16:00 -0500<br>Subject: Re: [vtkusers] Problem compiling vtk 5.6.1<br>To: shenyeh_chen@hotmail.com<br>CC: vtkusers@vtk.org<br><br>Each of VTK's libraries will have a wrapped version for example vtkCommonTCL.dll. Also there will be an executable vtk.exe which is a tcl interpreter setup with VTK.<br><br><div class="ecxgmail_quote">On Mon, Mar 7, 2011 at 3:40 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="ecxgmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



<div><div class="ecxim">
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 ?&nbsp; What will be the name of the dll ?<br><br>Thanks again.<br><br>Regards<br>S-Y. Chen<br><br><hr>From: <a href="mailto:david.partyka@kitware.com">david.partyka@kitware.com</a><br>Date: Sun, 6 Mar 2011 08:48:54 -0500<br>

Subject: Re: [vtkusers] Problem compiling vtk 5.6.1<br>To: <a href="mailto:shenyeh_chen@hotmail.com">shenyeh_chen@hotmail.com</a><br>CC: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>

<br></div><div><div></div><div class="h5">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't be occuring. If they continue to do so can you send us the related build output?<br><br><div>

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 style="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&nbsp; 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 ?&nbsp; <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>                                               </div></div></div>
</blockquote></div><br>                                               </body>
</html>