<div>I found an alternative solution to my question below. </div>  <div>VTK 5.0.2 + Borland BSD 2006 + CMAKE 2.4.3 turned out to be a good combination.&nbsp;The compilation went smooth. I had</div>  <div>BUILD_SHARED_LIBS = OFF, </div>  <div>VTK_WRAP_TCL=ON (tcl832), </div>  <div>BUILD_TESTING=ON, and </div>  <div>BUILD_EXAMPLES=ON.</div>  <div>VTK_LEGACY_REMOVE=ON<BR></div>  <div>&nbsp;</div>  <div><BR><B><I>Jiksed &lt;jiksed@yahoo.com&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <DIV>Dear vtkusers,</DIV>  <DIV>&nbsp;</DIV>  <DIV>I have had success using VTK4.4 and BCB6, and now I want to upgrade to VTK5.0.1 and BSD 2006. I ran into a few problems while compiling VTK5.0.1. Here are two main CMAKE settings of mine:</DIV>  <DIV>BUILD_SHARED_LIBS = OFF</DIV>  <DIV>VTK_WRAP_TCL=ON</DIV>  <DIV>I am running WinXP Pro, SP2, and removed BCB6 from my PC.</DIV>  <DIV>&nbsp;</DIV>  <DIV>1) Error
 messages with CMAKE 2.4.3. Entire log is attached (Error-cmake243.txt).</DIV>  <DIV>&nbsp;</DIV>  <DIV>Error E2228 vtkParse.l 207: Too many error or warning messages in function yylex</DIV>  <DIV>*** 1 errors in Compile ***</DIV>  <DIV>** error 1 ** deleting Wrapping\CMakeFiles\vtkWrapTcl.dir\vtkParse.tab.obj</DIV>  <DIV>** error 1 ** deleting Wrapping\CMakeFiles\vtkWrapTcl.dir\all</DIV>  <DIV>** error 1 ** deleting all</DIV>  <DIV>&nbsp;</DIV>  <DIV>The compilation stopped at the beginning and nothing was compiled.</DIV>  <DIV>&nbsp;</DIV>  <DIV>2) Error messages with CMAKE 2.2.3. Entire log is attached (Error-cmake223.txt).</DIV>  <DIV>&nbsp;</DIV>  <DIV>Fatal: Error detected (LME1598)<BR>Fatal: Access violation.&nbsp; Link terminated.</DIV>  <DIV>** error 1 ** deleting bin\vtk.exe</DIV>  <DIV>** error 1 ** deleting Wrapping\Tcl\CMakeFiles\vtk.dir\all</DIV>  <DIV>** error 1 ** deleting all</DIV>  <DIV>&nbsp;</DIV>  <DIV>With CMAKE 2.2.3, compilation of VTK went OK and I
 saw all the LIB files which&nbsp;are listed in BSD2006_CMAKE223_LIBS.txt in the attachment. However, the TCL wrapping failed to generate vtk.exe.</DIV>  <DIV>&nbsp;</DIV>  <DIV>FYI, I did coff2omf and set correct tcl/tk lib/include paths. What is wrong?</DIV>  <DIV>&nbsp;</DIV>  <DIV>Thank you&nbsp;for your help.</DIV>  <DIV>&nbsp;</DIV>  <DIV>Jiksed</DIV></BLOCKQUOTE><p>&#32;
                <hr size=1>Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Make PC-to-Phone Calls</a> to the US (and 30+ countries) for 2¢/min or less.