[Insight-users] Compiler errors under Borland...

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Wed Nov 7 12:29:44 EST 2001


Greetings, I've just tried compiling ITK with Borland and got a number of 
errors. Mostly math errors, looks like unsupported innan isinf type 
functions. Before I spend days trying to track down fixes for everything, 
does anyone already know what to do?

Thanks

John B (Didn't check archive, sorry)

d:/Insight/Code/Numerics/vxl/vnl/vnl_math.cxx:
Error E2048 d:/Insight/Code/Numerics/vxl/vnl/vnl_math.cxx 27: Unknown 
preprocess
or directive: 'warning'
Warning W8057 d:/Insight/Code/Numerics/vxl/vnl/vnl_math.cxx 33: Parameter 
'x' is
  never used in function finite(double)
Error E2451 d:/Insight/Code/Numerics/vxl/vnl/vnl_math.cxx 65: Undefined 
symbol '
_huge_dble'
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_math.cxx 116: Call to 
undefined
  function 'isnan' in function vnl_math_isinf(float)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_math.cxx 118: Call to 
undefined
  function 'isnan' in function vnl_math_isinf(double)
Warning W8057 d:/Insight/Code/Numerics/vxl/vnl/vnl_math.cxx 118: Parameter 
'x' i
s never used in function vnl_math_isinf(double)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_math.cxx 120: Call to 
undefined
  function 'isnan' in function vnl_math_isinf(long double)
Warning W8057 d:/Insight/Code/Numerics/vxl/vnl/vnl_math.cxx 120: Parameter 
'x' i
s never used in function vnl_math_isinf(long double)
*** 5 errors in Compile ***
d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_filewrite.cxx:
d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_header.cxx:
d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print.cxx:
d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print2.cxx:
d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_format.cxx:
d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx:
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
18: Cal
l to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(int,char *
,vnl_matlab_print_format)
Warning W8057 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
19: P
arameter 'v' is never used in function vnl_matlab_print_scalar(int,char 
*,vnl_ma
tlab_print_format)
Warning W8057 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
19: P
arameter 'buf' is never used in function vnl_matlab_print_scalar(int,char 
*,vnl_
matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
30: Cal
l to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(float,char
  *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
32: Cal
l to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(float,char
  *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
36: Cal
l to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(float,char
  *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
38: Cal
l to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(float,char
  *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
41: Cal
l to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(float,char
  *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
44: Cal
l to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(float,char
  *,vnl_matlab_print_format)
Warning W8057 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
48: P
arameter 'buf' is never used in function vnl_matlab_print_scalar(float,char 
*,vn
l_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
59: Cal
l to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(double,cha
r *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
61: Cal
l to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(double,cha
r *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
65: Cal
l to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(double,cha
r *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
67: Cal
l to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(double,cha
r *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
70: Cal
l to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(double,cha
r *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
73: Cal
l to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(double,cha
r *,vnl_matlab_print_format)
Warning W8057 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
77: P
arameter 'buf' is never used in function 
vnl_matlab_print_scalar(double,char *,v
nl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
128: Ca
ll to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(std::comp
lex<double>,char *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
129: Ca
ll to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(std::comp
lex<double>,char *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
132: Ca
ll to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(std::comp
lex<double>,char *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
133: Ca
ll to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(std::comp
lex<double>,char *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
140: Ca
ll to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(std::comp
lex<double>,char *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
141: Ca
ll to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(std::comp
lex<double>,char *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
148: Ca
ll to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(std::comp
lex<double>,char *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
149: Ca
ll to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(std::comp
lex<double>,char *,vnl_matlab_print_format)
Warning W8004 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 150:
'sign' is assigned a value that is never used in function 
vnl_matlab_print_scala
r(std::complex<double>,char *,vnl_matlab_print_format)
Warning W8004 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 151:
'conv' is assigned a value that is never used in function 
vnl_matlab_print_scala
r(std::complex<double>,char *,vnl_matlab_print_format)
Warning W8004 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 151:
'precision' is assigned a value that is never used in function 
vnl_matlab_print_
scalar(std::complex<double>,char *,vnl_matlab_print_format)
Warning W8004 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 151:
'width' is assigned a value that is never used in function 
vnl_matlab_print_scal
ar(std::complex<double>,char *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
195: Ca
ll to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(std::comp
lex<float>,char *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
196: Ca
ll to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(std::comp
lex<float>,char *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
199: Ca
ll to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(std::comp
lex<float>,char *,vnl_matlab_print_format)
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
200: Ca
ll to undefined function 'sprintf' in function 
vnl_matlab_print_scalar(std::comp
lex<float>,char *,vnl_matlab_print_format)
Error E2228 d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_print_scalar.cxx 
200: To
o many error or warning messages in function 
vnl_matlab_print_scalar(std::comple
x<float>,char *,vnl_matlab_print_format)
*** 26 errors in Compile ***
d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_read.cxx:
d:/Insight/Code/Numerics/vxl/vnl/vnl_matlab_write.cxx:
d:/Insight/Code/Numerics/vxl/vnl/vnl_matops.cxx:
d:/Insight/Code/Numerics/vxl/vnl/vnl_nonlinear_minimizer.cxx:
d:/Insight/Code/Numerics/vxl/vnl/vnl_numeric_limits.cxx:
d:/Insight/Code/Numerics/vxl/vnl/vnl_numeric_traits.cxx:
d:/Insight/Code/Numerics/vxl/vnl/vnl_real_npolynomial.cxx:
d:/Insight/Code/Numerics/vxl/vnl/vnl_real_polynomial.cxx:
d:/Insight/Code/Numerics/vxl/vnl/vnl_rotation_matrix.cxx:
d:/Insight/Code/Numerics/vxl/vnl/vnl_sample.cxx:
Error E2268 d:/Insight/Code/Numerics/vxl/vnl/vnl_sample.cxx 34: Call to 
undefine
d function 'time' in function vnl_sample_reseed()
*** 1 errors in Compile ***




More information about the Insight-users mailing list