Hi everyone, I am having some issues installing slicer and was hoping to get some help…
When I go to build the latest version of Slicer, I get the following error:
In file included from /home/tsims/Documents/Slicer-git/Slicer-SuperBuild-Debug/VTK/Common/DataModel/vtkSphericalPointIterator.cxx:15:
/home/tsims/Documents/Slicer-git/Slicer-SuperBuild-Debug/VTK/Common/DataModel/vtkSphericalPointIterator.h:272:8: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type
272 | std::unique_ptr<SphericalPointIterator> Iterator;
| ^~~~~~~~~~
/home/tsims/Documents/Slicer-git/Slicer-SuperBuild-Debug/VTK/Common/DataModel/vtkSphericalPointIterator.h:82:1: note: ‘std::unique_ptr’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
81 | #include "vtkSmartPointer.h" // auto destruct
+++ |+#include <memory>
82 |
Adding the #include <memory>
statement as the compiler suggests will allow the code to compile, but when running the binary at the end of the process it exits with a address boundary error.
I was wondering if there is a compiler setting or something I’m missing to get this to work?
Thanks in advance!