[Insight-users] ITK Compilation Error

Luis Ibanez luis.ibanez at kitware.com
Sat Sep 11 12:03:24 EDT 2004



Hi Alberto,

The definition of the "DWORD" type seems to be
inconsistent in your build.


 >>>>  'unsigned int [15]' to 'unsigned long *'


1) How did you download ITK 1.8 ?
    (CVS ?, tar ?, .zip ?)

2) What type of machine are you using ?
    Does it has a 32bits processor ?

3) Did you do anything unusual when
    configuring ITK with CMake ?
    (eg. played with the Advanced options ?)


Please let us know


   Thanks,


     Luis


---------------------------
Alberto Santamaría wrote:

> Hello,
> 
> I have download the ITK version 1.8 and I tried to
> compile it using Visual Studio 6.0, and I got this
> error:
> 
> --------------------Configuration: itktestlib - Win32
> Debug--------------------
> Compiling...
> testlib_test.cxx
> testlib_main.cxx
> C:\ITK\Utilities\vxl\core\testlib\testlib_main.cxx(17)
> : error C2440: 'initializing' : cannot convert from
> 'unsigned int [15]' to 'unsigned long *'
>         Types pointed to are unrelated; conversion
> requires reinterpret_cast, C-style cast or
> function-style cast
> testlib_root_dir.cxx
> Generating Code...
> Error executing cl.exe.
> 
> ALL_BUILD - 1 error(s), 0 warning(s)
> 
> 
> 
> I wonder if anyone knows how to fix it.
> 
> Thanks
> -Alberto
> 
> 
> 		






More information about the Insight-users mailing list