[IGSTK-Users] igstk linking errors

Patrick Cheng cheng at isis.georgetown.edu
Thu Feb 3 13:50:15 EST 2011


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