[vtk-developers] bug: include ordering incorrect when compiling freetype in vtk

Michael Halle mhalle at bwh.harvard.edu
Wed Dec 4 13:26:00 EST 2002


I got CMake 1.4.6 and the CVS version of VTK just now.  It looks like that
when the internal freetype library gets compiled, the compile command line
includes /usr/local/include before the freetype/include internal files.
This problem can lead to a version mismatch (I have an older freetype
installed in my /usr/local/include and the headers from it were being
included).

For completeness, here's the offending compiler command line.  In order,
we've got VTK stuff, VTK/Utilities stuff, /usr/local/include, ftgl, and
freetype.  I'd guess the ordering should put /usr/local/include at the
end.

I am too shy of the build system to make this change myself.

--Mike


c++  -Dvtkftgl_EXPORTS -fPIC -I/proj2/src/vtk4-nightly/VTK/Utilities/ftgl
-I/proj2/src/vtk4-nightly/VTK/Rendering
-I/proj2/src/vtk4-nightly/VTK/Hybrid
-I/proj2/src/vtk4-nightly/VTK/Patented -I/proj2/src/vtk4-nightly/solaris
-I/proj2/src/vtk4-nightly/VTK/Common
-I/proj2/src/vtk4-nightly/VTK/Filtering
-I/proj2/src/vtk4-nightly/VTK/Imaging
-I/proj2/src/vtk4-nightly/VTK/Graphics -I/proj2/src/vtk4-nightly/VTK/IO
-I/proj2/src/vtk4-nightly/VTK/Utilities/zlib
-I/proj2/src/vtk4-nightly/solaris/Utilities/zlib
-I/proj2/src/vtk4-nightly/VTK/Utilities/png
-I/proj2/src/vtk4-nightly/solaris/Utilities/png
-I/proj2/src/vtk4-nightly/VTK/Utilities/jpeg
-I/proj2/src/vtk4-nightly/solaris/Utilities/jpeg
-I/proj2/src/vtk4-nightly/VTK/Utilities/tiff
-I/proj2/src/vtk4-nightly/solaris/Utilities/tiff
-I/proj2/src/vtk4-nightly/VTK/Utilities/expat
-I/proj2/src/vtk4-nightly/solaris/Utilities/expat
-I/proj2/src/vtk4-nightly/VTK/Common/Testing/Cxx -I/usr/local/include
-I/proj2/src/vtk4-nightly/VTK/Utilities/ftgl/src
-I/proj2/src/vtk4-nightly/solaris/Utilities/ftgl
-I/proj2/src/vtk4-nightly/VTK/Utilities/freetype/include
-I/proj2/src/vtk4-nightly/solaris/Utilities/freetype   -DVTKFTGL -c
/proj2/src/vtk4-nightly/VTK/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp
-o FTBitmapGlyphRenderOpenGL.o





More information about the vtk-developers mailing list