Comments (4)
The --with-png-libraries etc. configure flags are for old-fashioned packages which don't use pkg-config.
For libexif, the best solution is to include the directory with libexif.pc on your PKG_CONFIG_PATH. If you want to override that, use EXIF_CFLAGS and EXIF_LIBS like:
EXIF_CFLAGS="-Ixxx/xxx" EXIF_LIBS="-Lxxx/xxx" ./configure ...
from libvips.
Thanks. I didn't notice the bottom part of README.md. After I switched over to use pkgconfig, it looks like lcms override with LCMS_CFLAGS and LCMS_LIBS helps configure script to find lcms but when it tries to compile icc code it fails since it didn't include lcms include path in gcc command line
from libvips.
I've not actually tested those overrides. Do you not have a pkg-config for lcms?
from libvips.
I do. I overwrote everything else and it worked just fine. Only LCMS is the one I'm having the problem with.
Here is what I have in pkgconfig
prefix=/home/testn/build/RHEL5_64/DEV.STD.PTHREAD/build/private/lcms/install
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: lcms2
Description: LCMS Color Management Library
Version: 2.4
Libs: -L${libdir} -llcms2
Libs.private: -lm
Cflags: -I${includedir}
I guess I will debug with configure script more to find out exactly what went wrong and get back to you.
from libvips.
Related Issues (20)
- dzsave `--skip-blanks` does not work for transparent background HOT 7
- vips left many tmp fd files "/tmp/vips-117-385983422.v (deleted)" HOT 1
- VipsForeignSave: jfif is not a known file format HOT 4
- 8.15.0: ARW images throw `Input file has corrupt header` HOT 3
- tiffsave ndpi color differences HOT 1
- Crash due to running Fourier Transform operations in parallel HOT 6
- `vips_text` memory leak HOT 6
- Tiled tiff with compression and Q>=90 yields incorrect colors in 8.15 HOT 1
- 8.15 core dumps when processing lots of files HOT 8
- RW2 images: `Input file contains unsupported image format` HOT 3
- Why is Dzsave not working?
- Support for Ultra HDR HOT 20
- `vips_cache()` + sequential seems to be broken in 8.15 HOT 2
- JPEG auto-rotate changes image size HOT 1
- jxlload.c build failure: JxlDecoderGetICCProfileSize HOT 3
- Saving a greyscale tiff pyramid fails to add predictor tags at lower levels HOT 8
- Vips::Error: VipsForeignLoad: "/path/to/file.pdf" is not a known file format - installed using homebrew on macOS Ventura HOT 1
- php Libvips mapim function HOT 1
- Scale JPEG with maximum file size? HOT 1
- lipvips need 1.0.5. of libwhy but installed is 1.0.4 HOT 12
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 libvips.