[IGSTK-Users] igstk linking errors

Efthymios Efstathiou efstates at iis.fraunhofer.de
Fri Feb 4 04:54:49 EST 2011


Dear Patrick,

thank you for your immediate response to my problem.

I needed indeed itk built with SHARED_LIBRARIES. Nevertheless, the build 
of another itk copy without SHARED_LIBRARIES and the build of igstk 
without TESTING and EXAMPLES allowed me to compile both head cvs and 4.2 
versions of igstk without any errors.

Thank you once again for your help.

Regards,
Efthymios


Am 03.02.2011 19:50, schrieb Patrick Cheng:
> Hi Efthymios Efstathiou,
>
> You probably built ITK as SHARED_LIBRARY.
>
> This error might indicates a potential problem in the itk DLLs or the
> linker can't find the DLLs. Try to run CMake and configure ITK to build
> in static library and give it a try again.
>
> Patrick
>
> On 2/3/11 1:05 PM, Efthymios Efstathiou wrote:
>> Dear igstk-users,
>>
>> by the compilation of igstk 4.2, using itk 3.20.0, vtk 5.6.1, Qt 4.7.1,
>> VS 9 2008 and WinXP 32bit, I am getting some common linking errors which
>> are already mentioned in past mails sent to the mailing list, e.g.:
>>
>> igstkVersionTest.obj : error LNK2019: unresolved external symbol
>> "__declspec(dllimport) public: static char const * __cdecl
>> itk::Version::GetITKVersion(void)"
>> (__imp_?GetITKVersion at Version@itk@@SAPBDXZ) referenced in function _main
>>
>> Although I tried the cvs head version of igstk, not only the above
>> linking errors were suppressed, but new ones were also created.
>>
>> Therefore I would like to ask your opinion regarding this matter. Thank
>> you in advance for any help.
>>
>> Regards,
>> Efthymios Efstathiou
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users



More information about the IGSTK-Users mailing list