[vtk-developers] Problem including vtkGDCMPolyDataReader

Elisabeth Pfaehler elli.pfaehler at gmail.com
Tue May 1 13:50:57 EDT 2018


Dear all,

I recently installed VTK and GDCM on my system.
Now I want to read RT structs using the vtkGDCMPolyDataReader.
I included VTK and GDCM in my program using CMAKE.
However, when I include now vtkGDCMPolyDataReader.h, I get the error:

Error    C2653    'Detail': is not a class or namespace name
Radiomics    D:\VTK-bin\Common\Core\vtkAtomic.h

Error    C2143    syntax error: missing ';' before '<'    Radiomics
D:\VTK-bin\Common\Core\vtkAtomic.h    358
Severity    Code    Description    Project    File    Line    Suppression
State
Error    C4430    missing type specifier - int assumed. Note: C++ does not
support default-int    Radiomics    D:\VTK-bin\Common\Core\vtkAtomic.h
358
Error    C2238    unexpected token(s) preceding ';'    Radiomics
D:\VTK-bin\Common\Core\vtkAtomic.h    358
Error    C2653    'Impl': is not a class or namespace name    Radiomics
D:\VTK-bin\Common\Core\vtkAtomic.h    434
Error    C3646    'Atomic': unknown override specifier    Radiomics
D:\VTK-bin\Common\Core\vtkAtomic.h    434
Error    C4430    missing type specifier - int assumed. Note: C++ does not
support default-int    Radiomics    D:\VTK-bin\Common\Core\vtkAtomic.h
434
Error    C2872    'detail': ambiguous symbol    Radiomics
D:\VTK-bin\Common\Core\vtkAtomic.h    529
Error    C2872    'detail': ambiguous symbol    Radiomics
D:\VTK-bin\Common\Core\vtkAtomic.h    441
Error    C1083    Cannot open include file: 'vtkCell.h': No such file or
directory    Radiomics
d:\vtk-8.1.0\vtk-8.1.0\common\datamodel\vtkCellArray.h    42

Any ideas what could be wrong?

Thanks in advance,

Elli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20180501/64d4c6f0/attachment.html>


More information about the vtk-developers mailing list