[vtkusers] vtkFreeTypeUtilities.h includes FTGL.h?
Benoit Scherrer
benoitscherrer at gmail.com
Wed Dec 12 20:27:32 EST 2012
Hi,
I just tried again with the last version of VTK on the repository and
nothing has not changed about that.
It seems that anybody wanting to use vtkFreeTypeUtilities.h cannot compile
their application with an install
version of VTK. Isn t it a major bug? Or are we not supposed to use
vtkFreeTypeUtilities.h ?
Thanks a lot!
B
On Fri, Nov 4, 2011 at 3:59 PM, Sean McBride <sean at rogue-research.com>wrote:
> On Fri, 4 Nov 2011 15:22:04 -0400, Benoit Scherrer said:
>
> >I just pulled the new version of VTK today and compiled it: no problem.
> >However my program using VTK was not compiling anymore.
> >
> >The problem comes from i'm using vtkFreeTypeUtilities.h .
> >This file now includes FTGL.h, which is not in the 'Install' output of VTK
> >(but in Utilities/ftgl of the source of VTK).
> >
> >I just commented the line '#include <FTGL.h>' in vtkFreeTypeUtilities.h
> >and it seems it was not necessary, everything works fine.
>
> 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.
>
> Maybe FTGL.h should be installed, I dunno.
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng sean at rogue-research.com
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121212/1cba9c9d/attachment.htm>
More information about the vtkusers
mailing list