Skip to content

build error #35

@Ajay-2017

Description

@Ajay-2017

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions