[Insight-users] compile error on NT

William A. Hoffman bill.hoffman@kitware.com
Sun, 27 Jan 2002 22:46:11 -0500


We had seen this problem, and gave up tracking it down when we found it was 
working for a more
recent version of the intel compiler.  Thanks for the fix.

-Bill H.

At 06:09 PM 1/25/2002 -0500, Diego Bordegari wrote:
>Bill,
>
>I found this workaround.
>I changed the file "vxl\vcl\vcl_complex.h"
>
>// ---------- native WIN32
>#elif defined(VCL_VC)
># include "ymath.h"   /* added this included */
># include "win32/vcl_complex.h"
>
>and the link succeded.
>However I verified that ymath.h was already included ( by
>VC98/INCLUDE/complex )
>
>Thanks
>
>- Diego.
>
>
>
>-----Original Message-----
>From: Bill Lorensen [mailto:wlorens1@nycap.rr.com]
>Sent: Thursday, January 24, 2002 11:06 PM
>To: Diego Bordegari; 'insight-users@public.kitware.com'
>Subject: Re: [Insight-users] compile error on NT
>
>
>Diego,
>We build nightly with the Intel 5.0 compiler. I'm not sure if we ever built
>with the 4.5 version.
>
>Bill
>
>At 05:09 PM 1/24/02 -0500, Diego Bordegari wrote:
> >Hi all,
> >
> >I'm building itk from scratch on NT using the Intel Compiler 4.5 but I'm
> >getting the following error :
> >-------------------Configuration: test_complex - Win32
> >Debug--------------------
> >Compiling...
> >test_complex.cxx
> >Linking...
> >xilink6: executing 'C:\PROGRA~1\MICROS~4\VC98\bin\link.exe'
> >test_complex.obj : error LNK2001: unresolved external symbol __Nan
> >VXLNumerics.lib(vnl_vector+double_complex-.obj) : error LNK2001: unresolved
> >external symbol __Nan
> >VXLNumerics.lib(vnl_matrix+double_complex-.obj) : error LNK2001: unresolved
> >external symbol __Nan
> >Debug/test_complex.exe : fatal error LNK1120: 1 unresolved externals
> >Error executing C:\ISELECT\bin\xilink6.exe.
> >ALL_BUILD - 4 error(s), 0 warning(s)
> >------------------------------------------------------------------------
> >I downloaded the last version of ITK and I'm using the binary distribution
> >of vtk ( 4.0 ).
> >Does anyone have any clue ?
> >- Diego
> >
> >
> >
> >- Diego
> >
> >_______________________________________________
> >Insight-users mailing list
> >Insight-users@public.kitware.com
> >http://public.kitware.com/mailman/listinfo/insight-users
>
>_______________________________________________
>Insight-users mailing list
>Insight-users@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-users