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

Friend declaration error on compiling. #6

Open
billbeno opened this issue Mar 19, 2021 · 0 comments
Open

Friend declaration error on compiling. #6

billbeno opened this issue Mar 19, 2021 · 0 comments

Comments

@billbeno
Copy link

billbeno commented Mar 19, 2021

I am coming at the following error. I am unable to get a fix for it. Kindly help. Thanks in advance.

`In file included from /home/beno/.local/src/ncorr_2D_cpp/build/../include/ncorr.h:12,

             from /home/beno/.local/src/ncorr_2D_cpp/src/ncorr.cpp:8:

/home/beno/.local/src/ncorr_2D_cpp/build/../include/Image2D.h:36:21: error: friend declaration of ‘void imshow(const ncorr::Image2D&, ncorr::Image2D::difference_type)’ specifies default arguments and isn’t a definition [-fpermissive]
36 | friend void imshow(const Image2D&, difference_type delay = -1);
| ^~~~~~

`

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

1 participant