<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: using vtk with Borland Builder 6.0</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hi Johnson,</FONT>
</P>

<P><FONT SIZE=2>These are basic steps to install VTK for BCB.</FONT>
</P>

<P><FONT SIZE=2>1) Download the source code, either stable release such as 4.2 or a less buggy nightly version based on the dashboard.</FONT>
<BR><FONT SIZE=2>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.</FONT></P>

<P><FONT SIZE=2>3) Convert TCL libs from coff to omf by following the instruction in the VTK source directory VTK\README.html (Common Problems), </FONT></P>

<P><FONT SIZE=2>&quot;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. &quot;</FONT></P>

<P><FONT SIZE=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.</FONT></P>

<P><FONT SIZE=2>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.</FONT></P>

<P><FONT SIZE=2>6) Run the ProjectDemo \VTK\Examples\GUI\Win32\vtkBorland.</FONT>
</P>

<P><FONT SIZE=2>Good luck.</FONT>
</P>

<P><FONT SIZE=2>Yang</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Johnson Abraham [<A HREF="mailto:ajar_johnson@yahoo.co.uk">mailto:ajar_johnson@yahoo.co.uk</A>] </FONT>
<BR><FONT SIZE=2>Sent: Saturday, October 04, 2003 1:56 PM</FONT>
<BR><FONT SIZE=2>To: Yang@AGIUSA.COM</FONT>
<BR><FONT SIZE=2>Cc: vtkusers@vtk.org</FONT>
<BR><FONT SIZE=2>Subject: using vtk with Borland Builder 6.0</FONT>
</P>
<BR>

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

<P><FONT SIZE=2>I am contacting u because Iam also using vtk4.2 and</FONT>
<BR><FONT SIZE=2>Borland Builder 6 on a PC running WINXP(Home edition)</FONT>
</P>

<P><FONT SIZE=2>Please do help me with some instructions in details</FONT>
<BR><FONT SIZE=2>which i can use for </FONT>
<BR><FONT SIZE=2>successfully use vtk with my borland builder</FONT>
</P>

<P><FONT SIZE=2>thank you</FONT>
<BR><FONT SIZE=2>johnson abraham </FONT>
</P>

<P><FONT SIZE=2>________________________________________________________________________</FONT>
<BR><FONT SIZE=2>Want to chat instantly with your online friends?&nbsp; Get the FREE Yahoo! Messenger <A HREF="http://mail.messenger.yahoo.co.uk" TARGET="_blank">http://mail.messenger.yahoo.co.uk</A></FONT>
</P>

</BODY>
</HTML>