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

No MagickCore-config in $PATH on Debian Jessie #2

Open
apsheronets opened this issue Jul 18, 2016 · 2 comments
Open

No MagickCore-config in $PATH on Debian Jessie #2

apsheronets opened this issue Jul 18, 2016 · 2 comments

Comments

@apsheronets
Copy link

Hey guys. This bindings won't build anymore on Debian Jessie since there is no MagickCore-config in $PATH:

% apt-file search MagickCore-config
libmagickcore-6.q16-dev: /usr/lib/x86_64-linux-gnu/ImageMagick-6.8.9/bin-Q16/MagickCore-config

Any ideas how should we fix this?

@fccm
Copy link
Contributor

fccm commented Sep 20, 2019

You can use pkg-config instead:

pkg-config --cflags MagickCore
pkg-config --libs MagickCore

@fccm2
Copy link

fccm2 commented Oct 13, 2024

This bindings also doesn't compile anymore for me (i'm the original author of this "thing"). It was very "drafty" (from draft) because it was the first time i was trying to do something with C.
I found easier to make a new one from scratch rather than to fix this one:
https://github.com/fccm2/mgk-gen
(there is the minimum, something like 10 effects (filters), some draw primitives, and layers (called composite in im)).
there is now also a bindings for graphics-magick, the historical fork of image-magick:
https://github.com/fccm2/ocaml-graphicsmagick
i thought at the beginning that the binding don't compile anymore because IM's api changed, but it's probably because my first binding was quite lame.
I also tried to make another one:
https://github.com/fccm2/mgk-cmd
that tries to provide an interface similar than a binding, but which is only a "printf-interface" because it produces a command line for the command line tool of IM (and with some minimal compatibility with GM).
The 2 new ffi bindings are probably not better than the first one, but at least it compiles on my computer. (dunno if it will also do on someone else's computer too).

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

3 participants