[Insight-users] Run exe on a PC where itk is not installed

Melanie Uks meluks2010 at googlemail.com
Wed Mar 16 10:45:01 EDT 2011


Hi John,
my ikt was already build with ITK_BUILD_SHARED=OFF. Don't I have to compile
the application with Project Properties -> Configuration Properties -> C/C++
-> Code Generation -> Runtime Library -->Multithreaded ??? If so, I have a
lot of linker errors...

Hi Cyrille,
how do I "take the required libraries" with my application?

Thanks a lot!

2011/3/16 Cyrille Faucheux <cyrille.faucheux at etu.univ-tours.fr>

> Otherwise you need to take the required libraries with your application.
>
> For Qt, you need qtcore.dll and qtgui.dll. For itk, I don't remember. Check
> with Dependency Walker wich libraries are missing on your computer.
>
> But as mentionned John, you also need to install the redistribuable for
> visual studio 2008.
>
> Le 16/03/2011 14:28, John Drescher a écrit :
>
>> I'm trying to solve my Canny-Edge-Memory-Problem by running my application
>>> on another PC.
>>> I'm building my programm with Visual Studio Express C++ 2008, Qt4, qwt
>>> and
>>> of course itk. Now I want to run the exe file on another PC. On this PC
>>> none
>>> of the mentioned programms/libraries are installed. Does anybody of you
>>> know
>>> how to compile the exe with static libraries (I guess thats the easiest
>>> way)
>>> or does anybody of you has another suggestion?
>>>
>>>  Turn off ITK_BUILD_SHARED rebuild itk and remember to install the
>> visual studio redistributable for your compiler. You will not be able
>> to use a debug build on the other machine without installing visual
>> studio since the Microsoft debug libraries are not permitted to be
>> distributed.
>>
>> John
>> _____________________________________
>> 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.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-users
>>
>>  _____________________________________
> 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.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-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110316/583bd7bd/attachment.htm>


More information about the Insight-users mailing list