[Insight-users] Insight Applications Compile error

Julien Jomier jjomier@cs.unc.edu
Thu, 1 May 2003 14:30:22 -0400


Hi Nasser,

This error appears because you (probably) set, using CMake,

FLTK_INCLUDE_DIR = C:\Research Stuff\fltk-1.1.3\FL 

but it should be

FLTK_INCLUDE_DIR = C:\Research Stuff\fltk-1.1.3

Let us know if that was the "real" problem.

Julien

> -----Original Message-----
> From: insight-users-admin@public.kitware.com 
> [mailto:insight-users-admin@public.kitware.com] On Behalf Of 
> Nasser Kashou
> Sent: Thursday, May 01, 2003 2:22 PM
> To: insight-users@public.kitware.com
> Subject: [Insight-users] Insight Applications Compile error
> 
> 
> 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.
> -- 
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com 
> http://public.kitware.com/mailman/listinfo/ins> ight-users
>