View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012675 | VTK | (No Category) | public | 2011-10-24 12:32 | 2013-12-18 09:55 | ||||
Reporter | eric kischell | ||||||||
Assigned To | Robert Maynard | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | won't fix | ||||||
Platform | OS | OS Version | |||||||
Product Version | 5.8.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0012675: Build VTK on WIN7 using ALL static libs as a default when CMake's BUILD_SHARED_LIBS is unchecked | ||||||||
Description | I would agree. Creating a static library but requiring a shared runtime always seemed to boggle my mind. I think this is something CMake does on it's own but possibly we can override it in a future release. Please file a bug at vtk.org/Bug so we don't forget about this. On Mon, Oct 24, 2011 at 12:03 PM, Kischell, Eric R. <Kischell.Eric@mayo.edu> wrote: Hello VTK Lurkers, When building VTK 5.8 as a static library under WIN7 using C-Make 2.8.6… I un-check BUILD_SHARED_LIBS under the C-Make GUI. The generated VC++ 2005 solution contains projects with C / C++ | Code Generation set to /MD instead of the correct /MT (Multi-threaded (/MT)). I must then manually change all of the /MD's to /MT's under the C-Make GUI's advanced settings. It would be more convenient to have C-Make automatically set to /MT and /MTd if BUILD_SHARED_LIBS is un-checked. thx keesh Work Life Plan: To improve the quality of life for all mankind through better pattern recognition techniques. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0031945) Dave DeMarle (administrator) 2013-12-16 12:48 |
Robert, is this bug still present? |
(0032018) Dave DeMarle (administrator) 2013-12-18 09:54 |
cmake doesn't yet have first class support for linking the static runtime, so at the moment the best way to do it is to edit the cmakecache.txt. If there is significant demand we could do this at the VTK level, but it would be better still to do it in cmake and then all cmakeified projects would benefit. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-10-24 12:32 | eric kischell | New Issue | |
2013-12-16 12:48 | Dave DeMarle | Note Added: 0031945 | |
2013-12-16 12:48 | Dave DeMarle | Assigned To | => Robert Maynard |
2013-12-16 12:48 | Dave DeMarle | Status | backlog => tabled |
2013-12-16 18:48 | Dave DeMarle | Status | tabled => backlog |
2013-12-18 09:10 | Dave DeMarle | Status | backlog => tabled |
2013-12-18 09:10 | Dave DeMarle | Target Version | => 6.2.0 |
2013-12-18 09:54 | Dave DeMarle | Note Added: 0032018 | |
2013-12-18 09:55 | Dave DeMarle | Status | tabled => closed |
2013-12-18 09:55 | Dave DeMarle | Resolution | open => won't fix |
2013-12-18 09:55 | Dave DeMarle | Target Version | 6.2.0 => |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |