<br>Hi Le_Maitre,<br><br>It is very likely that you have not configured VTK<br>with Tcl wrapping when you build it.<br><br><br>Please check the value of the variable <br><br> VTK_WRAP_TCL<br><br>in the CMakeCache of your VTK binary build.<br>
<br><br>---<br><br>It may also be that the configuration of your<br>project is finding another VTK build (without<br>Tcl wrapping) in your system.<br><br><br> Regards,<br><br><br> Luis<br><br><br>---------------------------------------------------<br>
<div class="gmail_quote">On Wed, Jul 22, 2009 at 5:27 PM, <a href="mailto:le_maitre@bluewin.ch">le_maitre@bluewin.ch</a> <span dir="ltr"><<a href="mailto:le_maitre@bluewin.ch">le_maitre@bluewin.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Jorge,<br>
<div class="im"><br>
Thank you for your answer !<br>
<br>
</div>I've tried with TCL3 but I have still the same error (Unknown command VTK_WRAP_TCL3)<br>
-----------------------------<br>
<div><div></div><div class="h5">Try witj the VTK_WRAP_TCL3. This one will work for the latest version of<br>
VTK.<br>
<br>
Note that VTK_WRAP_TCL3 syntax is different:<br>
<br>
Example:<br>
VTK_WRAP_TCL3 (vtklibTCL Kit_lib_TCL_SRCS "${Kit_Lib_SRCS} " "")<br>
<br>
J. Ballesteros<br>
<br>
On Wed, 2009-07-22 at 12:47 +0000, <a href="mailto:le_maitre@bluewin.ch">le_maitre@bluewin.ch</a> wrote:<br>
> Hi,<br>
><br>
> I’m trying to build the application ItkVtk from the InsightAplication but I have this error<br>
> When I use CMake<br>
><br>
> CMake Warning (dev) in CMakeLists.txt:<br>
><br>
> CMake Error at Common/CMakeLists.txt:76 (VTK_WRAP_TCL2):<br>
> Unknown CMake command "VTK_WRAP_TCL2".<br>
> Configuring incomplete, errors occurred!<br>
><br>
> I heard that VTK_WRAP_TCL2 was removed in the latest version, was it ?<br>
><br>
> I’d like to know how I can build this application even if I don’t have VTK_WRAP_TCL2 ?<br>
><br>
> Thanks<br>
><br>
> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
<br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
<br>
> Please keep messages on-topic and check the ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
<br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><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<br>
<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 ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br>