[vtkusers] Freetype problem when compiling vtk nightly on Mac OS X 10.4.8

Alexander Antonov ava04 at doc.ic.ac.uk
Wed Jan 3 09:23:36 EST 2007


Hi all,

I get the following symbol error when compiling VTK from CVS

--------------
Linking CXX shared library ../../bin/libvtkftgl.dylib
ld: Undefined symbols:
_vtk_freetype_FT_Glyph_Get_CBox
_vtk_freetype_FT_Glyph_To_Bitmap
_vtk_freetype_FT_Get_Char_Index
_vtk_freetype_FT_Select_Charmap
_vtk_freetype_FT_Set_Charmap
_vtk_freetype_FT_Attach_File
_vtk_freetype_FT_Done_Face
_vtk_freetype_FT_Get_Glyph
_vtk_freetype_FT_Get_Kerning
_vtk_freetype_FT_Load_Glyph
_vtk_freetype_FT_New_Face
_vtk_freetype_FT_New_Memory_Face
_vtk_freetype_FT_Done_Glyph
_vtk_freetype_FT_Done_FreeType
_vtk_freetype_FT_Init_FreeType
_vtk_freetype_FT_Set_Char_Size
/usr/bin/libtool: internal link edit command failed
make[2]: *** [bin/libvtkftgl.5.1.0.dylib] Error 1
make[1]: *** [Utilities/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2
make: *** [all] Error 2
-------------------

And indeed when I check the freetype library with "otool -Iv bin/ 
libvtkfreetype.dylib | grep _vtk", I can't find these symbols.
Any ideas about what I'm doing wrong (or is this a bug?).

Many thanks,
Alex






More information about the vtkusers mailing list