[Insight-users] Insight Applications Compile error
Nasser Kashou
kashoun@ee.eng.ohio-state.edu
Thu, 01 May 2003 14:21:59 -0400
Hello,
I had decided to re-download ITK and build it from scratch after I made some
changes in MultiResMIRegistration code and something had gone wrong. But now,
I can no longer get some applications to compile. Below is the common error I
get for these applications....I think I may be reconfiguring CMAKE incorrectly.
C:\Research Stuff\fltk-1.1.3\FL\math.h(51) : error C2065: 'floor' : undeclared
identifier
C:\Research Stuff\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(10) : error
C2668: 'sqrt' : ambiguous call to overloaded function
C:\Research Stuff\Insight\Utilities\vxl\vnl/vnl_math.h(207) : error C2039:
'exp' : is not a member of '`global namespace''
C:\Research Stuff\Insight\Utilities\vxl\vnl/vnl_math.h(207) : error C2039:
'log' : is not a member of '`global namespace''
C:\Research Stuff\Insight\Utilities\vxl\vnl/vnl_math.h(207) : error C2039:
'exp' : is not a member of '`global namespace''
C:\Research Stuff\Insight\Utilities\vxl\vnl/vnl_math.h(207) : error C2039:
'log' : is not a member of '`global namespace''
C:\Research Stuff\Insight\Utilities\vxl\vnl/vnl_math.h(207) : error C2065:
'exp' : undeclared identifier
C:\Research Stuff\Insight\Utilities\vxl\vnl/vnl_math.h(207) : error C2065:
'log' : undeclared identifier
C:\Research Stuff\Insight\Utilities\vxl\vnl/vnl_math.h(211) : error C2668:
'sqrt' : ambiguous call to overloaded function
C:\Research Stuff\Insight\Utilities\vxl\vnl/vnl_math.h(212) : error C2668:
'sqrt' : ambiguous call to overloaded function
C:\Research Stuff\Insight\Utilities\vxl\vnl/vnl_math.h(212) : fatal error
C1903: unable to recover from previous error(s); stopping compilation
Error executing cl.exe.
--