View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0005647 | ITK | public | 2007-09-03 15:08 | 2009-07-30 10:08 | |||||
Reporter | Tomas Kazmar | ||||||||
Assigned To | Luis Ibanez | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0005647: ITK with shared libs on does not compile under MinGW | ||||||||
Description | Current ITK does not compile because MinGW linker does not find some symbols correctly (SmartPointerForwardReference). It fails during linking step of itkTestDriver.exe. Solution/hack to overcome this bug can be to include itkSmartPointerForwardReference.txx in the source code of every executable, like itkTestDriver.exe, examples or any user application. The bug is triggered by BUILD_SHARED_LIBS=ON cmake option. This bug was discussed many times on mailing list since December 2006: http://www.itk.org/pipermail/insight-users/2006-December/020393.html [^] http://www.itk.org/pipermail/insight-users/2007-May/022395.html [^] (errors output by linker) http://www.itk.org/pipermail/insight-users/2007-June/022503.html [^] (hack) http://www.itk.org/pipermail/insight-users/2007-August/023325.html [^] http://www.itk.org/pipermail/insight-users/2007-August/023470.html [^] (last paragraph) | ||||||||
Additional Information | ITK+BUILD_SHARED_LIBS+MinGW | ||||||||
Tags | No tags attached. | ||||||||
Resolution Date | |||||||||
Sprint | |||||||||
Sprint Status | |||||||||
Attached Files | itk_mingw_shared_library.patch [^] (511 bytes) 2007-09-07 12:42 [Show Content] | ||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0008813) Tomas Kazmar (reporter) 2007-09-03 15:22 |
Recently there were also two threads in developers mailing list: [Insight-developers] SmartPointerForwardReference Compile error with mingw [Insight-developers] Re: [Insight-users] Fixing bugs for ITK with MinGW This seems as an important bit from the former: # I think it was for some interaction between ProcessObject and # DataObject. There is an explicit instantiation of # SmartPointerForwardReference inside itkDataObject.cxx, but it is not # dllexport-ed. |
(0008888) Luis Ibanez (manager) 2007-09-07 12:41 |
A patch was contributed in the developers list http://www.itk.org/mailman/private/insight-developers/2007-September/009523.html [^] |
(0008889) Luis Ibanez (manager) 2007-09-07 12:47 |
The patch was committed to CVS http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Common/CMakeLists.txt?root=Insight&sortby=date&r2=1.125&r1=1.124 [^] and the previous attempt (that didn't work) was removed. |
(0010257) Luis Ibanez (manager) 2008-01-23 15:50 |
We need a build of ITK in MinGW with SHARED_LIBS on in order to test this. |
(0017023) Bill Lorensen (developer) 2009-07-30 10:08 |
Duplicate bug 6724 resolves the issue. An update to cmake 2.6.4 permits successful shared library builds on cygwin and mingw. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2007-09-03 15:08 | Tomas Kazmar | New Issue | |
2007-09-03 15:22 | Tomas Kazmar | Note Added: 0008813 | |
2007-09-07 12:41 | Luis Ibanez | Note Added: 0008888 | |
2007-09-07 12:41 | Luis Ibanez | Status | new => assigned |
2007-09-07 12:41 | Luis Ibanez | Assigned To | => Luis Ibanez |
2007-09-07 12:42 | Luis Ibanez | File Added: itk_mingw_shared_library.patch | |
2007-09-07 12:47 | Luis Ibanez | Note Added: 0008889 | |
2008-01-23 15:50 | Luis Ibanez | Note Added: 0010257 | |
2008-05-13 04:45 | Tom Vercauteren | Relationship added | has duplicate 0006724 |
2009-07-30 10:08 | Bill Lorensen | Note Added: 0017023 | |
2009-07-30 10:08 | Bill Lorensen | Status | assigned => closed |
2009-07-30 10:08 | Bill Lorensen | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |