Hi,<div><br></div><div>I tried to build external module LesionSizingtoolkit as instructions, it seemed well until build for ITK was almost finished.</div><div><br></div><div><div>Linking CXX executable ..\..\..\..\bin\LesionSegmentation.exe</div>
<div>Creating library file: ..\..\..\..\lib\libLesionSegmentation.dll.a</div><div>CMakeFiles\LesionSegmentation.dir/objects.a(LesionSegmentation.cxx.obj):LesionSe</div><div>gmentation.cxx:(.text+0x5e6e): undefined reference to `_imp___ZN3itk45LesionSegm</div>
<div>entationCommandLineProgressReporterC1Ev'</div><div>CMakeFiles\LesionSegmentation.dir/objects.a(itkLesionSegmentationCommandLineProg</div><div>ressReporter.cxx.obj):itkLesionSegmentationCommandLineProgressReporter.cxx:(.tex</div>
<div>t+0x1f0): undefined reference to `_imp___ZTVN3itk45LesionSegmentationCommandLine</div><div>ProgressReporterE'</div><div>CMakeFiles\LesionSegmentation.dir/objects.a(itkLesionSegmentationCommandLineProg</div><div>ressReporter.cxx.obj):itkLesionSegmentationCommandLineProgressReporter.cxx:(.tex</div>
<div>t+0x27d): undefined reference to `_imp___ZTVN3itk45LesionSegmentationCommandLine</div><div>ProgressReporterE'</div><div>CMakeFiles\LesionSegmentation.dir/objects.a(itkLesionSegmentationCommandLineProg</div><div>ressReporter.cxx.obj):itkLesionSegmentationCommandLineProgressReporter.cxx:(.tex</div>
<div>t+0x2f1): undefined reference to `_imp___ZTVN3itk45LesionSegmentationCommandLine</div><div>ProgressReporterE'</div><div>CMakeFiles\LesionSegmentation.dir/objects.a(itkLesionSegmentationCommandLineProg</div><div>ressReporter.cxx.obj):itkLesionSegmentationCommandLineProgressReporter.cxx:(.tex</div>
<div>t+0x35c): undefined reference to `_imp___ZTVN3itk45LesionSegmentationCommandLine</div><div>ProgressReporterE'</div><div>CMakeFiles\LesionSegmentation.dir/objects.a(itkLesionSegmentationCommandLineProg</div><div>ressReporter.cxx.obj):itkLesionSegmentationCommandLineProgressReporter.cxx:(.tex</div>
<div>t+0x3e8): undefined reference to `_imp___ZTVN3itk45LesionSegmentationCommandLine</div><div>ProgressReporterE'</div><div>collect2: ld returned 1 exit status</div><div>mingw32-make[2]: *** [bin/LesionSegmentation.exe] Error 1</div>
<div>mingw32-make[1]: *** [Modules/Remote/LesionSizingToolkit/Examples/CMakeFiles/Les</div><div>ionSegmentation.dir/all] Error 2</div><div>mingw32-make: *** [all] Error 2</div></div><div><br></div><div><br></div><div>My computer is Windows 7, compiler Mingw32, Cmake2.8, opencv2.3.1, ITK4.2.1.</div>
<div><br></div><div>Thanks,</div><div>Sun Tao</div>