LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ImageMagick-6.8.6-10 does have a broken headers, or I'm wrong? (https://www.linuxquestions.org/questions/slackware-14/imagemagick-6-8-6-10-does-have-a-broken-headers-or-im-wrong-4175493863/)

yars 02-05-2014 05:15 PM

ImageMagick-6.8.6-10 does have a broken headers, or I'm wrong?
 
Hello all, I'm trying to compile latest Photoqt package from SlackBuilds, and I have this when I run cmake:
Code:

In file included from /tmp/builds/photoqt/photoqt-stable/thumbnails/../graphics/imagereader.h:13:0,
                from /tmp/builds/photoqt/photoqt-stable/thumbnails/threadforthumbnails.h:12,
                from /tmp/builds/photoqt/photoqt-stable/thumbnails/thumbnails.h:7,
                from /tmp/builds/photoqt/photoqt-stable/mainwindow.h:10,
                from /tmp/builds/photoqt/photoqt-stable/main.cpp:25:
/usr/include/ImageMagick-6/Magick++/Image.h:11:30: fatal error: Magick++/Include.h: No such file or directory

I have installed ImageMagick-6.8.6-10, and I'm running Slackware 14.1.
In a /usr/include/ImageMagick-6/Magick++ the file Include.h is exists, but Image.h is contains this:
Code:

#include "Magick++/Include.h"
#include <string>
#include <list>
#include "Magick++/Blob.h"
#include "Magick++/Color.h"
#include "Magick++/Drawable.h"
#include "Magick++/Exception.h"
#include "Magick++/Geometry.h"
#include "Magick++/TypeMetric.h"

It should be a:
Code:

#include "Include.h"
#include <string>
#include <list>
#include "Blob.h"
#include "Color.h"
#include "Drawable.h"
#include "Exception.h"
#include "Geometry.h"
#include "TypeMetric.h"

Or I'm mistaken? Thanks.

willysr 02-05-2014 05:58 PM

Works fine here on x86_64 VM
perhaps you have a broken ImageMagick

55020 02-05-2014 06:29 PM

The current version of photoqt at SBo for Slackware 14.1 is photoqt-1.0. That version uses GraphicsMagick (which you can get from SBo), not ImageMagick. In fact photoqt-1.0 does not detect ImageMagick and does not attempt to build with it.

I suspect you probably used one of the Slackware links on the photoqt downloads page. One of them is the old 14.0 SlackBuild for photoqt-0.91. The other one is not an official SBo SlackBuild. Don't use those. Get the up-to-date SlackBuilds directly from SBo:
http://slackbuilds.org/repository/14...raphicsMagick/ and
http://slackbuilds.org/repository/14...phics/photoqt/

... and don't forget the README for the photoqt SlackBuild, which explains that you will need the option GM=ON to build photoqt with GraphicsMagick support.

yars 02-05-2014 06:38 PM

willysr, thanks for ansver, but I have "normal" ImageMagick package.
55020, thanks also :) I will try to build photoqt as you said.
UPD: I'll currently tried with disabled GraphicsMagick.
Thanks!


All times are GMT -5. The time now is 01:16 AM.