[Insight-users] problem compiling with VC++ 6.0

Luis Ibanez luis.ibanez at kitware.com
Mon Oct 18 15:37:48 EDT 2004


Hi Chetan,

Welcome to ITK !

Please follow the instruction in the welcoming page

       http://www.itk.org/HTML/Welcome.htm

In particular, make sure that you follow the instruction
from the Tutorial regarding how to build ITK and run
your first examples.


BTW,
How did you manage to get to have header files such as

                ctype.h
                wchar.h
                xlocinfo.h
                winbase.h
                win.h

at the top level of the ITK source code ?



Did you copy those header files there ?


Moving basic system headers around is *very very very* unwise.


You don't need to modify the ITK sources in *any* way in order
to build them.


Please restart from scratch, follow the instructions in
the tutorial, and let us know if you have further questions.




   Thanks


     Luis



----------------------
Chetan Murthy wrote:

> Hello,
> 
> I am just beginning to use ITK - mainly for image analysis and processing.
> 
> For starters, I was trying to complie and build the hello world and
> some other simple programs, and most of the errors I got were from the
> VC++ headers. I installed the service pack for VC 6.0, but the errors
> still exist.
> 
> Could you someone please tell me what I should do next?
> 
> I have attached the errors I got at the end of the email.
> 
> Thanks and Regards,
> Chetan
> 
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(73) :
> error C2065: 'mbstate_t' : undeclared identifier
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(82) :
> error C2146: syntax error : missing ';' before identifier 'state_type'
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\iosfwd(135) : see reference to class template
> instantiation 'std::char_traits<_E>' being compiled
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(82) :
> error C2501: 'state_type' : missing storage-class or type specifiers
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\iosfwd(135) : see reference to class template
> instantiation 'std::char_traits<_E>' being compiled
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(143) :
> error C2146: syntax error : missing ';' before identifier 'state_type'
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(143) :
> error C2501: 'state_type' : missing storage-class or type specifiers
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(182) :
> error C2146: syntax error : missing ';' before identifier 'state_type'
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\iosfwd(182) :
> error C2501: 'state_type' : missing storage-class or type specifiers
> C:\itk\InsightToolkit-1.8.0\ctype.h(24) : warning C4005: '_UPPER' :
> macro redefinition
>        C:\itk\InsightToolkit-1.8.0\wchar.h(84) : see previous
> definition of '_UPPER'
> C:\itk\InsightToolkit-1.8.0\ctype.h(25) : warning C4005: '_LOWER' :
> macro redefinition
>        C:\itk\InsightToolkit-1.8.0\wchar.h(85) : see previous
> definition of '_LOWER'
> C:\itk\InsightToolkit-1.8.0\ctype.h(26) : warning C4005: '_DIGIT' :
> macro redefinition
>        C:\itk\InsightToolkit-1.8.0\wchar.h(86) : see previous
> definition of '_DIGIT'
> C:\itk\InsightToolkit-1.8.0\ctype.h(27) : warning C4005: '_SPACE' :
> macro redefinition
>        C:\itk\InsightToolkit-1.8.0\wchar.h(87) : see previous
> definition of '_SPACE'
> C:\itk\InsightToolkit-1.8.0\ctype.h(28) : warning C4005: '_PUNCT' :
> macro redefinition
>        C:\itk\InsightToolkit-1.8.0\wchar.h(89) : see previous
> definition of '_PUNCT'
> C:\itk\InsightToolkit-1.8.0\ctype.h(29) : warning C4005: '_CONTROL' :
> macro redefinition
>        C:\itk\InsightToolkit-1.8.0\wchar.h(90) : see previous
> definition of '_CONTROL'
> C:\itk\InsightToolkit-1.8.0\ctype.h(30) : warning C4005: '_HEX' :
> macro redefinition
>        C:\itk\InsightToolkit-1.8.0\wchar.h(92) : see previous
> definition of '_HEX'
> C:\itk\InsightToolkit-1.8.0\ctype.h(31) : warning C4005: '_BLANK' :
> macro redefinition
>        C:\itk\InsightToolkit-1.8.0\wchar.h(91) : see previous
> definition of '_BLANK'
> C:\itk\InsightToolkit-1.8.0\ctype.h(33) : error C2372: '_ctype' :
> redefinition; different types of indirection
>        C:\itk\InsightToolkit-1.8.0\wchar.h(78) : see declaration of '_ctype'
> C:\itk\InsightToolkit-1.8.0\xlocinfo.h(75) : error C2061: syntax error
> : identifier 'mbstate_t'
> C:\itk\InsightToolkit-1.8.0\xlocinfo.h(87) : error C2061: syntax error
> : identifier 'mbstate_t'
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocale(178) :
> error C2065: 'wctob' : undeclared identifier
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocale(185) :
> error C2065: 'btowc' : undeclared identifier
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocale(296) :
> error C2990: 'codecvt' : non-template class has already been defined
> as a template class
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\xlocale(292) : see declaration of 'codecvt'
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocnum(372) :
> warning C4002: too many actual parameters for macro 'isdigit'
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocnum(385) :
> warning C4002: too many actual parameters for macro 'isdigit'
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocnum(403) :
> warning C4002: too many actual parameters for macro 'isdigit'
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\streambuf(39) :
> error C2955: 'fpos' : use of class template requires template argument
> list
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\iosfwd(70) : see declaration of 'fpos'
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\streambuf(195) : see reference to class template
> instantiation 'std::basic_streambuf<char,struct std::char_traits<char>
> 
>>' being compiled
> 
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\streambuf(42) :
> error C2955: 'fpos' : use of class template requires template argument
> list
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\iosfwd(70) : see declaration of 'fpos'
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\streambuf(195) : see reference to class template
> instantiation 'std::basic_streambuf<char,struct std::char_traits<char>
> 
>>' being compiled
> 
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\streambuf(174) :
> error C2955: 'fpos' : use of class template requires template argument
> list
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\iosfwd(70) : see declaration of 'fpos'
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\streambuf(195) : see reference to class template
> instantiation 'std::basic_streambuf<char,struct std::char_traits<char>
> 
>>' being compiled
> 
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\streambuf(39) :
> error C2955: 'fpos' : use of class template requires template argument
> list
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\iosfwd(70) : see declaration of 'fpos'
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\streambuf(196) : see reference to class template
> instantiation 'std::basic_streambuf<unsigned short,struct
> std::char_traits<unsigned short> >' being compiled
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\streambuf(42) :
> error C2955: 'fpos' : use of class template requires template argument
> list
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\iosfwd(70) : see declaration of 'fpos'
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\streambuf(196) : see reference to class template
> instantiation 'std::basic_streambuf<unsigned short,struct
> std::char_traits<unsigned short> >' being compiled
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\streambuf(174) :
> error C2955: 'fpos' : use of class template requires template argument
> list
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\iosfwd(70) : see declaration of 'fpos'
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\streambuf(196) : see reference to class template
> instantiation 'std::basic_streambuf<unsigned short,struct
> std::char_traits<unsigned short> >' being compiled
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(259) :
> error C2955: 'fpos' : use of class template requires template argument
> list
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\iosfwd(70) : see declaration of 'fpos'
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\ostream(277) : see reference to class template
> instantiation 'std::basic_ostream<char,struct std::char_traits<char>
> 
>>' being compiled
> 
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ostream(259) :
> error C2955: 'fpos' : use of class template requires template argument
> list
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\iosfwd(70) : see declaration of 'fpos'
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\ostream(278) : see reference to class template
> instantiation 'std::basic_ostream<unsigned short,struct
> std::char_traits<unsigned short> >' being compiled
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\istream(408) :
> error C2955: 'fpos' : use of class template requires template argument
> list
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\iosfwd(70) : see declaration of 'fpos'
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\istream(427) : see reference to class template
> instantiation 'std::basic_istream<char,struct std::char_traits<char>
> 
>>' being compiled
> 
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\istream(408) :
> error C2955: 'fpos' : use of class template requires template argument
> list
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\iosfwd(70) : see declaration of 'fpos'
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\istream(428) : see reference to class template
> instantiation 'std::basic_istream<unsigned short,struct
> std::char_traits<unsigned short> >' being compiled
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\sstream(137) :
> error C2955: 'fpos' : use of class template requires template argument
> list
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\iosfwd(70) : see declaration of 'fpos'
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\sstream(272) : see reference to class template
> instantiation 'std::basic_stringbuf<char,struct
> std::char_traits<char>,class std::allocator<char> >' being compiled
> C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\sstream(137) :
> error C2955: 'fpos' : use of class template requires template argument
> list
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\iosfwd(70) : see declaration of 'fpos'
>        C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\sstream(273) : see reference to class template
> instantiation 'std::basic_stringbuf<unsigned short,struct
> std::char_traits<unsigned short>,class std::allocator<unsigned short>
> 
>>' being com
> 
> piled
> C:\itk\InsightToolkit-1.8.0\win.h(8738) : error C2371:
> 'SYSTEM_POWER_STATUS' : redefinition; different basic types
>        C:\itk\InsightToolkit-1.8.0\win.h(8737) : see declaration of
> 'SYSTEM_POWER_STATUS'
> C:\itk\InsightToolkit-1.8.0\winbase.h(55) : warning C4005:
> 'INVALID_HANDLE_VALUE' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2700) : see previous
> definition of 'INVALID_HANDLE_VALUE'
> C:\itk\InsightToolkit-1.8.0\winbase.h(64) : warning C4005:
> 'WAIT_FAILED' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(3221) : see previous
> definition of 'WAIT_FAILED'
> C:\itk\InsightToolkit-1.8.0\winbase.h(65) : warning C4005:
> 'WAIT_OBJECT_0' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(3216) : see previous
> definition of 'WAIT_OBJECT_0'
> C:\itk\InsightToolkit-1.8.0\winbase.h(67) : warning C4005:
> 'WAIT_ABANDONED' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(3220) : see previous
> definition of 'WAIT_ABANDONED'
> C:\itk\InsightToolkit-1.8.0\winbase.h(68) : warning C4005:
> 'WAIT_ABANDONED_0' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(3217) : see previous
> definition of 'WAIT_ABANDONED_0'
> C:\itk\InsightToolkit-1.8.0\winbase.h(70) : warning C4005:
> 'WAIT_TIMEOUT' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(3218) : see previous
> definition of 'WAIT_TIMEOUT'
> C:\itk\InsightToolkit-1.8.0\winbase.h(71) : warning C4005:
> 'WAIT_IO_COMPLETION' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(3219) : see previous
> definition of 'WAIT_IO_COMPLETION'
> C:\itk\InsightToolkit-1.8.0\winbase.h(72) : warning C4005:
> 'STILL_ACTIVE' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(3705) : see previous
> definition of 'STILL_ACTIVE'
> C:\itk\InsightToolkit-1.8.0\winbase.h(73) : warning C4005:
> 'EXCEPTION_ACCESS_VIOLATION' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2586) : see previous
> definition of 'EXCEPTION_ACCESS_VIOLATION'
> C:\itk\InsightToolkit-1.8.0\winbase.h(74) : warning C4005:
> 'EXCEPTION_DATATYPE_MISALIGNMENT' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2588) : see previous
> definition of 'EXCEPTION_DATATYPE_MISALIGNMENT'
> C:\itk\InsightToolkit-1.8.0\winbase.h(75) : warning C4005:
> 'EXCEPTION_BREAKPOINT' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2587) : see previous
> definition of 'EXCEPTION_BREAKPOINT'
> C:\itk\InsightToolkit-1.8.0\winbase.h(76) : warning C4005:
> 'EXCEPTION_SINGLE_STEP' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2589) : see previous
> definition of 'EXCEPTION_SINGLE_STEP'
> C:\itk\InsightToolkit-1.8.0\winbase.h(77) : warning C4005:
> 'EXCEPTION_ARRAY_BOUNDS_EXCEEDED' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2590) : see previous
> definition of 'EXCEPTION_ARRAY_BOUNDS_EXCEEDED'
> C:\itk\InsightToolkit-1.8.0\winbase.h(78) : warning C4005:
> 'EXCEPTION_FLT_DENORMAL_OPERAND' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2591) : see previous
> definition of 'EXCEPTION_FLT_DENORMAL_OPERAND'
> C:\itk\InsightToolkit-1.8.0\winbase.h(79) : warning C4005:
> 'EXCEPTION_FLT_DIVIDE_BY_ZERO' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2592) : see previous
> definition of 'EXCEPTION_FLT_DIVIDE_BY_ZERO'
> C:\itk\InsightToolkit-1.8.0\winbase.h(80) : warning C4005:
> 'EXCEPTION_FLT_INEXACT_RESULT' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2593) : see previous
> definition of 'EXCEPTION_FLT_INEXACT_RESULT'
> C:\itk\InsightToolkit-1.8.0\winbase.h(81) : warning C4005:
> 'EXCEPTION_FLT_INVALID_OPERATION' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2594) : see previous
> definition of 'EXCEPTION_FLT_INVALID_OPERATION'
> C:\itk\InsightToolkit-1.8.0\winbase.h(82) : warning C4005:
> 'EXCEPTION_FLT_OVERFLOW' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2595) : see previous
> definition of 'EXCEPTION_FLT_OVERFLOW'
> C:\itk\InsightToolkit-1.8.0\winbase.h(83) : warning C4005:
> 'EXCEPTION_FLT_STACK_CHECK' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2596) : see previous
> definition of 'EXCEPTION_FLT_STACK_CHECK'
> C:\itk\InsightToolkit-1.8.0\winbase.h(84) : warning C4005:
> 'EXCEPTION_FLT_UNDERFLOW' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2597) : see previous
> definition of 'EXCEPTION_FLT_UNDERFLOW'
> C:\itk\InsightToolkit-1.8.0\winbase.h(85) : warning C4005:
> 'EXCEPTION_INT_DIVIDE_BY_ZERO' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2598) : see previous
> definition of 'EXCEPTION_INT_DIVIDE_BY_ZERO'
> C:\itk\InsightToolkit-1.8.0\winbase.h(86) : warning C4005:
> 'EXCEPTION_INT_OVERFLOW' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2599) : see previous
> definition of 'EXCEPTION_INT_OVERFLOW'
> C:\itk\InsightToolkit-1.8.0\winbase.h(87) : warning C4005:
> 'EXCEPTION_PRIV_INSTRUCTION' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2600) : see previous
> definition of 'EXCEPTION_PRIV_INSTRUCTION'
> C:\itk\InsightToolkit-1.8.0\winbase.h(88) : warning C4005:
> 'EXCEPTION_IN_PAGE_ERROR' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2601) : see previous
> definition of 'EXCEPTION_IN_PAGE_ERROR'
> C:\itk\InsightToolkit-1.8.0\winbase.h(90) : warning C4005:
> 'EXCEPTION_NONCONTINUABLE_EXCEPTION' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2602) : see previous
> definition of 'EXCEPTION_NONCONTINUABLE_EXCEPTION'
> C:\itk\InsightToolkit-1.8.0\winbase.h(91) : warning C4005:
> 'EXCEPTION_STACK_OVERFLOW' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2604) : see previous
> definition of 'EXCEPTION_STACK_OVERFLOW'
> C:\itk\InsightToolkit-1.8.0\winbase.h(92) : warning C4005:
> 'EXCEPTION_INVALID_DISPOSITION' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2605) : see previous
> definition of 'EXCEPTION_INVALID_DISPOSITION'
> C:\itk\InsightToolkit-1.8.0\winbase.h(93) : warning C4005:
> 'EXCEPTION_GUARD_PAGE' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1597) : see previous
> definition of 'EXCEPTION_GUARD_PAGE'
> C:\itk\InsightToolkit-1.8.0\winbase.h(116) : warning C4005:
> 'FILE_FLAG_OVERLAPPED' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1558) : see previous
> definition of 'FILE_FLAG_OVERLAPPED'
> C:\itk\InsightToolkit-1.8.0\winbase.h(117) : warning C4005:
> 'FILE_FLAG_NO_BUFFERING' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1559) : see previous
> definition of 'FILE_FLAG_NO_BUFFERING'
> C:\itk\InsightToolkit-1.8.0\winbase.h(118) : warning C4005:
> 'FILE_FLAG_RANDOM_ACCESS' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1560) : see previous
> definition of 'FILE_FLAG_RANDOM_ACCESS'
> C:\itk\InsightToolkit-1.8.0\winbase.h(119) : warning C4005:
> 'FILE_FLAG_SEQUENTIAL_SCAN' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1561) : see previous
> definition of 'FILE_FLAG_SEQUENTIAL_SCAN'
> C:\itk\InsightToolkit-1.8.0\winbase.h(120) : warning C4005:
> 'FILE_FLAG_DELETE_ON_CLOSE' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1562) : see previous
> definition of 'FILE_FLAG_DELETE_ON_CLOSE'
> C:\itk\InsightToolkit-1.8.0\winbase.h(121) : warning C4005:
> 'FILE_FLAG_BACKUP_SEMANTICS' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1563) : see previous
> definition of 'FILE_FLAG_BACKUP_SEMANTICS'
> C:\itk\InsightToolkit-1.8.0\winbase.h(122) : warning C4005:
> 'FILE_FLAG_POSIX_SEMANTICS' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1564) : see previous
> definition of 'FILE_FLAG_POSIX_SEMANTICS'
> C:\itk\InsightToolkit-1.8.0\winbase.h(167) : warning C4005:
> 'PIPE_ACCESS_INBOUND' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1671) : see previous
> definition of 'PIPE_ACCESS_INBOUND'
> C:\itk\InsightToolkit-1.8.0\winbase.h(168) : warning C4005:
> 'PIPE_ACCESS_OUTBOUND' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1672) : see previous
> definition of 'PIPE_ACCESS_OUTBOUND'
> C:\itk\InsightToolkit-1.8.0\winbase.h(169) : warning C4005:
> 'PIPE_ACCESS_DUPLEX' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1670) : see previous
> definition of 'PIPE_ACCESS_DUPLEX'
> C:\itk\InsightToolkit-1.8.0\winbase.h(175) : warning C4005:
> 'PIPE_CLIENT_END' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2663) : see previous
> definition of 'PIPE_CLIENT_END'
> C:\itk\InsightToolkit-1.8.0\winbase.h(176) : warning C4005:
> 'PIPE_SERVER_END' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(2664) : see previous
> definition of 'PIPE_SERVER_END'
> C:\itk\InsightToolkit-1.8.0\winbase.h(182) : warning C4005:
> 'PIPE_WAIT' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1680) : see previous
> definition of 'PIPE_WAIT'
> C:\itk\InsightToolkit-1.8.0\winbase.h(183) : warning C4005:
> 'PIPE_NOWAIT' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1681) : see previous
> definition of 'PIPE_NOWAIT'
> C:\itk\InsightToolkit-1.8.0\winbase.h(184) : warning C4005:
> 'PIPE_READMODE_BYTE' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1678) : see previous
> definition of 'PIPE_READMODE_BYTE'
> C:\itk\InsightToolkit-1.8.0\winbase.h(185) : warning C4005:
> 'PIPE_READMODE_MESSAGE' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1679) : see previous
> definition of 'PIPE_READMODE_MESSAGE'
> C:\itk\InsightToolkit-1.8.0\winbase.h(186) : warning C4005:
> 'PIPE_TYPE_BYTE' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1676) : see previous
> definition of 'PIPE_TYPE_BYTE'
> C:\itk\InsightToolkit-1.8.0\winbase.h(187) : warning C4005:
> 'PIPE_TYPE_MESSAGE' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1677) : see previous
> definition of 'PIPE_TYPE_MESSAGE'
> C:\itk\InsightToolkit-1.8.0\winbase.h(200) : warning C4005:
> 'SECURITY_ANONYMOUS' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1565) : see previous
> definition of 'SECURITY_ANONYMOUS'
> C:\itk\InsightToolkit-1.8.0\winbase.h(201) : warning C4005:
> 'SECURITY_IDENTIFICATION' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1566) : see previous
> definition of 'SECURITY_IDENTIFICATION'
> C:\itk\InsightToolkit-1.8.0\winbase.h(202) : warning C4005:
> 'SECURITY_IMPERSONATION' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1567) : see previous
> definition of 'SECURITY_IMPERSONATION'
> C:\itk\InsightToolkit-1.8.0\winbase.h(203) : warning C4005:
> 'SECURITY_DELEGATION' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1568) : see previous
> definition of 'SECURITY_DELEGATION'
> C:\itk\InsightToolkit-1.8.0\winbase.h(205) : warning C4005:
> 'SECURITY_CONTEXT_TRACKING' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1569) : see previous
> definition of 'SECURITY_CONTEXT_TRACKING'
> C:\itk\InsightToolkit-1.8.0\winbase.h(206) : warning C4005:
> 'SECURITY_EFFECTIVE_ONLY' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1570) : see previous
> definition of 'SECURITY_EFFECTIVE_ONLY'
> C:\itk\InsightToolkit-1.8.0\winbase.h(208) : warning C4005:
> 'SECURITY_SQOS_PRESENT' : macro redefinition
>        C:\itk\InsightToolkit-1.8.0\win.h(1571) : see previous
> definition of 'SECURITY_SQOS_PRESENT'
> C:\itk\InsightToolkit-1.8.0\winbase.h(215) : error C2011:
> '_OVERLAPPED' : 'struct' type redefinition
> C:\itk\InsightToolkit-1.8.0\winbase.h(223) : error C2011:
> '_SECURITY_ATTRIBUTES' : 'struct' type redefinition
> C:\itk\InsightToolkit-1.8.0\winbase.h(229) : error C2011:
> '_PROCESS_INFORMATION' : 'struct' type redefinition
> C:\itk\InsightToolkit-1.8.0\winbase.h(240) : error C2011: '_FILETIME'
> : 'struct' type redefinition
> C:\itk\InsightToolkit-1.8.0\winbase.h(249) : error C2011:
> '_SYSTEMTIME' : 'struct' type redefinition
> C:\itk\InsightToolkit-1.8.0\winbase.h(272) : error C2146: syntax error
> : missing ';' before identifier 'CRITICAL_SECTION'
> C:\itk\InsightToolkit-1.8.0\winbase.h(272) : fatal error C1004:
> unexpected end of file found
> 
> 





More information about the Insight-users mailing list