<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2712.300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial color=#008000><SPAN class=730124516-07012003>Hi Marcedo
and VTK Users,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN
class=730124516-07012003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#008000><SPAN class=730124516-07012003>Thanks for
your help.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN
class=730124516-07012003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#008000><SPAN class=730124516-07012003>I downloaded
the source of VTK 4.0 official release, installed Borland C++ Builder 6 trial
version and CMake. The compilation took about an hour on my 1GHz Laptop but did
not complete successfully. Here is the actual error message.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN
class=730124516-07012003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#008000><SPAN
class=730124516-07012003>--------------------</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN class=730124516-07012003>Borland C++
5.6 for Win32 Copyright (c) 1993, 2002
Borland<BR>C:\Engineering\VTK\Hybrid\vtkVRMLImporter.cxx:<BR>Error E2171
C:\Engineering\VTK\Hybrid\vtkVRML.h 79: Body has already been defined<BR>for
function 'operator new[](unsigned int,void *)'<BR>Error E2451
C:\Engineering\VTK\Hybrid\vtkVRML.h 80: Undefined symbol 'v' in func-<BR>tion
operator new[](unsigned int,void *)<BR>*** 2 errors in Compile
***</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN class=730124516-07012003>** error 1 **
deleting vtkVRMLImporter.obj</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN class=730124516-07012003>** error 1 **
deleting default_target</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN class=730124516-07012003>** error 1 **
deleting default_target_Hybrid</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN class=730124516-07012003>** error 1 **
deleting default_target</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN
class=730124516-07012003>C:\Engineering\vtkbin></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN
class=730124516-07012003>--------------------</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN
class=730124516-07012003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#008000><SPAN class=730124516-07012003>I did notice
that many OBJ files were produced. 9 DLL and 9 LIB files can be found in
BIN directory, such vtkCommon.dll, vtkCommon.lib, vtkRendering.dll,
vtkRendering.lib, ...</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN
class=730124516-07012003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#008000><SPAN class=730124516-07012003>I am not sure
how to set CMAKE_MAKE_PROGRAM in CMakeSetupDialog. I found a make.exe in my
Delphi 5 installation directory. Other settings are the same as what you
recommended.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN
class=730124516-07012003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#008000><SPAN class=730124516-07012003>What is the
problem? Is it a compatibility issue between Borland and MS
C++?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN
class=730124516-07012003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#008000><SPAN class=730124516-07012003>Thank a
lot.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN
class=730124516-07012003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#008000><SPAN
class=730124516-07012003>Yang</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#008000><SPAN
class=730124516-07012003></SPAN></FONT><FONT face=Arial color=#008000><SPAN
class=730124516-07012003></SPAN></FONT><FONT face=Arial color=#008000><SPAN
class=730124516-07012003></SPAN></FONT> </DIV>
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Marcelo Costa Oliveira
[mailto:marcelo@radioimaging.net] <BR><B>Sent:</B> Monday, January 06, 2003 6:09
AM<BR><B>To:</B> Xianjin Yang; vtkusers@public.kitware.com<BR><B>Subject:</B>
Re: [vtkusers] Re: Beginner's Question - Borland C++
Builder<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Hi Xianjin</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I donīt work with numerical modeling but i think
that VTK can do. To work with VTK and Borland C++ is very simple.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>First, download Cmake - <A
href="http://www.cmake.org/HTML/Download.html">http://www.cmake.org/HTML/Download.html</A>,
cmake will compile VTK to work with Borland C++. look attach.</FONT><FONT
face=Arial size=2></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Second, on Borland C++, put the include and Libs (
source )</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Third, add to project *.lib of VTK ( source
).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If u know this explanation is confused, i can guide
u on step by step. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>Please let me know if you have further questions</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=Yang@AGIUSA.COM href="mailto:Yang@AGIUSA.COM">Xianjin Yang</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=vtkusers@public.kitware.com
href="mailto:'vtkusers@public.kitware.com'">'vtkusers@public.kitware.com'</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, January 03, 2003 3:55
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [vtkusers] Re: Beginner's
Question - Borland C++ Builder</DIV>
<DIV><BR></DIV>
<P><FONT face=Arial size=2>I am developing a numerical modeling program using
Borland C++ Builder. Can I use VTK for data visualization? Am I expecting any
problem with this Borland C++ Builder + VTK? BTW, is Borland Delphi + VTK a
valid combination? Are there any web link from which I may get some help about
Borland + VTK? Thanks a lot. Yang</FONT></P></BLOCKQUOTE></BODY></HTML>