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

What's hpdf? #1

Closed
nigelhorne opened this issue Dec 29, 2020 · 1 comment
Closed

What's hpdf? #1

nigelhorne opened this issue Dec 29, 2020 · 1 comment

Comments

@nigelhorne
Copy link

$ make
gcc -o gpdf gpdf.c -g -W -Wall -std=gnu99 -Iinclude -lhpdf
/usr/bin/ld: cannot find -lhpdf
collect2: error: ld returned 1 exit status
make: *** [Makefile:31: gpdf] Error 1

"apt install libhpdf" matched nothing.

@billthefarmer
Copy link
Owner

It's in the README...

libHaru was used to produce the pdf
output. This will build successfully after the build files are
patched. The program is written in generic C, so should work on any
platform that libHaru will build on. To build libHaru on windows
requires zlib and libpng, which can be found in MingW32. To build
libHaru on Mac OSX requires libpng, which can be built and
installed. On Linux, just install zlib and libpng if they are not
already installed. On Linux Mint thats:

$ sudo apt install libz-dev libpng-dev

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