[Insight-users] Build error with CVS

Steve Boyd skboyd at ucalgary.ca
Fri, 23 Jan 2004 15:14:20 -0700


Hi Luis,

I have realized now that the problem was with the compiler, not with my
CVS version of ITK.  With the re-installed VC++ compiler everything
compiled fine!  Don't ask me why I needed to reinstall the compiler!! :)

Thanks for the help though...

Cheers,

Steve

Luis Ibanez wrote:
> 
> Hi Steve,
> 
> How did you downloaded ITK ?
> 
> did you used:
> 
> -  CVS from cygwin  ?
> -  WinCVS ?
> -  Tortoise CVS ?
> 
> have you checked the integrity
> of the test_cmath.cxx file ?
> 
> Is the message that you posted the
> only error message that you get ?
> 
> Did you start building using the
> ALL_BUILD project ?
> 
> Please post the CMakeLists.txt file
> that CMake generated in your binary
> directory.
> 
> Thanks
> 
>     Luis
> 
> ---------------------------
> skboyd at ucalgary.ca wrote:
> 
> > Hi,
> >
> > Trying to build the latest CVS version (Friday, January 16th) with VC++ 6.0
> > and Service Pack 5 on my windows machine I get the following error below.  I
> > used CMake v1.8 to make the .dsw file, and am building with shared libraries
> > and testing, but no examples.
> >
> > The error appears to be a problem with my compiler, but I suspect there may
> > be some other problem to do with ITK.  Does anybody know how to fix this
> > problem?
> >
> > Sincerely,
> >
> > Steve
> >
> >
> > --------------------Configuration: vcl_test_all - Win32 Debug----------------
> > ----
> > Compiling...
> > test_cmath.cxx
> > C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xcomplex(294) : error
> > C2018: unknown character '0x40'
> > C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xcomplex(294) : error
> > C2143: syntax error : missing ';' before '<template-id>'
> > C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xcomplex(294) : error
> > C2133: '_CRTIM' : unknown size
> > C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xcomplex(294) : fatal
> > error C1004: unexpected end of file found
> > test_complex.cxx
> > C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xcomplex(294) : error
> > C2018: unknown character '0x40'
> > C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xcomplex(294) : error
> > C2143: syntax error : missing ';' before '<template-id>'
> > C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xcomplex(294) : error
> > C2133: '_CRTIM' : unknown size
> > C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xcomplex(294) : fatal
> > error C1004: unexpected end of file found
> > Generating Code...
> > Error executing cl.exe.
> >
> > ALL_BUILD - 8 error(s), 0 warning(s)
> >
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
> >