[Insight-users] Hello ITK with Qt Creator issue

Jothybasu Selvaraj jothybasu at gmail.com
Wed Feb 26 11:00:19 EST 2014


When you built ITK, did you set the cmake flag USE_VTK or something like
that?

Jothybasu K Selvaraj
Post Doctoral Fellow
Dept. of Radiotherapy
Netherlands Cancer Institute-Antoni van Leeuwenhoek
Amsterdam



On Wed, Feb 26, 2014 at 4:25 PM, Barbara Post <bpo at eonix.be> wrote:

>  Only one lib wasn't found list here : http://pastebin.com/KUta5iDW :
> ITKVtkGlue-4.5
>
>
>
> Did I miss something when compiling ITK ?
>
>
>
> After commenting out this line I got the following error:
>
> ITKCommon-4.5.lib(itkDynamicLoader.obj):-1: error: LNK2019: unresolved
> external symbol "public: static struct HINSTANCE__ * __cdecl
> itksys::DynamicLoader::OpenLibrary(char const *)"
> (?OpenLibrary at DynamicLoader@itksys@@SAPEAUHINSTANCE__@@PEBD at Z) referenced
> in function "public: static struct HINSTANCE__ * __cdecl
> itk::DynamicLoader::OpenLibrary(char const *)" (?OpenLibrary at DynamicLoader
> @itk@@SAPEAUHINSTANCE__@@PEBD at Z)
>
>
>
> --
>
> Barbara POST
>
> +32 65/68.02.18
>
> bpo at eonix.be
>
>
>
> *From:* Insight-users [mailto:insight-users-bounces at itk.org] *On Behalf
> Of *Barbara Post
> *Sent:* mercredi 26 février 2014 16:00
> *To:* insight-users at itk.org
>
> *Subject:* Re: [Insight-users] Hello ITK with Qt Creator issue
>
>
>
> OK I got the following working so my question is solved for now, thank you
> very much Jothy because you really helped me and adding lib using wizard
> led me to right setup. I didn't use this wizard before...
>
>
>
> # Pass information to Qmake (include path)
>
> INCLUDEPATH += $$PWD/../../../../../../ITK/include/ITK-4.5
>
> DEPENDPATH += $$PWD/../../../../../../ITK/include/ITK-4.5
>
>
>
> # Pass information to Qmake (link against)
>
> win32: LIBS += -L$$PWD/../../../../../../ITK/lib/ -lITKCommon-4.5
>
>
>
> _____________________________________
> 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:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140226/15648cd3/attachment.html>


More information about the Insight-users mailing list