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

William A. Hoffman billlist at nycap.rr.com
Thu Jul 15 16:39:40 EDT 2004


This is really a topic for the vtkusers list and not the cmake list.
However, it could be that you have not installed bcc32 correctly.
If you are using the free command line tools, make sure you read
the readme.txt that comes with it.   You have to create a bcc32.cfg file
with -L and -I options to get the compiler to work correctly.

-Bill


At 04:03 PM 7/15/2004, Andrea Gavana wrote:
>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...
>Probably tomorrow I will try nmake/cl, though I can imagine that set all the 
>environment variables/options will be a nightmare for an unexperienced user 
>like me.
>
>Thanks for every suggestion, this time I can not get to a solution alone...
>
>Andrea.
>
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake



More information about the Cmake mailing list