Package Details: img2xterm 1.0.0-3

Git Clone URL: https://aur.archlinux.org/img2xterm.git (read-only, click to copy)
Package Base: img2xterm
Description: Displays images on your 256-color terminal with Unicode block characters
Upstream URL: https://github.com/rossy/img2xterm
Keywords: xterm
Licenses: CC0
Submitter: XenGi
Maintainer: XenGi
Last Packager: XenGi
Votes: 1
Popularity: 0.000000
First Submitted: 2015-12-21 22:30 (UTC)
Last Updated: 2018-02-19 05:06 (UTC)

Dependencies (4)

Required by (0)

Sources (2)

Latest Comments

LeoX34 commented on 2023-12-19 03:26 (UTC)

i kept getting this problem img2xterm.c:18:10: fatal error: wand/MagickWand.h: No such file or directory

fixed it by copying the folder MagickWand from a compiled ImageMagick source, to /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.0/include renamed the folder MagickWand to wand

XenGi commented on 2018-01-15 12:11 (UTC) (edited on 2018-01-15 12:36 (UTC) by XenGi)

Compilation fails because of incompatibilities of the imagemagick version. This needs fixing upstream. https://github.com/rossy/img2xterm/pull/14

corvus_192 commented on 2018-01-14 22:13 (UTC) (edited on 2018-01-14 22:14 (UTC) by corvus_192)

Hi,I am getting this error:

gcc -O2 -Wall -D_GNU_SOURCE -D_DEFAULT_SOURCE -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -D_FORTIFY_SOURCE=2  -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -o img2xterm img2xterm.c -s -lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI -lm -lncursesw -lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI
img2xterm.c:12:0: warning: "_GNU_SOURCE" redefined
 #define _GNU_SOURCE

<command-line>:0:0: note: this is the location of the previous definition
img2xterm.c:18:10: fatal error: wand/MagickWand.h: No such file or directory
 #include <wand/MagickWand.h>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.

make: *** [Makefile:46: img2xterm] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

I have imagemagick 7.0.7.21-1.