Hi!<br><br>I have managed to solve my problems just the way Robert proposed. I changed the cMakeOptions.cmake file fixing the lines:<br><br>find_package(VTK REQUIRED)<br>
include(${VTK_USE_FILE})<br><br>and using the VTK_WRAP_TCL3 with the required parameters.<br><br>Thank you very much for the useful info. <br><br>Jorge,<br><br><div class="gmail_quote">2009/4/6 Robert Haines <span dir="ltr">&lt;<a href="mailto:rhaines@manchester.ac.uk">rhaines@manchester.ac.uk</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have Recently upgraded to cmake 2.6 and i noticed that the command VTK_WRAP_TCL used to wrap classes in TCL has been deprecated. I&#39;ve looking around for some info on how to wrap classes in TCL in cmake 2.6 but still got any. I&#39;d appreciate any information or experience you may have on this.<br>

</blockquote>
<br></div>
I think I answered this question back when it was titled &#39;VTK 5.0 TCL Wrapping&#39;...<br>
<br>
You need to pull in the UseVTK.cmake for the version of VTK you are building against, like this:<br>
<br>
find_package(VTK REQUIRED)<br>
include(${VTK_USE_FILE})<br>
<br>
Then you will have access to things like VTK_WRAP_TCL3 *(note the 3 on the end there)* and so on.<br>
<br>
As I recommended before, look at the examples VTK/Examples/Build/vtkMy and VTK/Examples/Build/vtkLocal which are very detailed examples of how to do this. I have based a library of classes on the vtkMy example and it works perfectly wrapping to all languages with VTK 5.2 and 5.4.<br>

<br>
Cheers,<br>
Rob<br><font color="#888888">
<br>
-- <br>
Robert Haines<br>
<br>
Research Associate, RealityGrid          Tel. : +44 (0)161 275 6067<br>
Research Computing Services              Fax. : +44 (0)161 275 0637<br>
University of Manchester                 Email: <a href="mailto:rhaines@manchester.ac.uk" target="_blank">rhaines@manchester.ac.uk</a><br>
Oxford Road                              Web  : <a href="http://www.realitygrid.org" target="_blank">www.realitygrid.org</a><br>
Manchester, M13 9PL                           : <a href="http://www.rcs.manchester.ac.uk" target="_blank">www.rcs.manchester.ac.uk</a><br>
<br>
</font></blockquote></div><br>