[IGSTK-Developers] IGSTK compiling errors on Windows
Haiying Liu
hliu at bwh.harvard.edu
Thu May 29 09:53:51 EDT 2008
Hi,
I checked out the latest IGSTK code (cvs head). When I compiled on
Linux, it works well. However, if I compiled it on Windows, I got the
following errors. Any suggestions?
Thanks a lot,
Haiying
------ Build started: Project: igstkVersionTest, Configuration: Debug
Win32 ------
Linking...
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
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
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
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
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
C:\projects\igstk\IGSTK-build\bin\Debug\igstkVersionTest.exe : fatal
error LNK1120: 5 unresolved externals Build log was saved at
"file://c:\projects\igstk\IGSTK-build\Testing\igstkVersionTest.dir\Debug\BuildLog.htm"
igstkVersionTest - 6 error(s), 0 warning(s)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-developers/attachments/20080529/4cb0bd27/attachment-0001.html>
More information about the IGSTK-Developers
mailing list