[ITK] LINK PROBLEM

Matt McCormick matt.mccormick at kitware.com
Fri Oct 21 10:57:35 EDT 2016


Hi Anna,

I tried to reproduce your build error with

- VS2015, a 32bit Release build
- ITK 4.10.1
- The source and build path that you used.
- 32-bit CPython 3.5

but the build succeeded without any errors. Maybe your source code
download is corrupted? Or, there is some other factor we are missing.

HTH,
Matt

On Fri, Oct 14, 2016 at 3:44 AM, Anna Vlachomitrou
<avlachomitrou at dxo.com> wrote:
> Hi Matt,
> Thanks for replying.
> All the errors are related to external> symbol "double __cdecl vnl_math::_hypot(double,double)"
> I have several projects that don't build. All of them have the same error. You want a full log?
>
> Best,
> Anna
> -----Original Message-----
> From: Matt McCormick [mailto:matt.mccormick at kitware.com]
> Sent: jeudi 13 octobre 2016 18:07
> To: Anna Vlachomitrou <avlachomitrou at dxo.com>
> Cc: community at itk.org
> Subject: Re: [ITK] LINK PROBLEM
>
> Hi Anna,
>
> Are there any other errors reported in your build?
>
> Thanks,
> Matt
>
> On Thu, Oct 13, 2016 at 3:24 AM, Anna Vlachomitrou <avlachomitrou at dxo.com> wrote:
>> Dear ITK community,
>>
>>  I am currently trying to build ITK so as to use some prebuilded libs
>> in Python.
>>
>> -I downloaded the 4.10 version
>>
>> - I used cmake to get the itk.sln for vs2010 32b (and also tried
>> vs2015 32b)
>>
>> - I launch the ALLBUILD
>>
>> -I get some errors: all errors are related to _hypot. Here is an example:
>>
>> 450>     Creating library
>> D:/DATA/InsightToolkit-4.10.1/build/lib/Release/ITKImageStatisticsPyth
>> on.lib
>> and object
>> D:/DATA/InsightToolkit-4.10.1/build/lib/Release/ITKImageStatisticsPyth
>> on.exp
>>
>> 450>itkImageMomentsCalculatorPython.obj : error LNK2019: unresolved
>> 450>external
>> symbol "double __cdecl vnl_math::_hypot(double,double)"
>> (?_hypot at vnl_math@@YANNN at Z) referenced in function "double __cdecl
>> itk::Math::_hypot<double>(double,double)"
>> (??$_hypot at N@Math at itk@@YANNN at Z)
>>
>> 450>D:\DATA\InsightToolkit-4.10.1\build\lib\Release\_ITKImageStatistic
>> 450>sPython.pyd
>> : fatal error LNK1120: 1 unresolved externals
>>
>> 450>
>>
>>
>>
>> Do you have any idea of how i can fix these build errors ?
>>
>>  Thanks in advance,
>>
>> Anna
>>
>>
>>
>>
>> ----------------------------------------------------------------------
>> -------- This message and any attachments (the "message") are
>> confidential and intended solely for the addressee(s). Any
>> unauthorized use or dissemination is prohibited. E-mails are
>> susceptible to alteration. Neither DxO Labs nor any of its
>> subsidiaries or affiliates shall be liable for the message if altered,
>> changed or falsified.
>> Ce message et toutes les pièces jointes (ci-après le "message") sont
>> confidentiels et établis à l'intention exclusive de ses destinataires.
>> Toute utilisation ou diffusion non autorisée est interdite. Tout
>> message électronique est susceptible d'altération. DxO Labs et ses
>> filiales déclinent toute responsabilité au titre de ce message s'il a
>> été altéré, modifié ou falsifié.
>>
>> _______________________________________________
>> Community mailing list
>> Community at itk.org
>> http://public.kitware.com/mailman/listinfo/community
>>
>
> ------------------------------------------------------------------------------
> This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorized use or dissemination is prohibited. E-mails are susceptible to alteration. Neither DxO Labs nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
> Ce message et toutes les pièces jointes (ci-après le "message") sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. DxO Labs et ses filiales déclinent toute responsabilité au titre de ce message s'il a été altéré, modifié ou falsifié.


More information about the Community mailing list