Created
September 27, 2011 11:05
-
-
Save kailashbuki/1244823 to your computer and use it in GitHub Desktop.
poppler error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from poppler-image.cpp:26: | |
../goo/PNGWriter.h:23:17: error: png.h: No such file or directory | |
In file included from poppler-image.cpp:26: | |
../goo/PNGWriter.h:53: error: 'png_structp' does not name a type | |
../goo/PNGWriter.h:54: error: 'png_infop' does not name a type | |
make[2]: *** [libpoppler_cpp_la-poppler-image.lo] Error 1 | |
make[1]: *** [check-recursive] Error 1 | |
make: *** [check-recursive] Error 1 |
I've solved by installing libpng. Thank you.
http://ethan.tira-thompson.com/Mac_OS_X_Ports.html
Sorry 8maki, i was out for a while. I had solved the problem by installing libpng as you did.
MacOS already comes with libpng, yet I still have this problem.
~/Downloads/poppler-0.18.2: brew install libpng Error: No available formula for libpng Apple distributes libpng with OS X, you can find it in /usr/X11/lib. However not all build scripts look here, so you may need to call ENV.x11 in your formula's install function.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello.
I am facing the same error while installing poppler on MacOSX 10.6.8.
Have you already solved this problem now?