torch / torch7

http://torch.ch
Other
8.97k stars 2.38k forks source link

build error : png.h not found #1139

Open gaoyangyiqiao opened 6 years ago

gaoyangyiqiao commented 6 years ago

When installing torch as the web shows, it show this:

[ 12%] Building C object CMakeFiles/lua_png.dir/png.c.o
/Users/username/torch/pkg/image/png.c:14:10: fatal error: 'png.h' file not
      found
#include <png.h>
         ^~~~~~~
1 error generated.

Hope someone can help.

Davis2600 commented 4 years ago

Any chance you figured this out? Same Issue here