DGtalTools icon indicating copy to clipboard operation
DGtalTools copied to clipboard

3dSDPViewer

Open ngophuc opened this issue 3 years ago • 2 comments

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

ngophuc avatar Jun 02 '22 20:06 ngophuc

Hi,

Which compiler / os are you using ?

dcoeurjo avatar Jun 02 '22 20:06 dcoeurjo

@ngophuc is it always present?

kerautret avatar Oct 30 '22 17:10 kerautret