[vtkusers] Some observations about building the nightly release.
Andrew J. P. Maclean
a.maclean at acfr.usyd.edu.au
Mon May 13 23:32:45 EDT 2002
I am building using the CVS version of CMake and the Visual C++ V7 IDE.
Here are some problems that I have found:
The first problem is that the following templating warnings occur: (of
course there are many because it enumerates through them all)
vtkImageProgressIterator.cxx
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\xmemory(111) :
warning C4661: 'vtkImageIterator<DType>::vtkImageIterator(vtkImageData
*,int *)' : no suitable definition provided for explicit template
instantiation request
with
[
DType=char
]
c:\vtk\VTK\Common\vtkImageIterator.h(40) : see declaration of
'vtkImageIterator<DType>::__ctor'
with
[
DType=char
]
and
[
DType=char
]
I think that it is just telling me that a member of the template class
is not defined.
Is this a problem, or can I safely ignore it?
The second problem relates to the following error for vtkHybrid.TCL and
vtkParallelTCL:
vtkHybridTCL fatal error LNK1181: cannot open input file 'tk83.lib'
vtkParallelTCL fatal error LNK1181: cannot open input file 'tk83.lib'
tk83.lib in fact already exists in my path C:\Tcl\lib so I am not sure
what this one refers to. Anyway the fix seems to be to go to the
properties for vtkHybrid.TCL and vtkParallelTCL and just delete it from
the additional dependencies section for the linker input. Make sure that
you do this for all configurations. It is actually there as:
C:\Tcl\lib\tcl83.lib in the list, so CMake is putting in the correct
one. Perhaps one of the CMake files needs to be modified to prevent the
other one being loaded.
This final one is probably simple to modify also:
C:\vtk\VTK\Utilities\zlib\zlib.def(3): warning LNK4017: DESCRIPTION
statement not supported for the target platform; ignored
Once the tcl83.lib error is corrected everything builds OK. Some image
tests fail because tk83.dll is not in the path. But if I exit and run
those scripts outside the IDE, everything seems OK.
I hope that these comments are of use.
Andrew
___________________________________________
Andrew J. P. Maclean
Postal:
Australian Centre for Field Robotics
The Rose Street Building J04
The University of Sydney 2006 NSW
AUSTRALIA
Room: 106
Phone: +61 2 9351 3283
Fax: +61 2 9351 7474
http://www.acfr.usyd.edu.au/
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020514/4a49406a/attachment.htm>
More information about the vtkusers
mailing list