[ 28%] Building CXX object src/cad/CMakeFiles/insightcad.dir/dxfwriter.cpp.o /home/joaoantoniocardoso/CFD/insight/insight-src/src/cad/dxfwriter.cpp:137:2: warning: #warning needs handling! [-Wcpp] 137 | #warning needs handling! | ^~~~~~~ In file included from /home/joaoantoniocardoso/CFD/insight/insight-src/src/cad/featurefilter.h:65, from /home/joaoantoniocardoso/CFD/insight/insight-src/src/cad/cadfeature.h:48, from /home/joaoantoniocardoso/CFD/insight/insight-src/src/cad/dxfwriter.h:27, from /home/joaoantoniocardoso/CFD/insight/insight-src/src/cad/dxfwriter.cpp:21: /home/joaoantoniocardoso/CFD/insight/insight-src/src/cad/featurefilters/ispartofsolid.h: In constructor ‘insight::cad::isPartOfSolid::isPartOfSolid(insight::cad::FeatureSet)’: /home/joaoantoniocardoso/CFD/insight/insight-src/src/cad/featurefilters/ispartofsolid.h:50:64: error: no matching function for call to ‘TopoDS_Shape::TopoDS_Shape(std::__shared_ptr_access::element_type&)’ 50 | : s_(TopoDS::Solid(static_cast(*f.model()))) | ^ In file included from /opt/oce/lib/oce-0.18/../../include/oce/TopoDS_Shape.hxx:239, from /opt/oce/lib/oce-0.18/../../include/oce/TopoDS_Vertex.hxx:13, from /opt/oce/lib/oce-0.18/../../include/oce/BRepExtrema_SolutionElem.hxx:24, from /opt/oce/lib/oce-0.18/../../include/oce/BRepExtrema_SeqOfSolution.hxx:23, from /opt/oce/lib/oce-0.18/../../include/oce/BRepExtrema_DistShapeShape.hxx:18, from /home/joaoantoniocardoso/CFD/insight/insight-src/src/cad/occinclude.h:34, from /home/joaoantoniocardoso/CFD/insight/insight-src/src/cad/dxfwriter.h:26, from /home/joaoantoniocardoso/CFD/insight/insight-src/src/cad/dxfwriter.cpp:21: /opt/oce/lib/oce-0.18/../../include/oce/TopoDS_Shape.lxx:31:8: note: candidate: ‘TopoDS_Shape::TopoDS_Shape()’ 31 | inline TopoDS_Shape::TopoDS_Shape () | ^~~~~~~~~~~~ /opt/oce/lib/oce-0.18/../../include/oce/TopoDS_Shape.lxx:31:8: note: candidate expects 0 arguments, 1 provided In file included from /opt/oce/lib/oce-0.18/../../include/oce/TopoDS_Vertex.hxx:13, from /opt/oce/lib/oce-0.18/../../include/oce/BRepExtrema_SolutionElem.hxx:24, from /opt/oce/lib/oce-0.18/../../include/oce/BRepExtrema_SeqOfSolution.hxx:23, from /opt/oce/lib/oce-0.18/../../include/oce/BRepExtrema_DistShapeShape.hxx:18, from /home/joaoantoniocardoso/CFD/insight/insight-src/src/cad/occinclude.h:34, from /home/joaoantoniocardoso/CFD/insight/insight-src/src/cad/dxfwriter.h:26, from /home/joaoantoniocardoso/CFD/insight/insight-src/src/cad/dxfwriter.cpp:21: /opt/oce/lib/oce-0.18/../../include/oce/TopoDS_Shape.hxx:43:7: note: candidate: ‘TopoDS_Shape::TopoDS_Shape(const TopoDS_Shape&)’ 43 | class TopoDS_Shape | ^~~~~~~~~~~~ /opt/oce/lib/oce-0.18/../../include/oce/TopoDS_Shape.hxx:43:7: note: no known conversion for argument 1 from ‘std::__shared_ptr_access::element_type’ {aka ‘const insight::cad::Feature’} to ‘const TopoDS_Shape&’ /opt/oce/lib/oce-0.18/../../include/oce/TopoDS_Shape.hxx:43:7: note: candidate: ‘TopoDS_Shape::TopoDS_Shape(TopoDS_Shape&&)’ /opt/oce/lib/oce-0.18/../../include/oce/TopoDS_Shape.hxx:43:7: note: no known conversion for argument 1 from ‘std::__shared_ptr_access::element_type’ {aka ‘const insight::cad::Feature’} to ‘TopoDS_Shape&&’ make[2]: *** [src/cad/CMakeFiles/insightcad.dir/build.make:89: src/cad/CMakeFiles/insightcad.dir/dxfwriter.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:6544: src/cad/CMakeFiles/insightcad.dir/all] Error 2 make: *** [Makefile:163: all] Error 2