From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31931 invoked by alias); 23 Oct 2002 14:46:53 -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 31872 invoked from network); 23 Oct 2002 14:46:50 -0000 Received: from unknown (HELO wh2-19.st.uni-magdeburg.de) (141.44.162.19) by sources.redhat.com with SMTP; 23 Oct 2002 14:46:50 -0000 Received: by wh2-19.st.uni-magdeburg.de (Postfix, from userid 1000) id 4041E90F60; Wed, 23 Oct 2002 16:47:17 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15798.46707.713817.181679@wh2-19.st.uni-magdeburg.de> Date: Wed, 23 Oct 2002 07:46:00 -0000 From: "Claudio Bley" To: Sawa Cc: gcc-help@gcc.gnu.org Subject: Re: image magic compilation errorrs In-Reply-To: References: X-SW-Source: 2002-10/txt/msg00285.txt.bz2 >>>>> "Sawa" == Sawa writes: Sawa> bash-2.05b$ c++ -o test test.cpp `Magick++-config -cxxflags Sawa> -cppflags -ldflags -libs` Usage: Magick++-config Sawa> [--cppflags] [--cxxflags] [--exec-prefix] [--ldflags] Sawa> [--libs] [--prefix] [--version] Sawa> For example, "example.cpp" may be compiled to produce Sawa> "example" as follows: Sawa> "c++ -o example example.cpp `Magick++-config --cppflags Sawa> --cxxflags --ldflags --libs`" Why don't you just follow the advice given in the line above??? There need to be 2 dashes in front of cppflags, cxxflags, libs and ldflags options to the Magick++-config script. bash-2.05b $ Magick++-config --cppflags --cxxflags --ldflags --libs -DHAVE_CONFIG_H -I/usr/include/freetype2 -I/usr/include/freetype2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include/X11/magick -I/usr/X11R6/include -I/usr/X11R6/include/X11 -O2 -march=i686 -L/usr/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lMagick++ -lMagick -L/usr/X11R6/lib -lMagick -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lpthread -lm -- Claudio Bley ASCII ribbon campaign (") Debian GNU/Linux advocate - against HTML email X http://www.cs.uni-magdeburg.de/~bley/ & vCards / \