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

build error #35

Open
Ajay-2017 opened this issue Jun 15, 2021 · 1 comment
Open

build error #35

Ajay-2017 opened this issue Jun 15, 2021 · 1 comment

Comments

@Ajay-2017
Copy link

I am trying to build on a mac and found Cmake complain

meGrabber.cpp:37:10: fatal error:
'png.h' file not found
#include <png.h>

even though pnglib is installed.

bench-mr ajayp$ ls /usr/local/include/png.h
/usr/local/include/png.h

Hence I added, usr/local/include to CMakeLists.txt
include_directories(/usr/local/include)

But now I am getting lot of errors while building,

bench-MR/bench-mr/third_party/params/include/params.hpp:124:23: error:
use 'template' keyword to treat 'get' as a dependent template name
value_ = j[name_].get();
^
template
bench-MR/bench-mr/third_party/params/include/params.hpp:117:16: error:
'serialize' overrides a member function but is not marked 'override'
[-Werror,-Winconsistent-missing-override]
virtual void serialize(std::ostream &stream) const {
^

any ideas?

@roym899
Copy link
Collaborator

roym899 commented Jun 17, 2021

I can't reproduce this problem (but I also don't have access to a mac). Where does meGrabber.cpp come from?

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

2 participants