[IGSTK-Users] Build Problem

Andinet Enquobahrie andinet.enqu at kitware.com
Tue Sep 8 15:08:07 EDT 2009


Hi Mehdi-

Can you try the CVS version?

cvs -d :pserver:anonymous at public.kitware.com:/cvsroot/IGSTK login
answer by 'igstk'
cvs -d :pserver:anonymous at public.kitware.com:/cvsroot/IGSTK co IGSTK


For the sandbox:

cvs -d :pserver:anonymous at public.kitware.com:/cvsroot/IGSTK co Sandbox

Let us know if you still encounter compilation errors.

Thanks,
-Andinet

On Tue, Sep 8, 2009 at 1:49 PM, Mehdi Esteghamatian<mestegha at uwo.ca> wrote:
> Hello Everybody,
>
> I am trying to compile igstk-4-0 on Windows XP machine. I get stuck into ITK
> version issue I think.
>
> MSVC threw the following error. I even replaced the itkVersion.cxx file with
> an old one (InsightToolkit-3.10.0) . Nonetheless, it did not work?!
>
> I would be appreciative for any clue or code snippets.
>
> Thank you,
>
> Mehdi
>
>
> 1>------ Build started: Project: igstkVersionTest, Configuration: Debug
> Win32 ------
> 2>------ Skipped Build: Project: Continuous, Configuration: Debug Win32
> ------
> 2>Project not selected to build for this solution configuration
> 3>------ Skipped Build: Project: RUN_TESTS, 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: Experimental, Configuration: Debug Win32
> ------
> 5>Project not selected to build for this solution configuration
> 6>------ Skipped Build: Project: NightlyMemoryCheck, 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>E:\Slicer\tmp\IGSTK-4-0-build\bin\Debug\igstkVersionTest.exe : fatal error
> LNK1120: 5 unresolved externals
> 1>Build log was saved at
> "file://e:\Slicer\tmp\IGSTK-4-0-build\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, 8 up-to-date, 7 skipped ==========
>
> _______________________________________________
> 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