[Insight-users] error reports...
vic roc
victorxstc at yahoo.com
Sun May 14 07:03:11 EDT 2006
hello dear friends
i finally(!!) one by one collected .Lib files ineeded for building one of test applications , but finally this aerror was reported :
*****************************||||||||||||||||||||||||||||||||||||||||||||**********************************
******************************************************************************************
--------------------Configuration: itk2DSimpleLevelSetsExample - Win32 Release--------------------
Linking...
ITKCommon.lib(ITKCommon.dll) : error LNK2005: "public: virtual __thiscall itk::Region::~Region(void)" (??1Region at itk@@UAE at XZ) already defined in itk2DSimpleLevelSetsExample.obj
ITKCommon.lib(ITKCommon.dll) : error LNK2005: "public: virtual __thiscall itk::ExceptionObject::~ExceptionObject(void)" (??1ExceptionObject at itk@@UAE at XZ) already defined in itk2DSimpleLevelSetsExample.obj
ITKCommon.lib(ITKCommon.dll) : error LNK2005: "protected: void __thiscall itk::ExceptionObject::UpdateWhat(void)" (?UpdateWhat at ExceptionObject@itk@@IAEXXZ) already defined in itk2DSimpleLevelSetsExample.obj
ITKCommon.lib(ITKCommon.dll) : error LNK2005: "public: __thiscall itk::ExceptionObject::ExceptionObject(class itk::ExceptionObject const &)" (??0ExceptionObject at itk@@QAE at ABV01@@Z) already defined in itk2DSimpleLevelSetsExample.obj
ITKCommon.lib(ITKCommon.dll) : error LNK2005: "public: __thiscall itk::ExceptionObject::ExceptionObject(char const *,unsigned int,char const *,char const *)" (??0ExceptionObject at itk@@QAE at PBDI00@Z) already defined in itk2DSimpleLevelSetsExample.obj
ITKCommon.lib(ITKCommon.dll) : warning LNK4006: "public: virtual __thiscall itk::Region::~Region(void)" (??1Region at itk@@UAE at XZ) already defined in itk2DSimpleLevelSetsExample.obj; second definition ignored
ITKCommon.lib(ITKCommon.dll) : warning LNK4006: "public: virtual __thiscall itk::ExceptionObject::~ExceptionObject(void)" (??1ExceptionObject at itk@@UAE at XZ) already defined in itk2DSimpleLevelSetsExample.obj; second definition ignored
ITKCommon.lib(ITKCommon.dll) : warning LNK4006: "protected: void __thiscall itk::ExceptionObject::UpdateWhat(void)" (?UpdateWhat at ExceptionObject@itk@@IAEXXZ) already defined in itk2DSimpleLevelSetsExample.obj; second definition ignored
ITKCommon.lib(ITKCommon.dll) : warning LNK4006: "public: __thiscall itk::ExceptionObject::ExceptionObject(class itk::ExceptionObject const &)" (??0ExceptionObject at itk@@QAE at ABV01@@Z) already defined in itk2DSimpleLevelSetsExample.obj; second definiti
on ignored
ITKCommon.lib(ITKCommon.dll) : warning LNK4006: "public: __thiscall itk::ExceptionObject::ExceptionObject(char const *,unsigned int,char const *,char const *)" (??0ExceptionObject at itk@@QAE at PBDI00@Z) already defined in itk2DSimpleLevelSetsExample.obj
; second definition ignored
Creating library F:\ITKappsvC6\EXEcutables\Release/itk2DSimpleLevelSetsExample.lib and object F:\ITKappsvC6\EXEcutables\Release/itk2DSimpleLevelSetsExample.exp
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other libs; use /NODEFAULTLIB:library
itk2DSimpleLevelSetsExample.obj : error LNK2001: unresolved external symbol "public: static float const itk::NumericTraits<float>::Zero" (?Zero@?$NumericTraits at M@itk@@2MB)
itk2DSimpleLevelSetsExample.obj : error LNK2001: unresolved external symbol "public: static float const itk::NumericTraits<float>::One" (?One@?$NumericTraits at M@itk@@2MB)
itk2DSimpleLevelSetsExample.obj : error LNK2001: unresolved external symbol "public: static double const itk::NumericTraits<double>::Zero" (?Zero@?$NumericTraits at N@itk@@2NB)
itk2DSimpleLevelSetsExample.obj : error LNK2001: unresolved external symbol "public: static double const itk::NumericTraits<double>::One" (?One@?$NumericTraits at N@itk@@2NB)
F:\ITKappsvC6\EXEcutables\Release/itk2DSimpleLevelSetsExample.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.
itk2DSimpleLevelSetsExample.exe - 10 error(s), 6 warning(s)
************************************************************************************
*******************************.....................************************************
when i rebuilt whole process again this was reported:
********************************|||||||||||||||||||||||||||************************************
************************************************************************************
--------------------Configuration: itk2DSimpleLevelSetsExample - Win32 Release--------------------
Building Custom Rule F:\ITKapps\InsightApplications-2.6.0\SimpleLevelSetsExample\CMakeLists.txt
-- This is a CVS repository
-- Using Buildname: Win32-MSDEV
-- Configuring done
-- Generating done
-- Build files have been written to: F:/ITKappsvC6/ITKvc6
Compiling...
itk2DSimpleLevelSetsExample.cxx
Linking...
ITKCommon.lib(ITKCommon.dll) : error LNK2005: "public: virtual __thiscall itk::Region::~Region(void)" (??1Region at itk@@UAE at XZ) already defined in itk2DSimpleLevelSetsExample.obj
ITKCommon.lib(ITKCommon.dll) : error LNK2005: "public: virtual __thiscall itk::ExceptionObject::~ExceptionObject(void)" (??1ExceptionObject at itk@@UAE at XZ) already defined in itk2DSimpleLevelSetsExample.obj
ITKCommon.lib(ITKCommon.dll) : error LNK2005: "protected: void __thiscall itk::ExceptionObject::UpdateWhat(void)" (?UpdateWhat at ExceptionObject@itk@@IAEXXZ) already defined in itk2DSimpleLevelSetsExample.obj
ITKCommon.lib(ITKCommon.dll) : error LNK2005: "public: __thiscall itk::ExceptionObject::ExceptionObject(class itk::ExceptionObject const &)" (??0ExceptionObject at itk@@QAE at ABV01@@Z) already defined in itk2DSimpleLevelSetsExample.obj
ITKCommon.lib(ITKCommon.dll) : error LNK2005: "public: __thiscall itk::ExceptionObject::ExceptionObject(char const *,unsigned int,char const *,char const *)" (??0ExceptionObject at itk@@QAE at PBDI00@Z) already defined in itk2DSimpleLevelSetsExample.obj
ITKCommon.lib(ITKCommon.dll) : warning LNK4006: "public: virtual __thiscall itk::Region::~Region(void)" (??1Region at itk@@UAE at XZ) already defined in itk2DSimpleLevelSetsExample.obj; second definition ignored
ITKCommon.lib(ITKCommon.dll) : warning LNK4006: "public: virtual __thiscall itk::ExceptionObject::~ExceptionObject(void)" (??1ExceptionObject at itk@@UAE at XZ) already defined in itk2DSimpleLevelSetsExample.obj; second definition ignored
ITKCommon.lib(ITKCommon.dll) : warning LNK4006: "protected: void __thiscall itk::ExceptionObject::UpdateWhat(void)" (?UpdateWhat at ExceptionObject@itk@@IAEXXZ) already defined in itk2DSimpleLevelSetsExample.obj; second definition ignored
ITKCommon.lib(ITKCommon.dll) : warning LNK4006: "public: __thiscall itk::ExceptionObject::ExceptionObject(class itk::ExceptionObject const &)" (??0ExceptionObject at itk@@QAE at ABV01@@Z) already defined in itk2DSimpleLevelSetsExample.obj; second definiti
on ignored
ITKCommon.lib(ITKCommon.dll) : warning LNK4006: "public: __thiscall itk::ExceptionObject::ExceptionObject(char const *,unsigned int,char const *,char const *)" (??0ExceptionObject at itk@@QAE at PBDI00@Z) already defined in itk2DSimpleLevelSetsExample.obj
; second definition ignored
Creating library F:\ITKappsvC6\EXEcutables\Release/itk2DSimpleLevelSetsExample.lib and object F:\ITKappsvC6\EXEcutables\Release/itk2DSimpleLevelSetsExample.exp
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other libs; use /NODEFAULTLIB:library
itk2DSimpleLevelSetsExample.obj : error LNK2001: unresolved external symbol "public: static float const itk::NumericTraits<float>::Zero" (?Zero@?$NumericTraits at M@itk@@2MB)
itk2DSimpleLevelSetsExample.obj : error LNK2001: unresolved external symbol "public: static float const itk::NumericTraits<float>::One" (?One@?$NumericTraits at M@itk@@2MB)
itk2DSimpleLevelSetsExample.obj : error LNK2001: unresolved external symbol "public: static double const itk::NumericTraits<double>::Zero" (?Zero@?$NumericTraits at N@itk@@2NB)
itk2DSimpleLevelSetsExample.obj : error LNK2001: unresolved external symbol "public: static double const itk::NumericTraits<double>::One" (?One@?$NumericTraits at N@itk@@2NB)
F:\ITKappsvC6\EXEcutables\Release/itk2DSimpleLevelSetsExample.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.
itk2DSimpleLevelSetsExample.exe - 10 error(s), 6 warning(s)
************************************************************************************
*******************************.....................************************************
...
can any body please help me about this error?
thanks alot...
sincerely
vic roc
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060514/dd100c01/attachment.html
More information about the Insight-users
mailing list