You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: