[ITK-users] Dynamic link library runtime error
Fabian Torres
fabian.trobles at gmail.com
Tue Jan 16 12:56:23 EST 2018
Dear Dzenan
Thanks for the response. I do have other compiled versions of ITK so I did
as you mentioned and ran dependency walker in my app.
It showed me that my app was using the right library, compiled in VS2013.
The next step I tried was compiling the libraries (VTK and ITK) without
shared libraries option in CMake, and it was like magic, my application
compiled and run without problems..
So many thanks for the information.
Fabian.
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Tue, Jan 9, 2018 at 3:21 PM, Dženan Zukić <dzenanz at gmail.com> wrote:
> Hi Fabian,
>
> it most likely means there is a version mismatch between you application
> and the DLL. Your application was compiled using a different version from
> the one used to compile the DLLs. You can use dependency walker
> <http://www.dependencywalker.com/> to see if your application is using
> the DLL you expect. You can also try compiling ITK as static libraries, and
> link your application to that - thus avoid a possibility of such an error.
>
> Regards,
> Dženan
>
> On Tue, Jan 9, 2018 at 2:46 PM, Fabian Torres <fabian.trobles at gmail.com>
> wrote:
>
>> Hi all
>>
>> I'm trying to compile vtk5.10 and ITK 4.4 in visual studio 2013 in order
>> to build an application using qt 4.8.7.
>> I have already done this using visual studio 2008 and the libraries and
>> my application works fine.
>>
>> The problem I have is that after some strugle I have already compiled the
>> libraries (ITK and VTK) in visual studio 2013.
>> Now I have compiled my application with the new libraries but when I run
>> it I get a Runtime error I do not understand.
>>
>> The procedure entry point
>> ?End at MetaDictionary@itk@@QAE?AV?$_Tree_iterator at V?...
>> ....
>> ...@@XZ could not be located in the dynamic link library ITKCommon-4.4.dll
>>
>> What does this mean?
>>
>> Thanks
>>
>>
>>
>> --
>> Fabián Torres Robles
>> Maestría en Ciencias en Ingeniería Electrónica
>> Ingeniería en Sistemas Electrónicos
>> Tel. 58081280, 0445534661338
>> E-mail fabian.trobles at gmail.com, dae.wong at gmail.com
>>
>> The ITK community is transitioning from this mailing list to
>> discourse.itk.org. Please join us there!
>> ________________________________
>> 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://www.kitware.com/products/protraining.php
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> https://itk.org/mailman/listinfo/insight-users
>>
>>
>
--
Fabián Torres Robles
Maestría en Ciencias en Ingeniería Electrónica
Ingeniería en Sistemas Electrónicos
Tel. 58081280, 0445534661338
E-mail fabian.trobles at gmail.com, dae.wong at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://itk.org/pipermail/insight-users/attachments/20180116/d359de5b/attachment.html>
More information about the Insight-users
mailing list