[Insight-users] Watershed Linker Error
Michael Siegesmund
TheSmashingPumpkin at web.de
Wed Aug 12 08:34:22 EDT 2009
Hi,
I included the WatershedImageFilter in my project and created a watershed object. Now I get some linker errors from MSVS 2005. I already looked into the mailing-archive and added "/FORCE:MULTIPLE" to the linker options (to prevent linker errors) but nothing changed. Any idea how to solve the problem? (All other filters produce no linker errors - only watershed does.)
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
#include "itkWatershedImageFilter.h"
typedef itk::WatershedImageFilter<ScalarImageType> WatershedFilterType;
WatershedFilterType::Pointer watershed = WatershedFilterType::New();
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
error LNK2001: unresolved external symbol "protected: virtual void __thiscall itk::WatershedMiniPipelineProgressCommand::PrintSelf(class std::basic_ostream<char,struct std::char_traits<char> > &,class itk::Indent)const " (?PrintSelf at WatershedMiniPipelineProgressCommand@itk@@MBEXAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@VIndent at 2@@Z) SimpleView4.obj
error LNK2001: unresolved external symbol "public: virtual void __thiscall itk::WatershedMiniPipelineProgressCommand::Execute(class itk::Object const *,class itk::EventObject const &)" (?Execute at WatershedMiniPipelineProgressCommand@itk@@UAEXPBVObject at 2@ABVEventObject at 2@@Z) SimpleView4.obj
error LNK2001: unresolved external symbol "public: virtual void __thiscall itk::WatershedMiniPipelineProgressCommand::Execute(class itk::Object *,class itk::EventObject const &)" (?Execute at WatershedMiniPipelineProgressCommand@itk@@UAEXPAVObject at 2@ABVEventObject at 2@@Z) SimpleView4.obj
fatal error LNK1120: 3 unresolved externals C:\Dokumente und Einstellungen\siegesmund\Desktop\Neuer Ordner\Test\Release\qtsimpleview.exe
________________________________________________________________
Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/
More information about the Insight-users
mailing list