[vtkusers] Building VTK with Visual Studio.NET 2003 on Windows XP
Joetta Anderson
joettaa at hotmail.com
Thu Jun 26 17:47:07 EDT 2003
Hello,
Am trying to build VTK4.2 on Windows XP using Visual Studio.NET 2003
(Academic version), but am getting the following errors:
vtk\Rendering\vtkScalarBarActor.cxx(357): error C2666: 'pow': 7 overloads
have similar conversions
vtk\Rendering\vtkScalarBarActor.cxx(536): error C2666: 'pow': 7 overloads
have similar conversions
C:\Program Files\Microsoft Visual Studio.NET
2003\Vc7\include\math.h(620): could be 'long double
pow(long double, int)'
C:\Program Files\Microsoft Visual Studio.NET
2003\Vc7\include\math.h(618): or 'long double pow
(long double, long double)'
pow(long double, int)'
C:\Program Files\Microsoft Visual Studio.NET
2003\Vc7\include\math.h(572): or 'float pow
(float, int)'
C:\Program Files\Microsoft Visual Studio.NET
2003\Vc7\include\math.h(570): or 'float pow
(float, float)'
C:\Program Files\Microsoft Visual Studio.NET
2003\Vc7\include\math.h(534): or 'double pow
(int, int)'
C:\Program Files\Microsoft Visual Studio.NET
2003\Vc7\include\math.h(532): or 'double pow
(double, int)'
C:\Program Files\Microsoft Visual Studio.NET
2003\Vc7\include\math.h(195): or 'double pow
(double, double)'
while trying to match the argument list '(int, float)'
HybridCxxTests fatal error LNK1181: cannot open input file
'vtkRendering.lib'
GraphicsCxxTests fatal error LNK1181: cannot open input file
'vtkRendering.lib'
ImagingCxxTests fatal error LNK1181: cannot open input file
'vtkRendering.lib'
RenderingCxxTests fatal error LNK1181: cannot open input file
'vtkRendering.lib'
TimeRenderer fatal error LNK1181: cannot open input file 'vtkRendering.lib'
TimeRenderer2 fatal error LNK1181: cannot open input file 'vtkRendering.lib'
Have successfully built VTK4.2 on Windows 2000 using Visual Studio.Net 2002
Professional where am working, however, would like to be able to work with
VTK at home too. Are these errors associated with VTK problem, Microsoft
problem (operating system vs. Visual Studio.NET), or possibly CMake???
Any suggestions would be much appreciated.
Thanks,
Joetta
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
More information about the vtkusers
mailing list