Giter VIP home page Giter VIP logo

Comments (4)

jcupitt avatar jcupitt commented on May 17, 2024

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.

testn avatar testn commented on May 17, 2024

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.

jcupitt avatar jcupitt commented on May 17, 2024

I've not actually tested those overrides. Do you not have a pkg-config for lcms?

from libvips.

testn avatar testn commented on May 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.