Hi,<div><br></div><div>I just tried again with the last version of VTK on the repository and nothing has not changed about that.</div><div>It seems that anybody wanting to use <span class="" style="font-size:13px;font-family:arial,sans-serif">vtkFreeTypeUtilities</span><span style="font-size:13px;font-family:arial,sans-serif">.</span><span class="" style="font-size:13px;font-family:arial,sans-serif">h cannot compile their application with an install</span></div>
<div><span class="" style="font-size:13px;font-family:arial,sans-serif">version of VTK. </span><span class="" style="font-size:13px;font-family:arial,sans-serif">Isn t it a major bug? Or are we not supposed to use </span><span class="" style="font-size:13px;font-family:arial,sans-serif">vtkFreeTypeUtilities</span><span style="font-size:13px;font-family:arial,sans-serif">.</span><span class="" style="font-size:13px;font-family:arial,sans-serif">h ?</span></div>
<div><span class="" style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div><span class="" style="font-size:13px;font-family:arial,sans-serif">Thanks a lot!</span></div><div><span class="" style="font-size:13px;font-family:arial,sans-serif">B</span></div>
<div><span class="" style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 4, 2011 at 3:59 PM, Sean McBride <span dir="ltr"><<a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, 4 Nov 2011 15:22:04 -0400, Benoit Scherrer said:<br>
<br>
>I just pulled the new version of VTK today and compiled it: no problem.<br>
>However my program using VTK was not compiling anymore.<br>
><br>
>The problem comes from i'm using vtkFreeTypeUtilities.h .<br>
>This file now includes FTGL.h, which is not in the 'Install' output of VTK<br>
>(but in Utilities/ftgl of the source of VTK).<br>
><br>
>I just commented the line '#include <FTGL.h>' in vtkFreeTypeUtilities.h<br>
>and it seems it was not necessary, everything works fine.<br>
<br>
</div></div>My guess is vtkFreeTypeUtilities.h includes FTGL.h because it's FTGL.h that #defines FTGL_USE_NAMESPACE, and vtkFreeTypeUtilities.h tests if it is defined. So it may still compile after you removed it, but it's probably compiling something different.<br>
<br>
Maybe FTGL.h should be installed, I dunno.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
____________________________________________________________<br>
Sean McBride, B. Eng <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>
Rogue Research <a href="http://www.rogue-research.com" target="_blank">www.rogue-research.com</a><br>
Mac Software Developer Montréal, Québec, Canada<br>
<br>
<br>
</font></span></blockquote></div><br></div>