[Insight-developers] Re: [Insight-users] Fixing bugs for ITK
with MinGW
Ali -
saveez at hotmail.com
Fri Sep 7 16:16:21 EDT 2007
It seems Tomas had build tests off! Apart from that, the new flags build the shared library and finally create a dll. However, you cannot link against the dynamic library itkCommon AND the rest of the static libraries now.
>
>
> Hi Dave,
>
> Well,
> building SHARED_LIBS works on Windows when we build the wrappings.
>
> ...
>
>
> I thought that the patch was working for Tomas...
>
>
> Tomas: Can you please verify this ?
>
>
> We are about to release ITK 3.4 in a week, so we can not really
> afford to commit patches that are not working.
>
>
> Please let us know,
>
>
> Thanks
>
>
> Luis
>
>
> -------------------
> David Cole wrote:
> > I think the patch is insufficient...
> >
> > I tried to build it yesterday after applying the patch, and it got
> > farther.... but then I got multiply defined symbols trying to link
> > ITKCommon and vnl libs in itkNumericsTests.exe : it ends up seeing the
> > same symbols coming from both libs (since the patch makes ITKCommon
> > export *everything*...)
> >
> > Either that, or I'm doing something wrong with my MinGW build.
> >
> > Is BUILD_SHARED_LIBS supposed to work at all on Windows...? Do we have
> > dashboards that verify it works with other environments besides MinGW?
> >
> > It appears to be building a lot of static libs anyhow, even though I've
> > set BUILD_SHARED_LIBS to ON. Looks like ITKCommon is the only thing that
> > gets built as a dll....
> >
> > Error details follow, for those curious enough to read through them.
> > Further suggestions welcome.
> >
> > ??
> > David
> >
> >
> >
> > mingw32-make output:
> >
> > [ 0%] Built target itkzlib
> > [ 1%] Built target itkpng
> > [ 2%] Built target itktiff
> > [ 3%] Built target itkopenjpeg
> > [ 4%] Built target ITKMetaIO
> > [ 6%] Built target ITKNrrdIO
> > [ 6%] Built target ITKEXPAT
> > [ 6%] Built target ITKDICOMParser
> > [ 6%] Built target itksysProcessFwd9x
> > [ 6%] Built target itksysEncodeExecutable
> > [ 7%] Built target itksys
> > [ 9%] Built target itkjpeg8
> > [ 12%] Built target itkjpeg12
> > [ 15%] Built target itkjpeg16
> > [ 17%] Built target itkgdcm
> > [ 17%] Built target ITKznz
> > [ 17%] Built target ITKniftiio
> > [ 17%] Built target itkvcl
> > [ 18%] Built target vcl_test_all
> > [ 18%] Built target vcl_test_include
> > [ 29%] Built target itkv3p_netlib
> > [ 29%] Built target itktestlib
> > [ 38%] Built target itkvnl
> > [ 38%] Built target testlib_test_all
> > [ 38%] Built target testlib_test_include
> > [ 38%] Built target testlib_test_link
> > [ 41%] Built target itkvnl_algo
> > [ 41%] Built target vnl_basic_operation_timings
> > [ 42%] Built target vnl_test_all
> > [ 42%] Built target vnl_test_include
> > [ 44%] Built target vnl_algo_test_all
> > [ 44%] Built target vnl_algo_test_include
> > [ 45%] Built target itkvnl_inst
> > [ 48%] Built target ITKCommon
> > [ 49%] Built target ITKNumerics
> > [ 49%] Built target ITKBasicFilters
> > [ 49%] Built target ITKAlgorithms
> > [ 49%] Built target ITKSpatialObject
> > [ 52%] Built target ITKIO
> > [ 52%] Built target itkTestDriver
> > [ 53%] Built target ITKStatistics
> > [ 55%] Built target ITKFEM
> > [ 55%] Built target itkNumericsHeaderTest
> > Linking CXX executable ../../../bin/itkNumericsTests.exe
_________________________________________________________________
The next generation of MSN Hotmail has arrived - Windows Live Hotmail
http://www.newhotmail.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.itk.org/mailman/private/insight-developers/attachments/20070907/aa838567/attachment.htm
More information about the Insight-developers
mailing list