View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014988 | VTK | (No Category) | public | 2014-09-09 13:10 | 2015-10-20 16:45 | ||||
Reporter | johan andruejol | ||||||||
Assigned To | Bill Lorensen | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 6.0.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014988: Compilation error when using metaIO with ITK and VTK | ||||||||
Description | In metaIO, the namespace depends on a header file. In ITK, no namespace is used but in VTK one is used. When building a project that depends on itkMetaEvent.h, (or one of its dependencies like metaIO) if the first header file included is VTK's, the project will fail to compile with the error: ITKv4\Modules\Core\SpatialObjects\include\itkMetaEvent.h(31): error C2039: 'MetaEvent' : is not a member of '`global namespace'' ITKv4\Modules\Core\SpatialObjects\include\itkMetaEvent.h(31): error C2499: 'itk::MetaEvent' : a class cannot be its own base class See also: https://github.com/vovythevov/MetaIOBug [^] | ||||||||
Additional Information | If the itk headers are included BEFORE in the CMakeLists.txt file, then there is no compilation error. Suggest this workaround until more effort can be spent. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0033319) johan andruejol (reporter) 2014-09-09 13:10 |
Corresponding issue: https://issues.itk.org/jira/browse/ITK-3312 [^] |
(0035317) Bill Lorensen (developer) 2015-10-20 16:43 |
As of VTK 6.3 and ITK 4.8 this problem is resolved. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-09-09 13:10 | johan andruejol | New Issue | |
2014-09-09 13:10 | johan andruejol | Note Added: 0033319 | |
2014-09-30 08:41 | Bill Lorensen | Assigned To | => Bill Lorensen |
2014-09-30 08:41 | Bill Lorensen | Status | backlog => tabled |
2014-09-30 08:41 | Bill Lorensen | Description Updated | |
2014-09-30 08:41 | Bill Lorensen | Tag Attached: hackaton | |
2014-10-01 12:40 | Berk Geveci | Status | tabled => backlog |
2014-10-03 15:49 | Bill Lorensen | Reproducibility | have not tried => always |
2014-10-03 15:49 | Bill Lorensen | Additional Information Updated | |
2015-10-20 12:34 | Bill Lorensen | Tag Detached: hackaton | |
2015-10-20 16:43 | Bill Lorensen | Note Added: 0035317 | |
2015-10-20 16:44 | Bill Lorensen | Resolution | open => fixed |
2015-10-20 16:45 | Bill Lorensen | Status | backlog => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |