View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006724ITKpublic2008-04-07 08:412009-07-30 10:06
ReporterTom Vercauteren 
Assigned ToBill Lorensen 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006724: ITK does not compile on mingw with BUILD_SHARED_LIBS set to ON
DescriptionBuilding ITK on windows with mingw with BUILD_SHARED_LIBS set to ON (and BUILD_TESTING set to ON) leads to many linking errors of the type
"multiple definition of [...] vnl_[...]"
TagsNo tags attached.
Resolution Date
Sprint
Sprint Status
Attached Files

 Relationships
duplicate of 0005647closedLuis Ibanez ITK with shared libs on does not compile under MinGW 

  Notes
(0011273)
Tom Vercauteren (developer)
2008-04-14 03:52

Just realized that this bug is a duplicate of bug # 5647
(0011285)
Tomas Kazmar (reporter)
2008-04-14 13:29

Yes, it is a duplicate.

Building ITK with shared libs on MinGW has been broken for a long time now. The last patch fixes the linker errors (unresolved symbols) for some executables, unfortunately not for itkTestDriver (it introduces the error you report), if I recall well. Currently, not using shared libs on MinGW is the way to go.
(0012064)
Tom Vercauteren (developer)
2008-05-22 04:47

Apparently, the same problem appears on cygwin
(0017018)
Bill Lorensen (developer)
2009-07-30 08:01

Try updating to CMake 2.6.4. We have a cygwin and mingw nightlies building with shared libraries. I also build mingw shared on my system. There were changes made to cmake to explicitly resolve this issue.
(0017020)
Tom Vercauteren (developer)
2009-07-30 08:57

Thank you Bill. I am not working with cygwin and mingw anymore right now but will try cmake 2.6.4 if I do.

It is OK to close this bug from my side.
(0017021)
Bill Lorensen (developer)
2009-07-30 10:05

An update to cmake 2.6.4 resolves the problem.
(0017022)
Bill Lorensen (developer)
2009-07-30 10:06

The reporter OKed the closing of the bug.

 Issue History
Date Modified Username Field Change
2008-04-07 08:41 Tom Vercauteren New Issue
2008-04-14 03:52 Tom Vercauteren Note Added: 0011273
2008-04-14 13:29 Tomas Kazmar Note Added: 0011285
2008-05-13 04:45 Tom Vercauteren Relationship added duplicate of 0005647
2008-05-22 04:47 Tom Vercauteren Note Added: 0012064
2009-07-26 11:07 Bill Lorensen Status new => assigned
2009-07-26 11:07 Bill Lorensen Assigned To => Bill Lorensen
2009-07-30 08:01 Bill Lorensen Note Added: 0017018
2009-07-30 08:01 Bill Lorensen Status assigned => feedback
2009-07-30 08:57 Tom Vercauteren Note Added: 0017020
2009-07-30 10:05 Bill Lorensen Note Added: 0017021
2009-07-30 10:05 Bill Lorensen Status feedback => resolved
2009-07-30 10:05 Bill Lorensen Resolution open => fixed
2009-07-30 10:06 Bill Lorensen Note Added: 0017022
2009-07-30 10:06 Bill Lorensen Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team