[vtkusers] Re: RE: VTK-Borland Render Window

dean.inglis at camris.ca dean.inglis at camris.ca
Fri Jun 29 23:43:43 EDT 2007


Hi Oscar,

are you seeing this error when you try
to quit the application? When does the
error occur?  Debug MinSizeRel or Release
modes should not make any difference.
Are you building with shared (dll's) 
or static libs ?: this will make a difference
in how you have to end the Borland application.

Dean

> Your tips was right, and finally compile & run Project_vtkDemo, but
> meanwhile I got another error, i'm trying to correct it but it is
> persistent.
> The error ocurs once I run Project_vtkDemo and said something like
> 'ERROR:.... trying to delete object with non-zero reference count', I have
> been reading in mail_list I'm not the only one with this problem
> 
> The PC has
> WindowsXP Pro ServicePack2
> VTK-5.0.3
> CMAKE-2.4.6
> Borland C++ Builder 5 (bcc 55)
> 
> I try changing CMAKE_BUILD_TYPE: MinSizeRel / Debug / Release
>            and BUILD_SHARED_LIBS: On / Off
> 		  doesn't work
> 
> Somebody can tell me, what's wrong
> 
> Oscar Gutiérrez Luna
> CIMAT A. C.
> Office: J4
> Tel.: 73 271-55 ext. 49672
>      -----Mensaje original-----
>      De: Dean Inglis [mailto:dean.inglis at camris.ca] 
>      Enviado el: Miércoles, 27 de Junio de 2007 08:48 p.m.
>      Para: vtkusers archive
>      CC: olguna at cimat.mx
>      Asunto: Re: VTK-Borland Render Window
>      
>      Hi Oscar,
>      
>      make sure you add the library files to your project and
>      add the paths to where the include files are for those
>      libraries.  vtkOutlineSource is part of vtkGraphics.lib
>      and its header file is in VTK/Graphics.  If you have done
>      all that and the error persists, then add #include 
>      "vtkOutlineSource.h"
>      to vtkBorlandRenderWindow.cpp
>      
>      Dean
>      
>      
>      I try to install VTKBorlandRenderWindow in Borland C++ Builder 5.
>      I read the package creation steps in Readme.txt but i have 
>      an error when i
>      compile the package : the message is
>      
>      [Linker Error] Unresolved external 
>      'vtkOutlineSource::New()' referenced from
>      C:\ITK-VTK\BINARY 
>      BORLAND\VTK-BINARY\BIN\VTKRENDERING.LIB|vtkInteractorStyle
>   
> 



More information about the vtkusers mailing list