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

make failed. fatal error: png.h: No such file or directory #2

Open
JustinhoCHN opened this issue Apr 26, 2020 · 0 comments
Open

make failed. fatal error: png.h: No such file or directory #2

JustinhoCHN opened this issue Apr 26, 2020 · 0 comments

Comments

@JustinhoCHN
Copy link

After cloning this repo (recursive), run make:

mkdir -p build && cd build
cmake ..
make

error raised:

In file included from /home/huzhihao/projects/TVM-deploy/src/classification/common.hpp:29:0,
                 from /home/huzhihao/projects/TVM-deploy/src/classification/classification.cpp:30:
/home/huzhihao/projects/TVM-deploy/src/classification/../CImg.h:448:10: fatal error: png.h: No such file or directory
 #include "png.h"
          ^~~~~~~
compilation terminated.
CMakeFiles/gcv_lite_classify.dir/build.make:86: recipe for target 'CMakeFiles/gcv_lite_classify.dir/src/classification/classification.cpp.o' failed
make[2]: *** [CMakeFiles/gcv_lite_classify.dir/src/classification/classification.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/gcv_lite_classify.dir/all' failed
make[1]: *** [CMakeFiles/gcv_lite_classify.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Do we missed something?

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