[vtkusers] vtk42 using with Borland 5 builder

Mario Medved mario.medved at fe.uni-lj.si
Thu Apr 7 05:05:31 EDT 2005


Hi Wienand,

I think that the libraries you installed are VC++ libraries and not
Borland...

I am using VTK with Borland for more than 3 years and I find it the easiest
way to do that is to compile the VTK yourself (using CMake, this process is
very easy). Then include the LIBS and that is all (you will not need DLLs
anymore if you compile it with default settings).

Bye,
Mario

-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf
Of Wienand Drenth
Sent: 7. april 2005 7:24
To: vtkusers at vtk.org
Subject: [vtkusers] vtk42 using with Borland 5 builder

Hello all

I am trying to use vtk42 with Borland c++ builder.
To do so, I downloaded the .exe file and installed the libraries etc. 
So, in my vtk42 dir I have an include, a lib, a bin, etc subdirs. This 
looked ok to me. I supposed I didn't have to do any further compiling 
whatsoever.
In order to test the libraries, I used the first example on the vtk 
website, the one with the Sphere. I made a new Borland project 
(equivalent to the main variant), included the required header files. 
But it didn't work, with the linker errors below as result:

[Linker Error] Unresolved external 'vtkSphereSource::New()' referenced 
from D:\TOOLS\VTKTEST\UNIT1.OBJ

What did I do wrong? Since I got no errors on the inclusion of the libs 
and include files, I suppose that part went well.
I hope someone did solve this problem, and I would appreciate very much 
any tips and hints so I can go further with my projects!
Many thanks in advance!

Regards,
Wienand Drenth
_______________________________________________
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