[vtkusers] RE: using vtk with Borland Builder 6.0

Xianjin Yang Yang at AGIUSA.COM
Mon Oct 6 10:01:01 EDT 2003


Hi Johnson,

These are basic steps to install VTK for BCB.

1) Download the source code, either stable release such as 4.2 or a less buggy
nightly version based on the dashboard.
2) Create makefiles using Cmake. Be sure to choose a right compiler and build
TCL wrapper for convenience of running TCL example and testing code.
3) Convert TCL libs from coff to omf by following the instruction in the VTK
source directory VTK\README.html (Common Problems), 
"Link error with borland: TCL82.LIB contains invalid OMF record, type 0x21
(possibly COFF). You have to convert Tcl libraires from coff to omf with the
Borland utilitiy coff2omf. Once you have created OMF versions, re-run cmake to
tell it where the Borland versions of Tcl and Tk are located. Also, make sure
that you are using Tcl/Tk 8.3.2. "
4) Go to the directory where you create the makefile, and type (run) make from
the command line. This may take 2~3 hours.
5) Go to the directory \VTK\Examples\GUI\Win32\vtkBorland and install the
Package. Follow the instruction in the readme.txt. After installation of this
package, vtkBorlandRenderWindow should appear in your BCB VCL.
6) Run the ProjectDemo \VTK\Examples\GUI\Win32\vtkBorland.

Good luck.

Yang

-----Original Message-----
From: Johnson Abraham [mailto:ajar_johnson at yahoo.co.uk] 
Sent: Saturday, October 04, 2003 1:56 PM
To: Yang at AGIUSA.COM
Cc: vtkusers at vtk.org
Subject: using vtk with Borland Builder 6.0


Hi yang,
Iam new to vtk and Borland Builder.I have build the
makefiles from the source code required for the
Borland Builder and I dont know how to proceed form
there. Please help me out with some document that can
help
me with the setting up vtk libs/dlls to be used with
the borland builder

I am contacting u because Iam also using vtk4.2 and
Borland Builder 6 on a PC running WINXP(Home edition)

Please do help me with some instructions in details
which i can use for 
successfully use vtk with my borland builder

thank you
johnson abraham 

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo! Messenger
http://mail.messenger.yahoo.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20031006/8f13de58/attachment.htm>


More information about the vtkusers mailing list