<div dir="ltr"><div><div>Hi Bill, Hans, Matt, <br><br></div>To account for the different VTK backends, you could introduce an option named ITK_VTK_BACKEND that would default to "OpenGL", that way you would specific VTK components using "vtkRendering${ITK_VTK_BACKEND}".<br><br></div>To account for the fact recent version of VTK do not provide vtkRenderingFreeType${ITK_VTK_BACKEND} [1], you could add a compile test internally calling "find_package(VTK)" and checking if the target "vtkRenderingFreeType${ITK_VTK_BACKEND}" exists using "if(TARGET vtkRenderingFreeType${ITK_VTK_BACKEND})".<br><div><div><br></div><div>Hth<br></div><div>Jc<br></div><div><br>[1] <a href="https://github.com/Kitware/VTK/commit/4f7460a57">https://github.com/Kitware/VTK/commit/4f7460a57</a><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 21, 2015 at 11:40 AM, 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">I think we need to revert the patch. Since vtkRenderingFreeTypeOpenGL<br>
is now gone from VTK, the warnings go away (I'm verifying that now).<br>
It does mean that using a VTK prior to the removal of that module,<br>
users will get the warning.<br>
<br>
Bill<br>
<br>
On Tue, Apr 21, 2015 at 11:37 AM, Johnson, Hans J<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:hans-johnson@uiowa.edu">hans-johnson@uiowa.edu</a>> wrote:<br>
> Mac build, but with fairly up-to-date version of VTK.<br>
><br>
> Hans<br>
><br>
>> On Apr 21, 2015, at 10:15 AM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<br>
>><br>
>> I see it also on my Mac. I'll investigate.<br>
>><br>
>> On Tue, Apr 21, 2015 at 11:11 AM, Johnson, Hans J<br>
>> <<a href="mailto:hans-johnson@uiowa.edu">hans-johnson@uiowa.edu</a>> wrote:<br>
>>> Matt and Bill,<br>
>>><br>
>>> I think a new bug has been introduced for ITK.<br>
>>><br>
>>><br>
>>><br>
>>> CMake Error at<br>
>>> /scratch/johnsonhj/src/BT-bld/VTK/CMake/vtkModuleAPI.cmake:120 (message):<br>
>>> Requested modules not available:<br>
>>><br>
>>> vtkRenderingFreeTypeOpenGL<br>
>>> Call Stack (most recent call first):<br>
>>> Modules/Bridge/VtkGlue/CMakeLists.txt:31 (vtk_module_config)<br>
>>><br>
>>><br>
>>> -- Configuring incomplete, errors occurred!<br>
>>> See also<br>
>>> "/scratch/johnsonhj/src/BT-bld/ITKv4-build/CMakeFiles/CMakeOutput.log".<br>
>>> See also<br>
>>> "/scratch/johnsonhj/src/BT-bld/ITKv4-build/CMakeFiles/CMakeError.log".<br>
>>> make[2]: *** [ITKv4-prefix/src/ITKv4-stamp/ITKv4-configure] Error 1<br>
>>> make[1]: *** [CMakeFiles/ITKv4.dir/all] Error 2<br>
>>> make: *** [all] Error 2<br>
>>><br>
>>> Hans<br>
>>><br>
>>><br>
>>> ========================================================================<br>
>>> Hans J. Johnson, Ph.D., Associate Professor<br>
>>> Electrical and Computer Engineering (Primary), Biomedical Engineering,<br>
>>> Psychiatry<br>
>>> <a href="mailto:hans-johnson@uiowa.edu">hans-johnson@uiowa.edu</a><br>
>>> <a href="tel:%28319%29%20621%207185" value="+13196217185">(319) 621 7185</a> (cell)<br>
>>> <a href="tel:%28319%29%20384%203538" value="+13193843538">(319) 384 3538</a> ECE Phone (Primary)<br>
>>> <a href="tel:%28319%29%20353%208587" value="+13193538587">(319) 353 8587</a> Psychiatry Phone (Secondary)<br>
>>><br>
>>> 4316 Seamans Center<br>
>>> Iowa City, IA 52242<br>
>>><br>
>>><br>
>>><br>
>>> ________________________________<br>
>>> Notice: This UI Health Care e-mail (including attachments) is covered by the<br>
>>> Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential<br>
>>> and may be legally privileged. If you are not the intended recipient, you<br>
>>> are hereby notified that any retention, dissemination, distribution, or<br>
>>> copying of this communication is strictly prohibited. Please reply to the<br>
>>> sender that you have received the message in error, then delete it. Thank<br>
>>> you.<br>
>>> ________________________________<br>
>><br>
>><br>
>><br>
>> --<br>
>> Unpaid intern in BillsBasement at noware dot com<br>
><br>
><br>
><br>
> ________________________________<br>
> Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you.<br>
> ________________________________<br>
<br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<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>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://kitware.com/products/protraining.php" target="_blank">http://kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<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://public.kitware.com/mailman/listinfo/insight-developers" target="_blank">http://public.kitware.com/mailman/listinfo/insight-developers</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">+1 919 869 8849<br></div>
</div>