[vtkusers] [vtkuser] Build error with BCB6

William A. Hoffman billlist at nycap.rr.com
Fri Jul 25 10:30:04 EDT 2003


 From the Readme.html in VTK:

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.


At 10:15 AM 7/25/2003, Xianjin Yang wrote:

>Hi all, 
>
>I tried to build vtk with my Borland C++ Builder 6 from a nightly release dated 7/23/03. I set Build_SHARED_LIBS=ON and VTK_WRAP_TCL=ON. This produced all vtk LIB's successfully, but failed to generate vtk.exe, which is required to run TCL script. Here is my error message:
>
>----------------------------------------------------- 
>Borland C++ 5.6.1 for Win32 Copyright (c) 1993, 2002 Borland 
>C:\VTK\Wrapping\Tcl\vtkTkAppInit.cxx: 
>Building executable C:\vtkbin\bin\vtk.exe... 
>Borland C++ 5.6.1 for Win32 Copyright (c) 1993, 2002 Borland 
>Turbo Incremental Link 5.62 Copyright (c) 1997-2002 Borland 
>Error: 'C:\PROGRAM FILES\TCL\LIB\TK83.LIB' contains invalid OMF record, type 0x2 
>1 (possibly COFF) 
>
>** error 1 ** deleting C:\vtkbin\bin\vtk.exe 


>** error 1 ** deleting default_target 
>
>** error 1 ** deleting default_target_Wrapping_Tcl 
>
>** error 1 ** deleting default_target 
>------------------------------------------------------ 
>
>Will any of you please tell what is wrong here? My OS is Win XP Pro. 
>
>Thanks a lot 
>
>Yang 





More information about the vtkusers mailing list