[Insight-developers] ITK 3.20 - 64 bits - Windows - VS2008 - Problem with itkvnl ?

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Fri May 6 20:41:28 EDT 2011


FIXED

The topic branch based on ITKv3.20.0 available here
https://github.com/Slicer/ITK/commits/fix-vnl-64bits-compile
solved the problem.

The solution is based on the file available in ITKv4.

Note that the commit
f1fe0ad81b4<https://github.com/Slicer/ITK/commit/f1fe0ad81b433d64890fc36551d73e1d41523084>fixing
the macro DETERMINE_TYPE available in
Utilities/vxl/config/cmake/config/vxl_config_macros.cmake should be enough
to fix the problem.

Jc


On Fri, May 6, 2011 at 3:56 PM, Jean-Christophe Fillion-Robin <
jchris.fillionr at kitware.com> wrote:

> Using the same compiler ("Visual Studio 9 2008 Win64"), I managed to
> compile successfully ITKv4.
>
> See enclosed CMake configuration log.
>
> In that case, I noticed that the integer/float size are properly
> discovered. See below
>
> Check if the system is big endian - little endian
> Performing Test VCL_CHAR_IS_SIGNED
> Performing Test VCL_CHAR_IS_SIGNED - Failed
> Looking for 8-bit int. [Checking char...]
> Looking for 8-bit int. Found char.
>
> Looking for 8-bit int. [Checking short...]
> Looking for 8-bit int. [Checking char...]
> Looking for 8-bit int. Found char.
>
> 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. Found short.
>
> 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. Found int.
>
> 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. Found long long.
>
> 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. Found float.
>
> 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. Found double.
>
> 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.
>
>
> What am I doing wrong while trying to compile ITKv3.20 ?
>
> Should something be fixed in vnl project ?
>
> Thanks for your help
> Jc
>
>
> On Fri, May 6, 2011 at 2:27 PM, Wes Turner <wes.turner at kitware.com> wrote:
>
>> JC,
>>
>> I won't dispute the move to ITK v4, but I think your problem is something
>> different.  I can verify that these settings should work.  I just did them
>> this morning.
>>
>> Are you certain that your compiler is configured correctly?
>>
>> - Wes
>>
>> On Fri, May 6, 2011 at 1:11 PM, Johnson, Hans J <hans-johnson at uiowa.edu>wrote:
>>
>>>  Move to ITK version 4!
>>>
>>>  64 bit is only going to be properly addressed in ITKv4.  Bill Lorensen
>>> has already done a lot of the necessary work already, and ITKv4 is
>>> stabilizing quickly.  Kent Williams and I already successfully moved the
>>> entire BRAINS3 tree to ITKv4.
>>>
>>>  Hans
>>>
>>>
>>>   From: Jean-Christophe Fillion-Robin <jchris.fillionr at kitware.com>
>>> Date: Fri, 6 May 2011 12:59:54 -0400
>>> To: ITK <insight-developers at itk.org>
>>> Cc: Dave Partyka <dave.partyka at kitware.com>, Julien Finet <
>>> julien.finet at kitware.com>
>>> Subject: [Insight-developers] ITK 3.20 - 64 bits - Windows - VS2008 -
>>> Problem with itkvnl ?
>>>
>>>  Hi Folks,
>>>
>>> I am trying to build ITK 3.20 on windows using the following generator
>>> "Visual Studio 9 2008 Win64"
>>> The same errors occurs attempting to build ITK with the default option in
>>> both Release and Debug. It resumes the incriminated target is itkvnl.
>>>
>>> The errors are listed in the file:
>>> ITK-build-error-64bits-Release-VS2008.txt
>>> The configuration output is listed in file:
>>> ITK-configuration-log-64bits-Release-VS2008.txt
>>>
>>> In the configuration log, I noticed that non of 8bits, 16bits, 32bits,
>>> 64bits .. have been found. See below:
>>>
>>> *[...]
>>> Check if the system is big endian - little endian
>>> Performing Test VCL_CHAR_IS_SIGNED
>>> 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.
>>> [...]*
>>>
>>> Any advice would be greatly appreciated.
>>>
>>> Thanks
>>> Jc
>>>
>>> --
>>> +1 919 869 8849
>>>
>>>
>>>
>>>
>>>
>>> --
>>> +1 919 869 8849
>>>
>>> _______________________________________________ Powered by
>>> www.kitware.com Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html Kitware offers ITK
>>> Training Courses, for more information visit:
>>> http://kitware.com/products/protraining.html Please keep messages
>>> on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQFollow this link to subscribe/unsubscribe:
>>> http://www.itk.org/mailman/listinfo/insight-developers
>>>
>>> ------------------------------
>>> Notice: This UI Health Care e-mail (including attachments) is covered by
>>> the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is
>>> confidential and may be legally privileged.  If you are not the intended
>>> recipient, you are hereby notified that any retention, dissemination,
>>> distribution, or copying of this communication is strictly prohibited.
>>> Please reply to the sender that you have received the message in error, then
>>> delete it.  Thank you.
>>> ------------------------------
>>>
>>> _______________________________________________
>>>
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Kitware offers ITK Training Courses, for more information visit:
>>> http://kitware.com/products/protraining.html
>>>
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.itk.org/mailman/listinfo/insight-developers
>>>
>>>
>>
>>
>> --
>> Wesley D. Turner, Ph.D.
>> Kitware, Inc.
>> Technical Leader
>> 28 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4920
>>
>
>
>
> --
> +1 919 869 8849
>
>


-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110506/b3649869/attachment.htm>


More information about the Insight-developers mailing list