[Insight-users] LesionSizingtoolkit build fail

tao sun colddiesun at gmail.com
Wed Nov 21 07:41:27 EST 2012


Hi,

I tried to build external module LesionSizingtoolkit as instructions, it
seemed well until build for ITK was almost finished.

Linking CXX executable ..\..\..\..\bin\LesionSegmentation.exe
Creating library file: ..\..\..\..\lib\libLesionSegmentation.dll.a
CMakeFiles\LesionSegmentation.dir/objects.a(LesionSegmentation.cxx.obj):LesionSe
gmentation.cxx:(.text+0x5e6e): undefined reference to
`_imp___ZN3itk45LesionSegm
entationCommandLineProgressReporterC1Ev'
CMakeFiles\LesionSegmentation.dir/objects.a(itkLesionSegmentationCommandLineProg
ressReporter.cxx.obj):itkLesionSegmentationCommandLineProgressReporter.cxx:(.tex
t+0x1f0): undefined reference to
`_imp___ZTVN3itk45LesionSegmentationCommandLine
ProgressReporterE'
CMakeFiles\LesionSegmentation.dir/objects.a(itkLesionSegmentationCommandLineProg
ressReporter.cxx.obj):itkLesionSegmentationCommandLineProgressReporter.cxx:(.tex
t+0x27d): undefined reference to
`_imp___ZTVN3itk45LesionSegmentationCommandLine
ProgressReporterE'
CMakeFiles\LesionSegmentation.dir/objects.a(itkLesionSegmentationCommandLineProg
ressReporter.cxx.obj):itkLesionSegmentationCommandLineProgressReporter.cxx:(.tex
t+0x2f1): undefined reference to
`_imp___ZTVN3itk45LesionSegmentationCommandLine
ProgressReporterE'
CMakeFiles\LesionSegmentation.dir/objects.a(itkLesionSegmentationCommandLineProg
ressReporter.cxx.obj):itkLesionSegmentationCommandLineProgressReporter.cxx:(.tex
t+0x35c): undefined reference to
`_imp___ZTVN3itk45LesionSegmentationCommandLine
ProgressReporterE'
CMakeFiles\LesionSegmentation.dir/objects.a(itkLesionSegmentationCommandLineProg
ressReporter.cxx.obj):itkLesionSegmentationCommandLineProgressReporter.cxx:(.tex
t+0x3e8): undefined reference to
`_imp___ZTVN3itk45LesionSegmentationCommandLine
ProgressReporterE'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [bin/LesionSegmentation.exe] Error 1
mingw32-make[1]: ***
[Modules/Remote/LesionSizingToolkit/Examples/CMakeFiles/Les
ionSegmentation.dir/all] Error 2
mingw32-make: *** [all] Error 2


My computer is Windows 7, compiler Mingw32, Cmake2.8, opencv2.3.1, ITK4.2.1.

Thanks,
Sun Tao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121121/e135173c/attachment.htm>


More information about the Insight-users mailing list