I am attempting to build shapeworks studio from source this morning on a Debian Linux workstation using CMake version 3.7.2. In executing make, I got the following error message:
[ 17%] Building CXX object Surfworks/CMakeFiles/Surfworks.dir/PreViewMeshQC/FEMeshSmoothingModifier.cpp.o
/research/repository/ShapeWorksStudio/src/Surfworks/PreViewMeshQC/FEMeshSmoothingModifier.cpp: In member function ‘FEMesh* FEMeshSmoothingModifier::Apply(FEMesh*)’:
/research/repository/ShapeWorksStudio/src/Surfworks/PreViewMeshQC/FEMeshSmoothingModifier.cpp:28:11: error: ‘runtime_error’ is not a member of ‘std’
throw std::runtime_error("FEMesher failed.");
^~~
/research/repository/ShapeWorksStudio/src/Surfworks/PreViewMeshQC/FEMeshSmoothingModifier.cpp:32:11: error: ‘runtime_error’ is not a member of ‘std’
throw std::runtime_error("FEMesher failed.");
^~~
Surfworks/CMakeFiles/Surfworks.dir/build.make:254: recipe for target 'Surfworks/CMakeFiles/Surfworks.dir/PreViewMeshQC/FEMeshSmoothingModifier.cpp.o' failed
make[2]: *** [Surfworks/CMakeFiles/Surfworks.dir/PreViewMeshQC/FEMeshSmoothingModifier.cpp.o] Error 1
CMakeFiles/Makefile2:251: recipe for target 'Surfworks/CMakeFiles/Surfworks.dir/all' failed
make[1]: *** [Surfworks/CMakeFiles/Surfworks.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Can you please advise on what I need to do to fix this?
Thank you!
Chris