[Insight-users] 32- and 64-bit
Gib Bogle
g.bogle at auckland.ac.nz
Sun Feb 20 01:34:17 EST 2011
Hi Luis,
I have W7 64 bit on a machine with a 64 bit CPU. I have been using a
32 bit installation of MinGW, but I have a 64 bit installation on the
machine as
well, which I am not currently using. I understand from your response
that I do need to rebuild ITK for 64 bit operation. Therefore what I
need to do, it seems, is just tell cmake to use the 64 bit MinGW.
This isn't really an ITK question, but what's the simplest way to get
cmake to use a particular MinGW installation?
Thanks
Gib
Quoting Luis Ibanez <luis.ibanez at kitware.com>:
> Hi Gib
>
> 1) Does your computer have a 64 bits processor ?
> 2) Did you installed Windows 7 for 64 bits ?
> 3) Is your MingGW a 64-bits installation ?
>
>
> If (1,2,3) are true, then to build ITK for 64 bits
> you just need to do
>
> mkdir itkbin
> cd itkbin
> cmake ~/src/ITK
> make
>
>
> If, on the other hand, you are trying to cross-compile
> ITK as a 64bits library, by building it in a 32-bits machine,
> then you need a lot more than this.
>
> Please clarify which one is your case.
>
>
> Thanks
>
>
> Luis
>
> ---------------------------------------------
> On Wed, Feb 16, 2011 at 2:01 AM, Gib Bogle <g.bogle at auckland.ac.nz> wrote:
>> This isn't really a question about ITK, but someone here might have the
>> answer. I've built the ITK libraries 32-bit, and as far as the ITK part is
>> concerned I can operate within the 32-bit constraints. But in my C++ code I
>> want to be able to use an array that exceeds the 32-bit addressable limit.
>> I'm not sure what I need to do to get the 64-bit capability that I need.
>> Do I have to do a 64-bit build of ITK, or can the 32-bit libraries be
>> called from a main program that is built as 64-bit? Is there a document
>> about building 64-bit ITK? I'm using MinGW/gcc on Windows 7.
>>
>> Thanks
>> Gib
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the Insight-users
mailing list