[Insight-users] Visual Studio Express 2005 Compiling Error
Patrick Cheng
cheng at isis.georgetown.edu
Wed Nov 23 20:45:33 EST 2005
Hi all,
I tried to compile the cvs ITK with VS80. Besides a whole bunch of
deprecated warnnings, There is one error:
C:\Patrick\ITK\Insight\Utilities\vxl\v3p\netlib\netlib.h(25) : error
C2059: syntax error : 'type'
This compiling error could be fixed by change line 24 from #if to #ifdef
24: #if VXL_C_MATH_HAS_SQRTF ======> #ifdef VXL_C_MATH_HAS_SQRTF
25: float sqrtf(float);
26: #else
27: # define sqrtf(f) ((float)sqrt((double)(f)))
28: #endif
Thank you.
Patrick
--
Peng (Patrick) Cheng
Software Engineer
cheng at isis.georgetown.edu
Imaging Science and Information Systems (ISIS) Center
Department of Radiology, Georgetown University Medical Center
2115 Wisconsin Avenue, Suite 603
Washington, DC, 20007
Work phone: 202-687-2902
Work fax: 202-784-3479
Cell phone: 202-674-5626
More information about the Insight-users
mailing list