[vtkusers] Solved: Problem with wxVTK, wxGTK and pango

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Feb 9 10:12:00 EST 2005


Jens, Rochard,

	Sorry I missed the beginning of the discussion. Could you tell me which 
version of wxVTK are you using, and which version of VTK are you using ?

	As a side note, VTK now includes freetype 2.1.9 (CVS only), since 8/8/2004.

Mathieu

webstuff at suessstoffersatz.de wrote:
> Hi Jens,
> 
> the hint you gave me was perfect. On the SuSE-machine freetype 2.1.9-3 was
> installed, VTK has freetype 2.1.2. So I took freetype 2.1.9 and copied the
> source into VTK. I deleted all the files from the base-freetype directory
> and took the CMakeLists.txt, .NoDartCoverage, vtkfreetypeConfig.h and
> vtkfreetypeConfig.h.in from the VTK-freetype-directory.
> 
> Inside build/unix/ftconfig.in I changed a section:
> 
>   typedef signed short    FT_Int16;
>   typedef unsigned short  FT_UInt16;
> 
> //#if FT_SIZEOF_INT == 4
> 
>   typedef signed int      FT_Int32;
>   typedef unsigned int    FT_UInt32;
> 
> //#elif FT_SIZEOF_LONG == 4
> 
> //  typedef signed long     FT_Int32;
> //  typedef unsigned long   FT_UInt32;
> 
> //#else
> //#error "no 32bit type found -- please check your configuration files"
> //#endif
> 
> because otherwise he gave me the error.
> 
> Inside CMakeLists.txt there was a now false include, so I changed
> ftconfig.h.in to ftconfig.in.
> 
> I also had to add the following into CMakeLists.txt:
> 
> SET (FREETYPE_SRCS
>   src/base/ftinit.c
>   src/base/ftbase.c
>   src/base/ftglyph.c
> 
> #added by me:
>   src/sfnt/sfnt.c
>   src/lzw/ftlzw.c
>   src/gzip/ftgzip.c
> )
> 
> Then I recompiled VTK and what a relief, the programs compile and work
> with wxGTK and VTK!
> 
> Best wishes
> 
> Richard Freitag
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 




More information about the vtkusers mailing list