My bad, I misunderstood the issue. There have been some issues with linking CTK with DCMTK statically. There is a painful discussion here: http://public.kitware.com/pipermail/ctk-developers/2012-February/000941.html It seems to be because DCMTK doesn't expose as an external project the dependencies of all its libraries. It ends up linking multiple times the same symbols.
Julien. On Sat, Nov 17, 2012 at 5:42 PM, Bill Lorensen <[email protected]>wrote: > I am building against ITKv4's head. I'm not sure it this fix is relevant. > > On Sat, Nov 17, 2012 at 5:36 PM, Julien Finet <[email protected]> > wrote: > > Hi Bill, > > > > Yesterday Francois Budin reported a similar issue (he had a crash > though). > > After investigation, we noticed that the itkMRMLIOPlugin was loaded by > the > > executable CLI because ITK_AUTOLOAD_PLUGIN was set. > > > > I just pushed a fix that would prevent executable CLIs from loading the > > plugin: > > http://na-mic.org/Mantis/view.php?id=2773 > > http://na-mic.org/Mantis/view.php?id=1635 > > > > Please note that it only applies to executable CLIs, the problem might > still > > happen for loadable CLIs. > > > > Julien. > > > > > > On Sat, Nov 17, 2012 at 3:11 PM, Steve Pieper <[email protected]> > wrote: > >> > >> FYI > >> > >> > >> ---------- Forwarded message ---------- > >> From: Bill Lorensen <[email protected]> > >> Date: Sat, Nov 17, 2012 at 11:28 AM > >> Subject: [Insight-developers] Possible issue with ITK dcmtk and Slicer > >> dcmtk > >> To: Insight Developers <[email protected]> > >> Cc: Hans Johnson <[email protected]>, Kent Williams > >> <[email protected]> > >> > >> > >> Folks, > >> > >> I have not investigated this too much, but here it goes... > >> > >> I updated slicer 4 today and itkv4. I'm building Slicer against > >> today's itkv4 master. > >> > >> The EMSegmentCommandLine program is segfaulting when exiting. I tried > >> it with the --xml argument. > >> > >> gdb reports (some symbols are missing because my build is not all debug > >> > >> #0 0x0000000000000031 in ?? () > >> #1 0x00007fffed103079 in OFListBase::~OFListBase (this=0x7fffed51b930, > >> __in_chrg=<value optimized out>) > >> at > >> > /home/lorensen/Projects/Slicer4-Superbuild/DCMTK/ofstd/libsrc/oflist.cc:54 > >> #2 0x00007fffe1980fba in OFList<DcmCodecList*>::~OFList() () > >> from > >> > /home/lorensen/Projects/Slicer4-Superbuild/ITKv4-build/Modules/ThirdParty/DCMTK/ITKDCMTK_ExtProject-build/lib/libdcmdata.so.3 > >> #3 0x00007fffd2649d3d in __cxa_finalize (d=0x7fffe1d0b2c0) > >> at cxa_finalize.c:56 > >> #4 0x00007fffe1978f36 in __do_global_dtors_aux () > >> from > >> > /home/lorensen/Projects/Slicer4-Superbuild/ITKv4-build/Modules/ThirdParty/DCMTK/ITKDCMTK_ExtProject-build/lib/libdcmdata.so.3 > >> #5 0x0000000000000000 in ?? () > >> > >> Looks to me like Slicer's Superbuild DCMTK is classing with ITK's > >> DCMTK. As I said I have not investigated this very much. > >> > >> Bill > >> _______________________________________________ > >> 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://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://www.itk.org/mailman/listinfo/insight-developers > >> _______________________________________________ > >> slicer-devel mailing list > >> [email protected] > >> http://massmail.spl.harvard.edu/mailman/listinfo/slicer-devel > >> To unsubscribe: send email to > >> [email protected] with unsubscribe as the > >> subject > > > > > > > > -- > Unpaid intern in BillsBasement at noware dot com >
_______________________________________________ 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://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://www.itk.org/mailman/listinfo/insight-developers
