[Insight-users] HybridSegmentationFuzzyVoronoi build problems, second try ...

Peter pbnoel at gmail.com
Tue Oct 20 10:45:53 EDT 2009


Yes I did switch ITK_USE_PATENTED on...

On Tue, Oct 20, 2009 at 4:17 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> When you ran cmake, did you specify:
>
> ITK_USE_PATENTED ON
>
>
> On Tue, Oct 20, 2009 at 8:31 AM, Peter <pbnoel at gmail.com> wrote:
>> Dear ITK members,
>>
>> I wrote yesterday already about a problem concerning to compile
>> HybridSegmentationFuzzyVoronoi under Visual Studio 2008. I got some
>> more details about my problem. After running CMake on the files in
>> folder /Examples/Patented I started the ALL_BUILD projection. I was
>> not able to compile the project. First I hat to add the following
>> directories:
>>
>> for lib folders: C:\libs\itk\InsightToolkit-3.16.0\bin\Release
>>
>>
>>
>> for include folders:
>> "C:\libs\itk\InsightToolkit-3.16.0\Code\Common";"C:\libs\itk\InsightToolkit-3.16.0";"C:\libs\itk\InsightToolkit-3.16.0\Utilities\vxl\core\";"C:\libs\itk\InsightToolkit-3.16.0\Utilities\vxl\vcl";"C:\libs\itk\InsightToolkit-3.16.0\Code\Algorithms";"C:\libs\itk\InsightToolkit-3.16.0\Code\Numerics";"C:\libs\itk\InsightToolkit-3.16.0\Code\BasicFilters";"C:\libs\itk\InsightToolkit-3.16.0\Code\Patented";"C:\libs\itk\InsightToolkit-3.16.0\Code\IO";"C:\libs\itk\InsightToolkit-3.16.0\Utilities";
>>
>> After adding all the information, I got the following error:
>>
>> ------ Erstellen gestartet: Projekt: FuzzyConnectednessImageFilter,
>> Konfiguration: Release Win32 ------
>>
>> Verknüpfen...
>>
>> FuzzyConnectednessImageFilter.obj : error LNK2001: Nicht aufgelöstes
>> externes Symbol ""public: virtual void __thiscall
>> itk::Region::Print(class std::basic_ostream<char,struct
>> std::char_traits<char> > &,class itk::Indent)const "
>> (?Print at Region@itk@@UBEXAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@VIndent at 2@@Z)".
>>
>> ITKIO.lib(itkImageIORegion.obj) : error LNK2001: Nicht aufgelöstes
>> externes Symbol ""public: virtual void __thiscall
>> itk::Region::Print(class std::basic_ostream<char,struct
>> std::char_traits<char> > &,class itk::Indent)const "
>> (?Print at Region@itk@@UBEXAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@VIndent at 2@@Z)".
>>
>> FuzzyConnectednessImageFilter.obj : error LNK2001: Nicht aufgelöstes
>> externes Symbol ""protected: virtual void __thiscall
>> itk::Region::PrintSelf(class std::basic_ostream<char,struct
>> std::char_traits<char> > &,class itk::Indent)const "
>> (?PrintSelf at Region@itk@@MBEXAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@VIndent at 2@@Z)".
>>
>> ITKIO.lib(itkImageIORegion.obj) : error LNK2001: Nicht aufgelöstes
>> externes Symbol ""protected: virtual void __thiscall
>> itk::Region::PrintSelf(class std::basic_ostream<char,struct
>> std::char_traits<char> > &,class itk::Indent)const "
>> (?PrintSelf at Region@itk@@MBEXAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@VIndent at 2@@Z)".
>>
>> FuzzyConnectednessImageFilter.obj : error LNK2001: Nicht aufgelöstes
>> externes Symbol ""protected: virtual void __thiscall
>> itk::Region::PrintHeader(class std::basic_ostream<char,struct
>> std::char_traits<char> > &,class itk::Indent)const "
>> (?PrintHeader at Region@itk@@MBEXAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@VIndent at 2@@Z)".
>>
>> ITKIO.lib(itkImageIORegion.obj) : error LNK2001: Nicht aufgelöstes
>> externes Symbol ""protected: virtual void __thiscall
>> itk::Region::PrintHeader(class std::basic_ostream<char,struct
>> std::char_traits<char> > &,class itk::Indent)const "
>> (?PrintHeader at Region@itk@@MBEXAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@VIndent at 2@@Z)".
>>
>> FuzzyConnectednessImageFilter.obj : error LNK2001: Nicht aufgelöstes
>> externes Symbol ""protected: virtual void __thiscall
>> itk::Region::PrintTrailer(class std::basic_ostream<char,struct
>> std::char_traits<char> > &,class itk::Indent)const "
>> (?PrintTrailer at Region@itk@@MBEXAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@VIndent at 2@@Z)".
>>
>> ITKIO.lib(itkImageIORegion.obj) : error LNK2001: Nicht aufgelöstes
>> externes Symbol ""protected: virtual void __thiscall
>> itk::Region::PrintTrailer(class std::basic_ostream<char,struct
>> std::char_traits<char> > &,class itk::Indent)const "
>> (?PrintTrailer at Region@itk@@MBEXAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@VIndent at 2@@Z)".
>>
>> FuzzyConnectednessImageFilter.obj : error LNK2019: Verweis auf nicht
>> aufgelöstes externes Symbol ""protected: virtual __thiscall
>> itk::ProcessObject::~ProcessObject(void)"
>> (??1ProcessObject at itk@@MAE at XZ)" in Funktion ""protected: virtual
>> __thiscall itk::ImageSource<class itk::Image<unsigned char,2>
>>>::~ImageSource<class itk::Image<unsigned char,2> >(void)"
>> (??1?$ImageSource at V?$Image at E$01 at itk@@@itk@@MAE at XZ)".
>>
>> ITKIO.lib(itkNrrdImageIOFactory.obj) : error LNK2001: Nicht
>> aufgelöstes externes Symbol ""public: virtual class
>> itk::SmartPointer<class itk::LightObject> __thiscall
>> itk::Object::CreateAnother(void)const "
>> (?CreateAnother at Object@itk@@UBE?AV?$SmartPointer at VLightObject@itk@@@2 at XZ)".
>>
>> ITKIO.lib(itkTIFFImageIOFactory.obj) : error LNK2001: Nicht
>> aufgelöstes externes Symbol ""public: virtual class
>> itk::SmartPointer<class itk::LightObject> __thiscall
>> itk::Object::CreateAnother(void)const "
>> (?CreateAnother at Object@itk@@UBE?AV?$SmartPointer at VLightObject@itk@@@2 at XZ)".
>>
>> ITKIO.lib(itkVTKImageIOFactory.obj) : error LNK2001: Nicht aufgelöstes
>> externes Symbol ""public: virtual class itk::SmartPointer<class
>> itk::LightObject> __thiscall itk::Object::CreateAnother(void)const "
>> (?CreateAnother at Object@itk@@UBE?AV?$SmartPointer at VLightObject@itk@@@2 at XZ)".
>>
>> ITKIO.lib(itkStimulateImageIOFactory.obj) : error LNK2001: Nicht
>> aufgelöstes externes Symbol ""public: virtual class
>> itk::SmartPointer<class itk::LightObject> __thiscall
>> itk::Object::CreateAnother(void)const "
>> (?CreateAnother at Object@itk@@UBE?AV?$SmartPointer at VLightObject@itk@@@2 at XZ)".
>>
>> ITKIO.lib(itkJPEGImageIOFactory.obj) : ...
>>
>>
>>
>> ...
>>
>> C:\libs\itk\InsightToolkit-3.16.0\Examples\Patented\Release\IterativeClosestPoint3.exe
>> : fatal error LNK1120: 138 nicht aufgelöste externe Verweise.
>>
>> Das Buildprotokoll wurde unter
>> "file://c:\libs\itk\InsightToolkit-3.16.0\Examples\Patented\IterativeClosestPoint3.dir\Release\BuildLog.htm"
>> gespeichert.
>>
>> IterativeClosestPoint3 - 237 Fehler, 0 Warnung(en)
>>
>> ------ Erstellen übersprungen: Projekt: ALL_BUILD, Konfiguration:
>> Release Win32 ------
>>
>> Für diese Projektmappenkonfiguration wurde kein zu erstellendes
>> Projekt ausgewählt.
>>
>> ========== Erstellen: 0 erfolgreich, Fehler bei 5, 1 aktuell, 1
>> übersprungen ==========
>>
>> Does any body know what I need to do to get this running? By the way
>> other examples I could get running by only using CMake.
>>
>> Unfortunately, I m new to use libs such as itk. Therefore, i would
>> really appreciate any help i can get...
>>
>> Thank You, Peter
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>


More information about the Insight-users mailing list