Git Product home page Git Product logo

Comments (6)

gen2brain avatar gen2brain commented on August 26, 2024

You are using vendor, see #111 and many other related issues. Also, not sure why you are using CFLAGS/LDFLAGS.

from go-fitz.

abhijitpratinidhi avatar abhijitpratinidhi commented on August 26, 2024

Without setting CFLAGS/LDFLAGS(used to explicitly provice depency of mupdf -lmupdf) too i am getting the same error.And vendor folder is only for my local,when i ddeploy it as a container the dependencies are taken from gcp.artifactory.It throws the same error there too.

from go-fitz.

abhijitpratinidhi avatar abhijitpratinidhi commented on August 26, 2024

What should be the fix for vendor/github.com/gen2brain/go-fitz/fitz.go:6:10: fatal error: 'mupdf/fitz.h' file not found ?

from go-fitz.

gen2brain avatar gen2brain commented on August 26, 2024

As I wrote, see #111, or do not use vendor.

from go-fitz.

abhijitpratinidhi avatar abhijitpratinidhi commented on August 26, 2024

Thanks @gen2brain it worked without vendor.Any idea how can i use this library in dockerfile ,its giving the same error with a static-debian12 image .

from go-fitz.

gen2brain avatar gen2brain commented on August 26, 2024

No idea, why should anything be different? What is that static-debian anyway, you will not get static binary, it will link to libc, unless you also build with --static.

from go-fitz.

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.