Comments (5)
./configure --with-libpng-library=/usr/local/Cellar/libpng/1.6.16/lib/ --with-libpng-includes=/usr/local/Cellar/libpng/1.6.16/include/ --with-freetype2-library=/usr/local/lib/ --with-freetype2-includes=/usr/local/include/freetype2/
I am using ubuntu. The specific model is as follows:
Linux 5.15.0-97-generic #107~20.04.1-Ubuntu SMP Fri Feb 9 14:20:11 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Based on your answer, I guessed that I was missing libpng, so I followed apt install libpng-dev
it succeeded. Thank you for your reply. I wish you a happy day.You can close this question.
from pdftojson.
I think you get this file when you ./configure
make.
from pdftojson.
I think you get this file when you
./configure
make.
I directly git clone from github to the local area, and then run ./configure, and the following error message appears, and then I cannot make.
And I didn’t see the file png.h in this warehouse. I saw many places referencing this header file, but I couldn’t find this file.
from pdftojson.
Are you on a Mac by chance?
You need to install libpng separately and configure with extra parameters, as specified in the README.
./configure --with-libpng-library=/usr/local/Cellar/libpng/1.6.16/lib/ --with-libpng-includes=/usr/local/Cellar/libpng/1.6.16/include/ --with-freetype2-library=/usr/local/lib/ --with-freetype2-includes=/usr/local/include/freetype2/
from pdftojson.
@harry1080 it would be useful for other if you could share your .configure
parameters after you installed libpng.
I would update the README.md
file.
from pdftojson.
Related Issues (8)
- MacOSX Install issues HOT 3
- Cannot install HOT 2
- stack-overflow in function Object::copy(Object*) :Object.cc:75:8
- stack-buffer-overflow was discovered in Stream::makeFilter(char*, Stream*, Object*, int)
- A SEGV DEADLYSIGNALflow leading to crash in split(GList*:TextOutputDev.cc:2626:7
- Add .gitignore file HOT 1
- word bounding boxes are calculated for 72 dpi regadless of resolution option -r HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdftojson.