Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3dSDPViewer #438

Open
ngophuc opened this issue Jun 2, 2022 · 2 comments
Open

3dSDPViewer #438

ngophuc opened this issue Jun 2, 2022 · 2 comments

Comments

@ngophuc
Copy link
Contributor

ngophuc commented Jun 2, 2022

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

@dcoeurjo
Copy link
Member

dcoeurjo commented Jun 2, 2022

Hi,

Which compiler / os are you using ?

@kerautret
Copy link
Member

@ngophuc is it always present?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants