[vtkusers] Problem Compiling VTK-4.4 With Cmake-Borland

Andrea Gavana andrea.gavana at polymtl.ca
Thu Jul 15 13:10:52 EDT 2004


Hello NG,

      today I worked hard (!) to get CMake working with borland (I am on a 
Win2000 platform). By following the instruction from this pages:

http://public.kitware.com/pipermail/vtkusers/2004-April/072970.html
http://mayavi.sourceforge.net/cgi-bin/moin.cgi/BuildingVTKOnWin32

I got the borland makefiles. BUT, when I open the Windows cmd in order to 
run "make", this is the output I get:

C:\vtkbin>make
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
Building dependencies. cmake.depends...
-- Compiling VTK CMake commands
-- Compiling VTK CMake commands - done
-- Loading VTK CMake commands
-- Loading VTK CMake commands - done
-- Using Buildname: Windows-bcc32
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
cmake.depends is up-to-date
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
C:/vtkbin/Wrapping: building default_target
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
Building dependencies. cmake.depends...
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
Building object file vtkWrapPython.obj...
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
C:\VTK\Wrapping\vtkWrapPython.c:
Warning W8004 C:\VTK\Wrapping\vtkWrapPython.c 862: 'fp' is assigned a value that
 is never used in function outputFunction
Building object file vtkParse.tab.obj...
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
C:\VTK\Wrapping\vtkParse.tab.c:
Warning W8004 lex.yy.c 1764: 'yy_current_state' is assigned a value that is neve
r used in function yylex
Warning W8004 lex.yy.c 1089: 'yy_bp' is assigned a value that is never used in f
unction yylex
Warning W8004 lex.yy.c 1089: 'yy_cp' is assigned a value that is never used in f
unction yylex
Warning W8004 vtkParse.y 1063: 'str' is assigned a value that is never used in f
unction main
Building executable C:\vtkbin\bin\vtkWrapPython.exe...
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '__iob' referenced from C:\VTKBIN\WRAPPING\VTKPARSE.T
AB.OBJ

** error 1 ** deleting C:\vtkbin\bin\vtkWrapPython.exe

** error 1 ** deleting default_target

** error 1 ** deleting default_target_Wrapping

** error 1 ** deleting default_target


I have no idea of what it means... what am I doing wrong? If someone is 
interested, I also attach a file called "CMakeErrors.txt" that come from the 
first compilation trial of CMake (I don't know if the errors inside this file 
are normal or not...). 
I attach also my CMakeCache, Makefile and VTKConfig File... Everything in a zip 
file, they are too big...

Thanks for every suggestion, this time I can not get to a solution alone...

Andrea.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkbin.zip
Type: application/x-zip-compressed
Size: 13826 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040715/99f28eaa/attachment.bin>


More information about the vtkusers mailing list