[IGSTK-Users] Build Problem
Mehdi Esteghamatian
mestegha at uwo.ca
Tue Sep 8 13:49:35 EDT 2009
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 ==========
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20090908/3f01bf2e/attachment-0001.html>
More information about the IGSTK-Users
mailing list