Comments (10)
GraphicsMagickWand-config is from GraphicsMagick, not ImageMagick.
You need libmagickwand-6.q16-dev package
from magick.
sh: 1: MagickWand-config: not found
luajit: /usr/local/share/lua/5.1/magick/init.lua:161: Failed to load ImageMagick (MagickWand)
stack traceback:
[C]: in function 'try_to_load'
/usr/local/share/lua/5.1/magick/init.lua:161: in main chunk
[C]: in function 'require'
image-proxy.lua:6: in main chunk
[C]: at 0x00404d90
Same problem here, and I do have libmagickwand-dev package
$ sudo apt-cache search libmagickwand
libmagickwand-6-headers - image manipulation library - headers files
libmagickwand-6.q16-2 - image manipulation library
libmagickwand-6.q16-dev - image manipulation library - development files
libmagickwand-dev - image manipulation library - transition for development files
And here is the location of MagickWand-config in my system
/usr/lib/x86_64-linux-gnu/ImageMagick-6.8.9/bin-Q16/MagickWand-config
I am running Ubuntu 15.04 x64
from magick.
Can you please make a luarocks release with this change, as it is an important fix?
from magick.
second the luarocks fix request, i also have the libmagickwand dev package
from magick.
to get this working temporarily i prepended the path to line 161:
local get_flags get_flags = function() local proc = io.popen("/usr/lib/x86_64-linux-gnu/ImageMagick-6.8.9/bin-Q16/MagickWand-config --cflags --libs", "r")
in file /usr/local/share/lua/5.1/magick/init.lua
from magick.
Third the luarocks fix request. Windows 64bit install @ C:\Program Files\ImageMagick-6.9.2-Q16
workaround...
edit C:\Program Files (x86)\LuaRocks\systree\share\lua\5.1\magick\init.lua
Change line 162 from:
local lib = try_to_load("MagickWand", function()
...to...
local lib = try_to_load("C:/Program Files/ImageMagick-6.9.2-Q16/CORE_RL_wand_", function()
from magick.
sorry about that, new version now live: https://luarocks.org/modules/leafo/magick/1.1.0-1
from magick.
1.1.0-1 installed, same issue persists.
init.lua:163 in main chunk
Failed to load ImageMagick (MagicWand)
see above fix for Windows x64
from magick.
@Tank-ACiD We need a more reliable way for windows than hard-coding a path for a specific version. Is there an equivalent of pkg-config on your system, if so what does it return?
from magick.
not on windows, in fact it still gives that error "pkg-config not found"
is it suppose to be an environment variable to a dir? I can set that.
On Sun, Oct 25, 2015 at 11:34 AM, leaf [email protected] wrote:
We need a more reliable way for windows than hard-coding a specific path.
Is there an equivalent of pkg-config on your system, if so what does it
return?—
Reply to this email directly or view it on GitHub
#13 (comment).
from magick.
Related Issues (20)
- img:colorize() function?
- How to install with CentOS 6.6 HOT 2
- module 'magick' not found. HOT 7
- Trying to implement MagickGetImageHistogram. HOT 2
- Support for Border
- How to achieve a custom effect?
- img:auto_orient() is in magic.lua, but no a line in documentation
- Error loading magick.
- How to implement a hidden pixel HOT 1
- Why last page whet convert pdf to png HOT 1
- How can I make progressive images? HOT 1
- Cannot get filter list? HOT 4
- When support Lua 5.3? HOT 1
- error in MagickCompositeImage params (in wand)? HOT 1
- Trim Support
- Windows Support
- set_pixel
- test2.lua:10: attempt to index local 'img2' (a nil value)
- img:composite(source, x, y, compose) no vertical displacement
- calling thumb function with images in webp format raises an error HOT 4
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 magick.