[IGSTK-Developers] [Fwd: Re: Compile Error of IGSTK on Windows]

Andinet Enquobahrie andinet.enqu at kitware.com
Thu Aug 27 05:29:09 EDT 2009


Mehdi-

This compilation error is due to a recent change in itkVersion.*. The Get
version methods implementation have been moved from the header to the
implementation (.cxx) file.

Actually this change was not correct and I believe it will be reverted back
soon in ITK CVS.  Luis Ibanez is working on it.

In the meantime, you can locally roll back the recent change in itkVersion.*
in your ITK check out.

HTH,
-Andinet

On Thu, Aug 27, 2009 at 12:01 AM, Haiying Liu <hliu at bwh.harvard.edu> wrote:

>
>
> Hi Mehdi,
>
> I forward your error messages to the igstk-developers mailing list. Hope
> you can get answers there.
>
> Haiying
>
> Mehdi Esteghamatian wrote:
>
>> Hello All,
>>
>> I am try to compile the IGSTK on Windows XP for my Slicer3. However, it
>> throws out the following error. As such, it is a link error complaining
>> about the unresolved symbols.
>>
>>  As I read the the wiki page in this regards ('
>> http://wiki.na-mic.org/Wiki/index.php/IGT:ToolKit/Build-IGSTK'<http://wiki.na-mic.org/Wiki/index.php/IGT:ToolKit/Build-IGSTK%27>),
>> I have to installed that in Slicer3-build folder. However, I did not do so.
>>
>> I was wonder if this error has something to do with that or not?
>>
>> Thank you so much,
>>
>> Mehdi
>>
>>
>> 1>------ Build started: Project: igstkVersionTest, Configuration: Debug
>> Win32 ------
>> 2>------ Skipped Build: Project: RUN_TESTS, Configuration: Debug Win32
>> ------
>> 2>Project not selected to build for this solution configuration
>> 3>------ Skipped Build: Project: NightlyMemoryCheck, Configuration: Debug
>> Win32 ------
>> 3>Project not selected to build for this solution configuration
>> 4>------ Skipped Build: Project: Nightly, Configuration: Debug Win32
>> ------
>> 4>Project not selected to build for this solution configuration
>> 5>------ Skipped Build: Project: Continuous, Configuration: Debug Win32
>> ------
>> 5>Project not selected to build for this solution configuration
>> 6>------ Skipped Build: Project: Experimental, Configuration: Debug Win32
>> ------
>> 6>Project not selected to build for this solution configuration
>> 1>Linking...
>> 1>igstkVersionTest.obj : error LNK2019: unresolved external symbol
>> "__declspec(dllimport) public: static char const * __cdecl
>> itk::Version::GetITKSourceVersion(void)" (__imp_?GetITKSourceVersion at Version
>> @itk@@SAPBDXZ) referenced in function _main
>> 1>igstkVersionTest.obj : error LNK2019: unresolved external symbol
>> "__declspec(dllimport) public: static int __cdecl
>> itk::Version::GetITKBuildVersion(void)" (__imp_?GetITKBuildVersion at Version
>> @itk@@SAHXZ) referenced in function _main
>> 1>igstkVersionTest.obj : error LNK2019: unresolved external symbol
>> "__declspec(dllimport) public: static int __cdecl
>> itk::Version::GetITKMinorVersion(void)" (__imp_?GetITKMinorVersion at Version
>> @itk@@SAHXZ) referenced in function _main
>> 1>igstkVersionTest.obj : error LNK2019: unresolved external symbol
>> "__declspec(dllimport) public: static int __cdecl
>> itk::Version::GetITKMajorVersion(void)" (__imp_?GetITKMajorVersion at Version
>> @itk@@SAHXZ) referenced in function _main
>> 1>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
>> 1>C:\Documents and Settings\mehdie\My
>> Documents\Research\IGSTK-build3\bin\Debug\igstkVersionTest.exe : fatal error
>> LNK1120: 5 unresolved externals
>> 1>Build log was saved at "file://c:\Documents and Settings\mehdie\My
>> Documents\Research\IGSTK-build3\Testing\igstkVersionTest.dir\Debug\BuildLog.htm"
>> 1>igstkVersionTest - 6 error(s), 0 warning(s)
>> 7>------ Skipped Build: Project: PACKAGE, Configuration: Debug Win32
>> ------
>> 7>Project not selected to build for this solution configuration
>> 8>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32
>> ------
>> 8>Project not selected to build for this solution configuration
>> ========== Build: 0 succeeded, 1 failed, 14 up-to-date, 7 skipped
>> ==========
>>
>>
>>
>
>
> _______________________________________________
> IGSTK-Developers mailing list
> IGSTK-Developers at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-developers/attachments/20090827/de40b5e1/attachment.html>


More information about the IGSTK-Developers mailing list