[Insight-users] Compilation Error With VC6

Thiago Velho (CenPRA) trdvelho at cenpra.gov.br
Fri May 26 14:07:11 EDT 2006


I am using ITK 2-6, Microsoft Visual C++ 6.0, Windows XP, ITK Application 2-6.

When I am compiling Insight Application I am having the following problems with VXL/VCL. I know that VCL has C++ compatibility problems but i don't know how to fix that. Please anyone who knows the solution help me answering this e-mail.


-------------------Configuration: itk2DAnisotropicDiffusionImageFilter - Win32 Release--------------------
Compiling...
itk2DAnisotropicDiffusionImageFilter.cxx
C:\Arquivos de programas\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(190) : error C2065: 'memcmp' : undeclared identifier
C:\Arquivos de programas\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(192) : error C2065: 'strlen' : undeclared identifier
C:\Arquivos de programas\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(194) : error C2065: 'memcpy' : undeclared identifier
C:\Arquivos de programas\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(197) : error C2065: 'memchr' : undeclared identifier
C:\Arquivos de programas\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(199) : error C2065: 'memmove' : undeclared identifier
C:\Arquivos de programas\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(201) : error C2065: 'memset' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(87) : error C2039: 'acosf' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(87) : error C2065: 'acosf' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(88) : error C2039: 'acos' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(88) : error C2065: 'acos' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(89) : error C2039: 'acosl' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(89) : error C2065: 'acosl' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(91) : error C2039: 'asinf' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(91) : error C2065: 'asinf' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(92) : error C2039: 'asin' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(92) : error C2065: 'asin' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(93) : error C2039: 'asinl' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(93) : error C2065: 'asinl' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(95) : error C2039: 'atanf' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(95) : error C2065: 'atanf' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(96) : error C2039: 'atan' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(96) : error C2065: 'atan' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(97) : error C2039: 'atanl' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(97) : error C2065: 'atanl' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(99) : error C2039: 'atan2f' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(99) : error C2065: 'atan2f' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(100) : error C2039: 'atan2' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(100) : error C2065: 'atan2' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(101) : error C2039: 'atan2l' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(101) : error C2065: 'atan2l' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(103) : error C2039: 'ceilf' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(103) : error C2065: 'ceilf' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(104) : error C2039: 'ceil' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(104) : error C2065: 'ceil' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(105) : error C2039: 'ceill' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(105) : error C2065: 'ceill' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(107) : error C2039: 'cosf' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(107) : error C2065: 'cosf' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(108) : error C2039: 'cos' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(108) : error C2065: 'cos' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(109) : error C2039: 'cosl' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(109) : error C2065: 'cosl' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(111) : error C2039: 'coshf' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(111) : error C2065: 'coshf' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(112) : error C2039: 'cosh' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(112) : error C2065: 'cosh' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(113) : error C2039: 'coshl' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(113) : error C2065: 'coshl' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(115) : error C2039: 'expf' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(115) : error C2065: 'expf' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(116) : error C2039: 'exp' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(116) : error C2065: 'exp' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(117) : error C2039: 'expl' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(117) : error C2065: 'expl' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(119) : error C2039: 'fabsf' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(119) : error C2065: 'fabsf' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(120) : error C2039: 'fabs' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(120) : error C2065: 'fabs' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(121) : error C2039: 'fabsl' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(121) : error C2065: 'fabsl' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(123) : error C2039: 'floorf' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(123) : error C2065: 'floorf' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(124) : error C2039: 'floor' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(124) : error C2065: 'floor' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(125) : error C2039: 'floorl' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(125) : error C2065: 'floorl' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(127) : error C2039: 'fmodf' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(127) : error C2065: 'fmodf' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(128) : error C2039: 'fmod' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(128) : error C2065: 'fmod' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(129) : error C2039: 'fmodl' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(129) : error C2065: 'fmodl' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(131) : error C2039: 'frexpf' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(131) : error C2065: 'frexpf' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(132) : error C2039: 'frexp' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(132) : error C2065: 'frexp' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(133) : error C2039: 'frexpl' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(133) : error C2065: 'frexpl' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(135) : error C2039: 'ldexpf' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(135) : error C2065: 'ldexpf' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(136) : error C2039: 'ldexp' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(136) : error C2065: 'ldexp' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(137) : error C2039: 'ldexpl' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(137) : error C2065: 'ldexpl' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(139) : error C2039: 'logf' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(139) : error C2065: 'logf' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(140) : error C2039: 'log' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(140) : error C2065: 'log' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(141) : error C2039: 'logl' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(141) : error C2065: 'logl' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(143) : error C2039: 'log10f' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(143) : error C2065: 'log10f' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(144) : error C2039: 'log10' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(144) : error C2065: 'log10' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(145) : error C2039: 'log10l' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(145) : error C2065: 'log10l' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(147) : error C2039: 'modff' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(147) : error C2065: 'modff' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(148) : error C2039: 'modf' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(148) : error C2065: 'modf' : undeclared identifier
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(149) : error C2039: 'modfl' : is not a member of '`global namespace''
C:\CVS\Insight\Utilities\vxl\vcl\win32-vc60/vcl_cmath.h(149) : fatal error C1003: error count exceeds 100; stopping compilation
Error executing cl.exe.

ALL_BUILD - 102 error(s), 0 warning(s)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060526/f6d484b0/attachment-0001.html


More information about the Insight-users mailing list