<div class="gmail_quote">On Tue, Jul 3, 2012 at 2:01 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Either<br><br>1) Rebuild your ITK with that module included.<br>or<br>2) As described on each example page:<br>If you download the entire ITK Wiki Examples Collection, the ItkVtkGlue
directory will be included and configured. If you wish to just build a
few examples, then you will need to <a href="http://gitorious.org/itkwikiexamples/itkwikiexamples/blobs/raw/master/ItkVtkGlue.tar.gz" rel="nofollow" target="_blank">download ItkVtkGlue</a> and build it. When you run cmake it will ask you to specify the location of the ItkVtkGlue binary directory.<br>
</blockquote><div class="gmail_quote"><br></div>That was not the question. The question is that if ITK has been built WITH ITKVtkGlue, it is not possible (linker errors) to work on a project that does NOT use find_package(VTK). I can't add find_package(VTK) to my ITK-only project CMakeLists.txt files because then users will be forced to comment these lines when they try to build my code, which doesn't make sense at all, and will surely lead to much confusion.<br clear="all">
<br>David</div>