[vtkusers] Unresolved externals due to vtkObjectBase

Dean Inglis dean.inglis at on.aibn.com
Wed Jun 19 11:28:25 EDT 2002


Hi

I just figured that vtk 4 isn't compiling vtkObjectBase on Proximal.CRU
(Win2k, Borland)
due to a fail during the link for the freetype lib work in progress.

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Unable to open file 'GLU32.LIB'

** error 1 ** deleting c:\Builder\Vtk\bin\vtkftgl.dll

Can you tell me how to add the path to glu32.lib in the CMakeCache file? I
think
it goes here with import32.lib:

CMAKE_STANDARD_WINDOWS_LIBRARIES:STRING=import32.lib

and is found in my compiler in a subdir from where import32.lib is stored:

C:\Program files\Borland\CBuilder5\Lib\import32.lib
C:\Program files\Borland\CBuilder5\Lib\PSDK\glu32.lib

I'm not sure, but it may be that with Borland you don't need to explicitly
include glu32.lib, just import32.lib.

Dean

-----Original Message-----
From: Andy Cedilnik [mailto:andy.cedilnik at kitware.com]
Sent: June 19, 2002 11:10 AM
To: Dean Inglis
Cc: vtkusers
Subject: Re: [vtkusers] Unresolved externals due to vtkObjectBase


Hi Dean,

Try updating VTK and rerun CMake.

			Andy

On Wed, 2002-06-19 at 11:02, Dean Inglis wrote:
> Hi,
>
> I have a set of vtk classes set up as in /Examples/Build/vtkMy that won't
> link (Borland) today:
>
> Error: Unresolved external 'vtkObjectBase::Delete()' referenced from
> C:\BUILDER\VTKMY\HYBRID\VTKANATOMICALLABEL.OBJ
> Error: Unresolved external 'vtkObject::UnRegister(vtkObjectBase *)'
> referenced from C:\BUILDER\VTKMY\HYBRID\VTKANATOMICALLABEL.OBJ
> Error: Unresolved external 'vtkObjectBase::operator delete(void *)'
> referenced from C:\BUILDER\VTKMY\HYBRID\VTKANATOMICALLABEL.OBJ
> Error: Unresolved external 'vtkObjectBase::~vtkObjectBase()' referenced
from
> C:\BUILDER\VTKMY\HYBRID\VTKANATOMICALLABEL.OBJ
> Error: Unresolved external 'vtkObjectBase::Register(vtkObjectBase *)'
> referenced from C:\BUILDER\VTKMY\HYBRID\VTKIMAGEPLANEWIDGET2.OBJ
>
> Any help would be appreciated...
>
> Dean
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers







More information about the vtkusers mailing list