[vtkusers] vtkPowerCrustSurfaceReconstruction compiling error on Vc7

sam sandoure at yahoo.fr
Tue Mar 29 09:46:50 EST 2005



Hi, 

I'm trying to use the class
vtkPowerCrustSurfaceReconstruction, the  surface
construction algorithm. I got some link errors:

Compiling...
vtkPowerCrustSurfaceReconstruction.cxx
vtkPowerCrustSurfaceReconstruction.cxx(3487) : error
C2668: 'ldexp' : ambiguous call to overloaded function
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\math.h(610): could be 'long double
ldexp(long double,int)'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\math.h(562): or       'float
ldexp(float,int)'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\math.h(216): or       'double
ldexp(double,int)'
        while trying to match the argument list '(int,
int)'
vtkPowerCrustSurfaceReconstruction.cxx(4027) : error
C2668: 'log' : ambiguous call to overloaded function
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\math.h(612): could be 'long double
log(long double)'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\math.h(564): or       'float
log(float)'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\math.h(193): or       'double
log(double)'
        while trying to match the argument list
'(int)'
vtkPowerCrustSurfaceReconstruction.cxx(4027) : error
C2668: 'log' : ambiguous call to overloaded function
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\math.h(612): could be 'long double
log(long double)'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\math.h(564): or       'float
log(float)'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\math.h(193): or       'double
log(double)'
        while trying to match the argument list
'(int)'
vtkPowerCrustSurfaceReconstruction.cxx(11277) : error
C2668: 'log' : ambiguous call to overloaded function
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\math.h(612): could be 'long double
log(long double)'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\math.h(564): or       'float
log(float)'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\math.h(193): or       'double
log(double)'
        while trying to match the argument list
'(int)'


Send instant messages to your online friends http://uk.messenger.yahoo.com 



More information about the vtkusers mailing list