[vtkusers] vtk build error

Jens Frederich jfrederich at gmail.com
Fri Jul 22 16:33:12 EDT 2005


Hello,

I've a question please.
I would compile vtk4.4 on gentoo linux. I become the following error 
message.
What is the problem please.

Jens


Building CXX object Patented/vtkPatentedTCL.dir/vtkKitwareCutterTcl.o
Building CXX object Rendering/vtkRendering.dir/vtkFreeTypeFontCache.o
Building CXX object 
Patented/vtkPatentedTCL.dir/vtkMarchingContourFilterTcl.o
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:21:31: 
vtkfreetypeConfig.h: No such file or directory
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:22:27: 
vtkftglConfig.h: No such file or directory
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:23:23: 
FTLibrary.h: No such file or directory
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:24:65: 
FTGLPixmapFont.h: No such file or directory
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:25:79: 
FTGLBitmapFont.h: No such file or directory
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx: In 
constructor `vtkFreeTypeFontCacheCleanup::vtkFreeTypeFontCacheCleanup()':
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:75: 
error: `
FTLibraryCleanup' undeclared (first use this function)
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:75: 
error: (Each
undeclared identifier is reported only once for each function it appears 
in.)
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:75: 
error: parse
error before `::' token
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx: In 
member function `void vtkFreeTypeFontCache::PrintEntry(int, char*)':
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:180: 
error: `
Face' undeclared (first use this function)
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx: In 
member function `void vtkFreeTypeFontCache::ReleaseEntry(int)':
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:203: 
warning: possible
problem detected in invocation of delete operator:
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:203: 
warning: invalid
use of undefined type `struct FTFont'
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.h:57: 
warning: forward
declaration of `struct FTFont'
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:203: 
note: neither
the destructor nor the class-specific operator delete will be called, even 
if they are declared when the class is defined.
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx: In 
member function `vtkFreeTypeFontCache::Entry* 
vtkFreeTypeFontCache::GetFont(vtkTextProperty*, int, unsigned char, unsigned 

char, unsigned char)':
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:343: 
error: parse
error before `;' token
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:347: 
error: parse
error before `;' token
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:355: 
error: `
Open' undeclared (first use this function)
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:358: 
warning: possible
problem detected in invocation of delete operator:
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:340: 
warning: `
font' has incomplete type
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.h:57: 
warning: forward
declaration of `struct FTFont'
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:358: 
note: neither
the destructor nor the class-specific operator delete will be called, even 
if they are declared when the class is defined.
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:373: 
error: `
Attach' undeclared (first use this function)
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:448: 
warning: possible
problem detected in invocation of delete operator:
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:340: 
warning: `
font' has incomplete type
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.h:57: 
warning: forward
declaration of `struct FTFont'
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:448: 
note: neither
the destructor nor the class-specific operator delete will be called, even 
if they are declared when the class is defined.
/var/tmp/portage/vtk-4.4.0/work/VTK/Rendering/vtkFreeTypeFontCache.cxx:455: 
error: `
FaceSize' undeclared (first use this function)
make[2]: *** [Rendering/vtkRendering.dir/vtkFreeTypeFontCache.o] Error 1
make[1]: *** [Rendering/vtkRendering.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Building CXX object Patented/vtkPatentedTCL.dir/vtkMarchingCubesTcl.o
Building CXX object Patented/vtkPatentedTCL.dir/vtkMarchingSquaresTcl.o
Building CXX object 
Patented/vtkPatentedTCL.dir/vtkRectilinearSynchronizedTemplatesTcl.o
Building CXX object Patented/vtkPatentedTCL.dir/vtkSliceCubesTcl.o
Building CXX object Patented/vtkPatentedTCL.dir/vtkSweptSurfaceTcl.o
Building CXX object 
Patented/vtkPatentedTCL.dir/vtkSynchronizedTemplates2DTcl.o
Building CXX object 
Patented/vtkPatentedTCL.dir/vtkSynchronizedTemplates3DTcl.o
Linking CXX shared library bin/libvtkPatentedTCL.so
make: *** [all] Error 2

!!! ERROR: sci-libs/vtk-4.4.0 failed.
!!! Function src_compile, Line 80, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status 
message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050722/2d392842/attachment.htm>


More information about the vtkusers mailing list