From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17484 invoked by alias); 28 Oct 2002 13:18:11 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 16958 invoked from network); 28 Oct 2002 13:18:05 -0000 Received: from unknown (HELO wh2-19.st.uni-magdeburg.de) (141.44.162.19) by sources.redhat.com with SMTP; 28 Oct 2002 13:18:05 -0000 Received: by wh2-19.st.uni-magdeburg.de (Postfix, from userid 1000) id A2E5390F60; Mon, 28 Oct 2002 14:17:50 +0100 (CET) Date: Mon, 28 Oct 2002 05:18:00 -0000 To: Sawa Cc: gcc-help@gcc.gnu.org Subject: Re: image magic compilation errorrs Message-ID: <20021028131750.GB1582@wh2-19.st.uni-magdeburg.de> References: <15799.12372.987529.822994@wh2-19.st.uni-magdeburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i From: bley@wh2-19.st.uni-magdeburg.de (Claudio Bley) X-SW-Source: 2002-10/txt/msg00342.txt.bz2 On Thu, Oct 24, 2002 at 09:07:31PM +0530, Sawa wrote: > > On Thu, 24 Oct 2002, Claudio Bley wrote: > > > ,---- > > | bash-2.05b$ c++ -o test test.cpp `Magick++-config --cxxflags --cppflags --ldflags --libs` > > | In file included from /usr/X11R6/include/X11/magick/Magick++/Thread.h:25, > > | from /usr/X11R6/include/X11/magick/Magick++/Blob.h:11, > > | from /usr/X11R6/include/X11/magick/Magick++/Image.h:14, > > | from /usr/X11R6/include/X11/magick/Magick++.h:9, > > | from test.cpp:1: > > | /usr/X11R6/include/X11/magick/Magick++/Include.h:13:36: magick/magick_config.h: No such > > | file or directory > > | /usr/X11R6/include/X11/magick/Magick++/Include.h:47:24: magick/api.h: No such file or > > | directory > > `---- > > > > OK, here's where the trouble begins. It simply can't find some header > > files. So, the question is: do you have those files somewhere on your > > system? Where? (locate magick_config.h) > > > > Just include the location with an -I option on the command line. > > > > Btw, what kind of system are you using? (uname -a) It's often easier > > to give advice specific to your problem then. > > > I cant locate magick_config.h anywhere > though i do see files like Magick++-config.1 and Magick++-config > the system is i386 type > what do I do ?? Sorry for replying so late, but I had problems getting into the net; couldn't send any mails. If you don't have those files on your system I'm wondering how you installed Magick++? Did you compile it yourself? Do you have a RPM-based distribution? Or are you using Slackware? Magick++ depends on ImageMagick. You need to install ImageMagick-devel, libmagick5-dev or whatever the package is called in terms of your distribution. -- Claudio Bley ASCII ribbon campaign (") Debian GNU/Linux advocate - against HTML email X http://www.cs.uni-magdeburg.de/~bley/ & vCards / \