I get the following error while compiling 3dSDPViewer
error: no matching conversion for functional-style cast from 'int' to 'DGtal::SetName3D'
viewer << SetName3D( name++ ) ;
^~~~~
/Users/hngo/Documents/Codes/Libs/DGtal/DGtal/src/DGtal/io/DrawWithDisplay3DModifier.h:242:10: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const DGtal::SetName3D' for 1st argument
struct SetName3D : public DrawWithDisplay3DModifier {
^
/Users/hngo/Documents/Codes/Libs/DGtal/DGtal/src/DGtal/io/DrawWithDisplay3DModifier.h:242:10: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'DGtal::SetName3D' for 1st argument
/Users/hngo/Documents/Codes/Libs/DGtal/DGtal/src/DGtal/io/DrawWithDisplay3DModifier.h:242:10: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
1 error generated.
make[2]: [visualisation/CMakeFiles/3dSDPViewer.dir/3dSDPViewer.cpp.o] Error 1
make[1]: [visualisation/CMakeFiles/3dSDPViewer.dir/all] Error 2
make: *** [all] Error 2
I get the following error while compiling 3dSDPViewer
error: no matching conversion for functional-style cast from 'int' to 'DGtal::SetName3D' viewer << SetName3D( name++ ) ; ^
~~~~ /Users/hngo/Documents/Codes/Libs/DGtal/DGtal/src/DGtal/io/DrawWithDisplay3DModifier.h:242:10: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const DGtal::SetName3D' for 1st argument struct SetName3D : public DrawWithDisplay3DModifier { ^ /Users/hngo/Documents/Codes/Libs/DGtal/DGtal/src/DGtal/io/DrawWithDisplay3DModifier.h:242:10: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'DGtal::SetName3D' for 1st argument /Users/hngo/Documents/Codes/Libs/DGtal/DGtal/src/DGtal/io/DrawWithDisplay3DModifier.h:242:10: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided 1 error generated. make[2]: [visualisation/CMakeFiles/3dSDPViewer.dir/3dSDPViewer.cpp.o] Error 1 make[1]: [visualisation/CMakeFiles/3dSDPViewer.dir/all] Error 2 make: *** [all] Error 2