-
- gdcm::File *header = new gdcm::File( argv[1] );
- gdcm::TagDocEntryHT *Ht = header->BuildFlatHashTable();
+ GDCM_NAME_SPACE::File *header = new GDCM_NAME_SPACE::File();
+ header->SetFileName(argv[1] );
+ header->Load();
+
+ GDCM_NAME_SPACE::TagDocEntryHT *Ht = header->BuildFlatHashTable();