Open angelini75 opened 4 years ago
It seems a problem with magick
[ 33%] Building C object CMakeFiles/obs-gphoto.dir/src/gphoto-utils.c.o
/tmp/yaourt-tmp-marcos/aur-obs-gphoto/src/obs-gphoto-0.3.0/src/gphoto-utils.c:4:10: fatal error: magick/MagickCore.h: No such file or directory
4 | #include <magick/MagickCore.h>
| ^~~~~~~~~~~~~~~~~~~~~
Magick version
pacman -Q imagemagick-full
imagemagick-full 7.0.10.1-1
MagickCore.h
is in /usr/include/ImageMagick-7/MagickCore/MagickCore.h
and /usr/include/ImageMagick-6/magick/MagickCore.h
I was able to get a bit farther by modifying the PKGBUILD with
build() {
cd ${srcdir}/${pkgname}-${pkgver}
for filename in src/*.c; do
echo "==> FILE: $filename"
[ -e "$filename" ] || continue
sed -i 's/include <magick\/MagickCore.h>/include <ImageMagick-7\/magick\/MagickCore.h>/g' "$filename"
done
cmake . -DSYSTEM_INSTALL=1
make
}
But now I'm getting this so it seems I may be missing a library. I see above that angelini75 has imagemagick-full
installed but that seems like a lot to install for this small package.
/home/hs/builds/obs-gphoto/src/obs-gphoto-0.3.0/src/gphoto-preview.c:1:10: fatal error: ImageMagick-7/magick/MagickCore.h: No such file or directory
1 | #include <ImageMagick-7/magick/MagickCore.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~