[Insight-users] cross compiling ITK for 64 bit on 32 bit system and VS2010

devieill at irit.fr devieill at irit.fr
Wed Dec 15 08:18:08 EST 2010


 Hello all,

 I am trying to compile ITK 3.20 in 64 bit on a win XP 32 bit system with
 VS2010 which comes with cross compile tool.
 I use cmake 2.8.3 and in the configuration step I am quite challenged at
 what should I choose as compiler.

 I open a shell window with "start->program->Visual Studio Tools -> shell
 command with cross compile x64 Visual Studio",
 then I launch cmake-gui select my source folder my dest folder, then I
 click 'configure', at this moment I am
 promped to choose a compiler :

 Visual Studio 10
 Visual Studio 10 Win 64


 If I choose the latter, cmake check the configuration and everything
 seems to be fine until cmake outputs :


Performing Test VCL_CHAR_IS_SIGNED - Failed
Looking for 8-bit int. [Checking char...]
Looking for 8-bit int. Not found.
Looking for 8-bit int. [Checking short...]
Looking for 8-bit int. [Checking char...]
Looking for 8-bit int. Not found.
Looking for 16-bit int. [Checking char...]
Looking for 16-bit int. [Checking int...]
Looking for 16-bit int. [Checking short...]
Looking for 16-bit int. Not found.
Looking for 32-bit int. [Checking short...]
Looking for 32-bit int. [Checking long...]
Looking for 32-bit int. [Checking int...]
Looking for 32-bit int. Not found.
Looking for 64-bit int. [Checking __int64...]
Looking for 64-bit int. [Checking long long...]
Looking for 64-bit int. [Checking long...]
Looking for 64-bit int. Not found.
Looking for 32-bit float. [Checking long double...]
Looking for 32-bit float. [Checking double...]
Looking for 32-bit float. [Checking float...]
Looking for 32-bit float. Not found.
Looking for 64-bit float. [Checking float...]
Looking for 64-bit float. [Checking long double...]
Looking for 64-bit float. [Checking double...]
Looking for 64-bit float. Not found.
Looking for 96-bit float. [Checking float...]
Looking for 96-bit float. [Checking double...]
Looking for 96-bit float. [Checking long double...]
Looking for 96-bit float. Not found.
Looking for 128-bit float. [Checking float...]
Looking for 128-bit float. [Checking double...]
Looking for 128-bit float. [Checking long double...]
Looking for 128-bit float. Not found.


which clearly means that it is not the right way to do things...

Any ideas to suggest ?

Regards,
François



More information about the Insight-users mailing list