[vtkusers] Problem vtk-5.3 error while building libvtkexollc.dylib
Elvis Dowson
elvis.dowson at mac.com
Tue Sep 23 12:59:03 EDT 2008
Hi,
I'm getting an error while running make, for the vtk-5.x
(vtk-5.3) cvs development branch.
I am attaching a copy of my CMakeCache.txt file.
I think this has something to do when I enable the following flags and
attempt to build shared libraries:
VTK_USE_SYSTEM_EXPAT=ON
VTK_USE_SYSTEM_FREETYPE=ON
VTK_USE_SYSTEM_JPEG=ON
VTK_USE_SYSTEM_LIBXML2=ON
VTK_USE_SYSTEM_PNG=ON
VTK_USE_SYSTEM_TIFF=ON
VTK_USE_SYSTEM_ZLIB=ON
If I leave these settings to the default OFF state, there is no problem.
Best regards,
Elvis Dowson
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeCache1.txt
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080923/4131dd0d/attachment.txt>
-------------- next part --------------
Linking C shared library ../../bin/libvtkexoIIc.dylib
[ 11%] Built target vtkexoIIc
make: *** [all] Error 2
elvis-dowsons-macbook-pro:vtkbuild-carbon elvis$ make -j 2
[ 0%] Built target vtkDICOMParser
[ 0%] Built target vtksys
[ 1%] Built target vtkverdict
[ 2%] Built target vtkNetCDF
[ 2%] Built target vtksqlite
[ 3%] Built target vtkmetaio
[ 3%] Built target vtkEncodeString
[ 3%] Building CXX object Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/
FTBitmapGlyph.o
In file included from /Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/
vtk_freetype.h:22,
from /Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/
ftgl/src/FTBitmapGlyph.h:5,
from /Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/
ftgl/src/FTBitmapGlyph.cpp:1:
/usr/local/include/ft2build.h:56:38: error: freetype/config/
ftheader.h: No such file or directory
In file included from /Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/
src/FTBitmapGlyph.cpp:1:
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.h:
6:10: error: #include expects "FILENAME" or <FILENAME>
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.h:
7:10: error: #include expects "FILENAME" or <FILENAME>
In file included from /Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/
src/FTBitmapGlyph.h:10,
from /Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/
ftgl/src/FTBitmapGlyph.cpp:1:
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTGlyph.h:5:10:
error: #include expects "FILENAME" or <FILENAME>
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTGlyph.h:6:10:
error: #include expects "FILENAME" or <FILENAME>
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTGlyph.h:28:
error: expected `)' before 'glyph'
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTGlyph.h:92:
error: expected ',' or '...' before '&' token
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTGlyph.h:93:
error: ISO C++ forbids declaration of 'FT_Vector' with no type
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTGlyph.h:114:
error: 'FT_Error' does not name a type
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTGlyph.h:125:
error: 'FT_Vector' does not name a type
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTGlyph.h:136:
error: 'FT_Error' does not name a type
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTGlyph.h:139:
error: 'FT_Glyph' does not name a type
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.h:
31: error: expected `)' before 'glyph'
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.h:
44: error: expected ',' or '...' before '&' token
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.h:
45: error: ISO C++ forbids declaration of 'FT_Vector' with no type
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.h:
65: error: expected ',' or '...' before '&' token
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.h:
66: error: ISO C++ forbids declaration of 'FT_Vector' with no type
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
7: error: expected `)' before '_glyph'
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/
FTBitmapGlyph.cpp: In member function 'virtual void
FTBitmapGlyph::ConvertGlyph()':
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
21: error: 'err' was not declared in this scope
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
21: error: 'glyph' was not declared in this scope
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
21: error: 'ft_render_mode_mono' was not declared in this scope
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
21: error: 'FT_Glyph_To_Bitmap' was not declared in this scope
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
22: error: 'ft_glyph_format_bitmap' was not declared in this scope
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
22: error: 'class FTBitmapGlyph' has no member named 'glyph'
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
25: error: 'FT_BitmapGlyph' was not declared in this scope
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
25: error: expected `;' before 'bitmap'
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
26: error: 'FT_Bitmap' was not declared in this scope
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
26: error: 'source' was not declared in this scope
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
26: error: 'bitmap' was not declared in this scope
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
48: error: 'size_t' was not declared in this scope
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
48: error: expected `;' before 'dest_step'
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
58: error: 'dest_step' was not declared in this scope
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
76: error: 'pos' was not declared in this scope
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/
FTBitmapGlyph.cpp: At global scope:
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
89: error: expected ',' or '...' before '&' token
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
90: error: ISO C++ forbids declaration of 'FT_Vector' with no type
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/
FTBitmapGlyph.cpp: In member function 'virtual float
FTBitmapGlyph::Render(int)':
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
107: error: 'pen' was not declared in this scope
/Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ftgl/src/FTBitmapGlyph.cpp:
107: error: 'context' was not declared in this scope
make[2]: *** [Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/
FTBitmapGlyph.o] Error 1
make[1]: *** [Utilities/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 11%] Built target vtkexoIIc
make: *** [all] Error 2
More information about the vtkusers
mailing list