acil-bwh / SlicerCIP

Slicer extension for the Chest Imaging Platform
BSD 3-Clause "New" or "Revised" License
15 stars 22 forks source link

COMP: Fix "‘itksys_stl’ does not name a type" compile error. #4

Closed jcfr closed 8 years ago

jcfr commented 8 years ago

This updates code to be independent of KWSys function signature changes introduced in InsightSoftwareConsortium/ITK@d584693 (ENH: Remove use of include <itksys/stl/> and itksys_stl::) following Slicer r24836 (ENH: Update ITKv4 to v4.9.0 release branch)

It fixes the following build errors:

/home/jcfr/Projects/SlicerCIP/Loadable/ParticlesDisplay/Logic/vtkSlicerParticlesDisplayLogic.cxx:135:11: error: ‘itksys_stl’ does not name a type const itksys_stl::string fname(filename); ^ /home/jcfr/Projects/SlicerCIP/Loadable/ParticlesDisplay/Logic/vtkSlicerParticlesDisplayLogic.cxx:136:5: error: ‘itksys_stl’ has not been declared itksys_stl::string name = itksys::SystemTools::GetFilenameWithoutExtension(fname); ^ /home/jcfr/Projects/SlicerCIP/Loadable/ParticlesDisplay/Logic/vtkSlicerParticlesDisplayLogic.cxx:137:68: error: ‘name’ was not declared in this scope std::string uname( this->GetMRMLScene()->GetUniqueNameByString(name.c_str())); ^

jcfr commented 8 years ago

Thanks