[Insight-developers] Attempting to compile itk on Windows: VC++

Joetta Anderson AndersJ at mail . nlm . nih . gov
Fri, 21 Jun 2002 13:15:34 -0400


Hello,

I am a novice itk and VC++ user and was attempting to compile itk on
Windows 2000 with VC++.  I was following the directions in the "Getting
Stated with Insight" from the ITKSourceWin32Beta2/InsigtBeta2 file.  I
ran CMakeSetup for VTK first and then for ITK with USE_VTK and USE_FLTK
turned on(see attachment for settings in CMakeSetupDialog box).  Upon
attempting to build the ALL_BUILD project for Debug, the build was
unable to be completed due to a fatal error LNK1104; there were also
several warnings: one C4244 warning, four C4146 warnings, and 230 C4786
warnings(see attachment for Debug info).  I found some documentation
regarding each of the errors in the MSDN help for VC++ but am not sure
if it applies to this situation; and if it does apply am not sure what
to do based on what it says(see attachment).  With regard to the
warnings received can they be ignored.  Would it have mattered if I had
built the ALL_BUILD project for Release instead of Debug.

I would appreciate any feedback you can give me.
Thanks much,
J Anderson