No subject


Wed Oct 7 22:37:18 EDT 2009


---------------------------------------------------------------------------=
-------
>> Verkn=FCpfen...
>>
>> FuzzyConnectednessImageFilter.obj : error LNK2001: Nicht aufgel=F6stes
>> 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)".
---------------------------------------------------------------------------=
-----


It looks like you are missing to link with the ITKCommon library.


Please make sure that in the CMakeLists.txt file of your
project, you have a command such as:


  TARGET_LINK_LIBRARIES( myApplication ITKCommon )


If in doubt,
Please just post your CMakeLists.txt file to the mailing list,
and we will help you to figure out the source of the problem.


     Thanks


          Luis



---------------------------------------------------------------------------=
-----------
On Tue, Oct 20, 2009 at 10:17 AM, Bill Lorensen <bill.lorensen at gmail.com> w=
rote:
> 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\InsightTool=
kit-3.16.0";"C:\libs\itk\InsightToolkit-3.16.0\Utilities\vxl\core\";"C:\lib=
s\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\InsightTo=
olkit-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=FCpfen...
>>
>> FuzzyConnectednessImageFilter.obj : error LNK2001: Nicht aufgel=F6stes
>> 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=F6stes
>> 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=F6stes
>> 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@@@s=
td@@VIndent at 2@@Z)".
>>
>> ITKIO.lib(itkImageIORegion.obj) : error LNK2001: Nicht aufgel=F6stes
>> 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@@@s=
td@@VIndent at 2@@Z)".
>>
>> FuzzyConnectednessImageFilter.obj : error LNK2001: Nicht aufgel=F6stes
>> 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=F6stes
>> 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=F6stes
>> 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=F6stes
>> 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=F6stes 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=F6stes 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=F6stes 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=F6stes
>> 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=F6stes 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\IterativeClo=
sestPoint3.exe
>> : fatal error LNK1120: 138 nicht aufgel=F6ste externe Verweise.
>>
>> Das Buildprotokoll wurde unter
>> "file://c:\libs\itk\InsightToolkit-3.16.0\Examples\Patented\IterativeClo=
sestPoint3.dir\Release\BuildLog.htm"
>> gespeichert.
>>
>> IterativeClosestPoint3 - 237 Fehler, 0 Warnung(en)
>>
>> ------ Erstellen =FCbersprungen: Projekt: ALL_BUILD, Konfiguration:
>> Release Win32 ------
>>
>> F=FCr diese Projektmappenkonfiguration wurde kein zu erstellendes
>> Projekt ausgew=E4hlt.
>>
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Erstellen: 0 erfolgreich, Fehler bei 5, 1=
 aktuell, 1
>> =FCbersprungen =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>
>> 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.o=
rg/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>
> _____________________________________
> 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.or=
g/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