[vtkusers] errors in borland
Renato Cesar Pompeu
rcpompeu at hotmail.com
Tue Sep 18 12:39:55 EDT 2007
Hi,
I´m using VTK with Borland C++ Builder 6. When I try to use vtkScalarBarActor as in this example, it gives error message. What´s wrong??
Thanks,
Renato
...
vtkLookupTable* Table = vtkLookupTable::New(); Table->SetNumberOfColors(100); Table->SetHueRange(0, 1); Table->SetRange(rgrid->GetScalarRange()); Table->Build();
vtkDataSetMapper* rgridMapper = vtkDataSetMapper::New(); rgridMapper->SetInput(rgrid); rgridMapper->SetScalarRange(rgrid->GetScalarRange()); rgridMapper->SetLookupTable(Table);
vtkProperty2D *propriedades2D = vtkProperty2D::New(); vtkTextProperty *propriedadesTexto = vtkTextProperty::New(); vtkScalarBarActor *barra = vtkScalarBarActor::New();
propriedades2D->SetColor(0, 0, 0); propriedades2D->SetLineWidth(1); propriedadesTexto->SetFontFamilyToCourier(); propriedadesTexto->SetColor(0, 0, 0); propriedadesTexto->SetFontSize(2); propriedadesTexto->SetShadow(2);
barra->SetLookupTable(Table); barra->SetProperty(propriedades2D); barra->SetTitle("Escalares"); barra->SetTitleTextProperty(propriedadesTexto); barra->SetWidth(.18); barra->SetLabelTextProperty(propriedadesTexto);
...
Error message:
[Linker Error] Unresolved external 'FTFont::~FTFont()' referenced from C:\VTKBIN_BORLAND\BIN\VTKRENDERING.LIB|vtkFreeTypeFontCache
[Linker Error] Unresolved external 'FTFace::~FTFace()' referenced from C:\VTKBIN_BORLAND\BIN\VTKRENDERING.LIB|vtkFreeTypeFontCache
[Linker Error] Unresolved external 'FTSize::~FTSize()' referenced from C:\VTKBIN_BORLAND\BIN\VTKRENDERING.LIB|vtkFreeTypeFontCache
[Linker Error] Unresolved external 'FTLibraryCleanup::AddDependency(void (*)())' referenced from C:\VTKBIN_BORLAND\BIN\VTKRENDERING.LIB|vtkFreeTypeFontCache
[Linker Error] Unresolved external 'FTGLPixmapFont::~FTGLPixmapFont()' referenced from C:\VTKBIN_BORLAND\BIN\VTKRENDERING.LIB|vtkFreeTypeFontCache
[Linker Error] Unresolved external 'FTGLBitmapFont::~FTGLBitmapFont()' referenced from C:\VTKBIN_BORLAND\BIN\VTKRENDERING.LIB|vtkFreeTypeFontCache
[Linker Error] Unresolved external 'FTGLBitmapFont::FTGLBitmapFont()' referenced from C:\VTKBIN_BORLAND\BIN\VTKRENDERING.LIB|vtkFreeTypeFontCache
.
.
.
13 errors.
_________________________________________________________________
Receba as últimas notícias do Brasil e do mundo direto no seu Messenger com Alertas MSN! É GRÁTIS!
http://alertas.br.msn.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070918/c79c643b/attachment.htm>
More information about the vtkusers
mailing list