[Insight-users] Compiling itk 3.4 with Borland C++ v5.5

Walter Cabrera walter at eresmas.net
Thu Jan 24 08:37:36 EST 2008


Hi,
I am installing itk with borland c++ v5.5 in Windows, in file
\utilities\vxl\vcl\borland55\vcl_complex.h gives the following errors:

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
C:\ITK_source\Utilities\vxl\core\testlib\testlib_test.cxx:
Error E2285 C:\ITK_source\Utilities\vxl\vcl\borland55/vcl_complex.h 13:
Could
not find a match for 'std::abs(const _STL::complex<long double>)' in
function vc
l_abs(const _STL::complex<long double> &)
Error E2285 C:\ITK_source\Utilities\vxl\vcl\borland55/vcl_complex.h 15:
Could
not find a match for 'std::abs(const _STL::complex<double>)' in function
vcl_abs
(const _STL::complex<double> &)
Error E2285 C:\ITK_source\Utilities\vxl\vcl\borland55/vcl_complex.h 16:
Could
not find a match for 'std::abs(const _STL::complex<float>)' in function
vcl_abs(
const _STL::complex<float> &)
*** 3 errors in Compile ***
In file C:\ITK_source\Utilities\vxl\vcl\borland55/vcl_cstdlib.h is defined
the following procedure:
inline long double abs(const vcl_complex<long double> x) { return x >= 0 ? x
: -x; }
but no:
inline long double abs(const _STL::complex<long double>& x)
inline double abs(const _STL::complex<double>& x)
inline float abs(const _STL::complex<float>& x)
Can someone help me to define these procedures?
Thanks

-- 
View this message in context: http://www.nabble.com/Compiling-itk-3.4-with-Borland-C%2B%2B-v5.5-tp15064046p15064046.html
Sent from the ITK - Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list