[Insight-users] compile error on NT

Diego Bordegari diego at cedara.com
Fri Jan 25 18:09:40 EST 2002


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 at nycap.rr.com]
Sent: Thursday, January 24, 2002 11:06 PM
To: Diego Bordegari; 'insight-users at 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 at public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-users 




More information about the Insight-users mailing list