[ITK-users] ITK build_shared_libs

Dženan Zukić dzenanz at gmail.com
Sun Sep 25 10:36:18 EDT 2016


Hi Yang,

all your link errors are for I/O class factories. Can you read the
following and see whether it helps you solve the problem?
https://itk.org/Wiki/Plugin_IO_mechanisms
https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/Documentation.html

Regards,
Dženan

On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong <jinzhong76 at gmail.com>
wrote:

> Hi all,
>
>
>
> I have a very weird problem when I try to build my library. I have an old
> library, previously was built based on ITK 3.16 and VTK 5.8. I built my
> library to both DLL and static library. By configuring in cmake properly, I
> could build both types of libraries without any problem. Recently, I
> upgrade it to ITK 4.10 and VTK 7.0.  If I turned on BUILD_SHARED_LIBS in
> ITK, both DLL and static lib for my library can be compiled and linked,
> however, I need to include all DLL files from ITK when I would like to
> distribute my library. I don’t want to do so. Then I turned off
> BUILD_SHARED_LIBS in ITK. The static lib of my library can be built, but
> the DLL couldn’t. Error happened during the link stage. The error message
> was attached below. I used CMake 3.6.2 + VS 2008 + Windows 7.
>
>
>
> 2>   Creating library D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.lib
> and object D:\MeshContourDeformation\ContourWarpingLib-x86-dll\
> Debug\ContourWarping32.exp
>
> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)"
> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in
> function __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E
> $01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0
>
> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)"
> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> GE5ImageIOFactoryRegister__Private(void)" (__imp_?
> GE5ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)"
> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> GE5ImageIOFactoryRegister__Private(void)" (__imp_?
> GE5ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)"
> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)"
> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)"
> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)"
> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> GE4ImageIOFactoryRegister__Private(void)" (__imp_?
> GE4ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)"
> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in
> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for
> 'ImageIOFactoryRegisterRegisterList''(void)" (??__
> EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> GE4ImageIOFactoryRegister__Private(void)" (__imp_?
> GE4ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)"
> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)"
> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)"
> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)"
> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> MRCImageIOFactoryRegister__Private(void)" (__imp_?
> MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function
> "void __cdecl std::_Debug_order<class std::_Tree<class
> std::_Tset_traits<unsigned long,struct std::less<unsigned long>,class
> std::allocator<unsigned long>,0> >::iterator>(class std::_Tree<class
> std::_Tset_traits<unsigned long,struct std::less<unsigned long>,class
> std::allocator<unsigned long>,0> >::iterator,class std::_Tree<class
> std::_Tset_traits<unsigned long,struct std::less<unsigned long>,class
> std::allocator<unsigned long>,0> >::iterator,wchar_t const *,unsigned int)"
> (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std
> @@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V
> ?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z)
>
> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)"
> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> MRCImageIOFactoryRegister__Private(void)" (__imp_?
> MRCImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)"
> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)"
> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)"
> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)"
> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> MetaImageIOFactoryRegister__Private(void)" (__imp_?
> MetaImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)"
> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in
> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for
> 'ImageIOFactoryRegisterRegisterList''(void)" (??__
> EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> MetaImageIOFactoryRegister__Private(void)" (__imp_?
> MetaImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)"
> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)"
> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)"
> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in
> function "public: __thiscall std::vector<class std::vector<class itk::
> BinaryImageToLabelMapFilter<class itk::Image<unsigned char,2>,class
> itk::LabelMap<class itk::LabelObject<short,2> > >::runLength,class
> std::allocator<class itk::BinaryImageToLabelMapFilter<class
> itk::Image<unsigned char,2>,class itk::LabelMap<class
> itk::LabelObject<short,2> > >::runLength> >,class std::allocator<class
> std::vector<class itk::BinaryImageToLabelMapFilter<class
> itk::Image<unsigned char,2>,class itk::LabelMap<class
> itk::LabelObject<short,2> > >::runLength,class std::allocator<class itk::
> BinaryImageToLabelMapFilter<class itk::Image<unsigned char,2>,class
> itk::LabelMap<class itk::LabelObject<short,2> > >::runLength> > >
> >::~vector<class std::vector<class itk::BinaryImageToLabelMapFilter<class
> itk::Image<unsigned char,2>,class itk::LabelMap<class
> itk::LabelObject<short,2> > >::runLength,class std::allocator<class itk::
> BinaryImageToLabelMapFilter<class itk::Image<unsigned char,2>,class
> itk::LabelMap<class itk::LabelObject<short,2> > >::runLength> >,class
> std::allocator<class std::vector<class itk::BinaryImageToLabelMapFilter<class
> itk::Image<unsigned char,2>,class itk::LabelMap<class
> itk::LabelObject<short,2> > >::runLength,class std::allocator<class itk::
> BinaryImageToLabelMapFilter<class itk::Image<unsigned char,2>,class
> itk::LabelMap<class itk::LabelObject<short,2> > >::runLength> > > >(void)"
> (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E
> $01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@
> @V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk
> @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator@
> V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk
> @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?
> $BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap@
> V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ)
>
> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)"
> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> BioRadImageIOFactoryRegister__Private(void)" (__imp_?
> BioRadImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)"
> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> BioRadImageIOFactoryRegister__Private(void)" (__imp_?
> BioRadImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)"
> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)"
> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)"
> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)"
> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced
> in function "protected: __thiscall std::_Vector_val<struct
> itk::ObjectStore<class itk::SparseFieldLevelSetNode<class itk::Index<3> >
> >::MemoryBlock,class std::allocator<struct itk::ObjectStore<class
> itk::SparseFieldLevelSetNode<class itk::Index<3> > >::MemoryBlock>
> >::_Vector_val<struct itk::ObjectStore<class itk::SparseFieldLevelSetNode<class
> itk::Index<3> > >::MemoryBlock,class std::allocator<struct
> itk::ObjectStore<class itk::SparseFieldLevelSetNode<class itk::Index<3> >
> >::MemoryBlock> >(class std::allocator<struct itk::ObjectStore<class
> itk::SparseFieldLevelSetNode<class itk::Index<3> > >::MemoryBlock>)"
> (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V
> ?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$
> SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V
> ?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$
> Index@$02 at itk@@@itk@@@itk@@@1@@Z)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> StimulateImageIOFactoryRegister__Private(void)" (__imp_?
> StimulateImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)"
> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> StimulateImageIOFactoryRegister__Private(void)" (__imp_?
> StimulateImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)"
> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)"
> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)"
> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)"
> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> VTKImageIOFactoryRegister__Private(void)" (__imp_?
> VTKImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)"
> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in
> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for
> 'ImageIOFactoryRegisterRegisterList''(void)" (??__
> EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> VTKImageIOFactoryRegister__Private(void)" (__imp_?
> VTKImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)"
> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)"
> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)"
> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in
> function __ehhandler$??1?$vector at V?$vector at VrunLength@?$
> BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V
> ?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?
> $BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap@
> V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator@
> V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk
> @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?
> $BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap@
> V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ
>
> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)"
> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> TIFFImageIOFactoryRegister__Private(void)" (__imp_?
> TIFFImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)"
> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> TIFFImageIOFactoryRegister__Private(void)" (__imp_?
> TIFFImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)"
> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)"
> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)"
> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)"
> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> PNGImageIOFactoryRegister__Private(void)" (__imp_?
> PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function
> "void __cdecl std::_Debug_order2<class std::_Tree<class
> std::_Tset_traits<unsigned long,struct std::less<unsigned long>,class
> std::allocator<unsigned long>,0> >::iterator>(class std::_Tree<class
> std::_Tset_traits<unsigned long,struct std::less<unsigned long>,class
> std::allocator<unsigned long>,0> >::iterator,class std::_Tree<class
> std::_Tset_traits<unsigned long,struct std::less<unsigned long>,class
> std::allocator<unsigned long>,0> >::iterator,wchar_t const *,unsigned
> int,struct std::forward_iterator_tag)" (??$_Debug_order2 at Viterator@?$
> _Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@
> @@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K
> @2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z)
>
> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)"
> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> PNGImageIOFactoryRegister__Private(void)" (__imp_?
> PNGImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)"
> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)"
> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)"
> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)"
> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> LSMImageIOFactoryRegister__Private(void)" (__imp_?
> LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function
> "void __cdecl std::_Debug_order2<class std::_Tree<class
> std::_Tset_traits<unsigned long,struct std::less<unsigned long>,class
> std::allocator<unsigned long>,0> >::iterator>(class std::_Tree<class
> std::_Tset_traits<unsigned long,struct std::less<unsigned long>,class
> std::allocator<unsigned long>,0> >::iterator,class std::_Tree<class
> std::_Tset_traits<unsigned long,struct std::less<unsigned long>,class
> std::allocator<unsigned long>,0> >::iterator,wchar_t const *,unsigned
> int,struct std::forward_iterator_tag)" (??$_Debug_order2 at Viterator@?$
> _Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@
> @@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K
> @2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z)
>
> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)"
> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> LSMImageIOFactoryRegister__Private(void)" (__imp_?
> LSMImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)"
> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)"
> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)"
> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)"
> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in
> function "protected: void __thiscall std::vector<struct
> itk::ObjectStore<class itk::SparseFieldLevelSetNode<class itk::Index<3> >
> >::MemoryBlock,class std::allocator<struct itk::ObjectStore<class
> itk::SparseFieldLevelSetNode<class itk::Index<3> > >::MemoryBlock>
> >::_Tidy(void)" (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$
> SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$
> allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@
> $02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> BMPImageIOFactoryRegister__Private(void)" (__imp_?
> BMPImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)"
> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> BMPImageIOFactoryRegister__Private(void)" (__imp_?
> BMPImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)"
> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)"
> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)"
> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)"
> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> GDCMImageIOFactoryRegister__Private(void)" (__imp_?
> GDCMImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)"
> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in
> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for
> 'ImageIOFactoryRegisterRegisterList''(void)" (??__
> EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> GDCMImageIOFactoryRegister__Private(void)" (__imp_?
> GDCMImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)"
> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)"
> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)"
> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)"
> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> JPEGImageIOFactoryRegister__Private(void)" (__imp_?
> JPEGImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)"
> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in
> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for
> 'ImageIOFactoryRegisterRegisterList''(void)" (??__
> EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> JPEGImageIOFactoryRegister__Private(void)" (__imp_?
> JPEGImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)"
> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)"
> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)"
> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in
> function "public: __thiscall std::vector<unsigned long,class
> std::allocator<unsigned long> >::~vector<unsigned long,class
> std::allocator<unsigned long> >(void)" (??1?$vector at KV?$allocator at K@std@
> @@std@@QAE at XZ)
>
> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)"
> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> HDF5ImageIOFactoryRegister__Private(void)" (__imp_?
> HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)"
> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> HDF5ImageIOFactoryRegister__Private(void)" (__imp_?
> HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)"
> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)"
> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)"
> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)"
> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> GiplImageIOFactoryRegister__Private(void)" (__imp_?
> GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function
> "void __cdecl std::_Debug_order2<class std::_Tree<class
> std::_Tset_traits<unsigned long,struct std::less<unsigned long>,class
> std::allocator<unsigned long>,0> >::iterator>(class std::_Tree<class
> std::_Tset_traits<unsigned long,struct std::less<unsigned long>,class
> std::allocator<unsigned long>,0> >::iterator,class std::_Tree<class
> std::_Tset_traits<unsigned long,struct std::less<unsigned long>,class
> std::allocator<unsigned long>,0> >::iterator,wchar_t const *,unsigned
> int,struct std::forward_iterator_tag)" (??$_Debug_order2 at Viterator@?$
> _Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@
> @@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K
> @2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z)
>
> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)"
> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> GiplImageIOFactoryRegister__Private(void)" (__imp_?
> GiplImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)"
> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)"
> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)"
> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)"
> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in
> function "protected: bool __thiscall std::vector<struct
> itk::ObjectStore<class itk::SparseFieldLevelSetNode<class itk::Index<3> >
> >::MemoryBlock,class std::allocator<struct itk::ObjectStore<class
> itk::SparseFieldLevelSetNode<class itk::Index<3> > >::MemoryBlock>
> >::_Buy(unsigned int)" (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$
> SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$
> allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@
> $02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> NrrdImageIOFactoryRegister__Private(void)" (__imp_?
> NrrdImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)"
> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> NrrdImageIOFactoryRegister__Private(void)" (__imp_?
> NrrdImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)"
> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)"
> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)"
> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)"
> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> NiftiImageIOFactoryRegister__Private(void)" (__imp_?
> NiftiImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)"
> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in
> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for
> 'ImageIOFactoryRegisterRegisterList''(void)" (??__
> EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ)
>
> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external
> symbol "__declspec(dllimport) void __cdecl itk::
> NiftiImageIOFactoryRegister__Private(void)" (__imp_?
> NiftiImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)"
> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)"
> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ)
>
> 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.dll
> : fatal error LNK1120: 17 unresolved externals
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> 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://public.kitware.com/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20160925/5687a306/attachment-0001.html>


More information about the Insight-users mailing list