[ITK Community] [Insight-users] Hello ITK with Qt Creator issue

Barbara Post bpo at eonix.be
Wed Feb 26 10:25:49 EST 2014


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140226/9a103c9f/attachment-0002.html>
-------------- next part --------------
_____________________________________
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


More information about the Community mailing list