#11 Compile on Kubuntu Feisty fails (missing dependency)

closed-fixed
nobody
None
5
2008-02-13
2007-07-02
Stefan
No

Hello,
a compilation on Kubuntu Feisty Fawn (7.04) failed, because make doesn't test if ImageMagic++ is installed.
Qt: 3.3.7
KDE: 3.5.6
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)

make[3]: Betrete Verzeichnis '/home/stefan/kxstitch-0.8/kxstitch'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_NO_COMPAT -DKDE_NO_COMPAT -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT schemeparser.o -MD -MP -MF ".deps/schemeparser.Tpo" -c -o schemeparser.o schemeparser.cpp; \ then mv -f ".deps/schemeparser.Tpo" ".deps/schemeparser.Po"; else rm -f ".deps/schemeparser.Tpo"; exit 1; fi
In file included from schemeparser.cpp:13:
flossscheme.h:17:22: error: Magick++.h: No such file or directory
/usr/share/qt3/include/qxml.h:224: warning: ‘class QXmlReader’ has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:407: warning: ‘class QXmlContentHandler’ has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:424: warning: ‘class QXmlErrorHandler’ has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:433: warning: ‘class QXmlDTDHandler’ has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:441: warning: ‘class QXmlEntityResolver’ has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:448: warning: ‘class QXmlLexicalHandler’ has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:461: warning: ‘class QXmlDeclHandler’ has virtual functions but non-virtual destructor
flossscheme.h:59: error: ‘Magick’ has not been declared
flossscheme.h:59: error: ISO C++ forbids declaration of ‘Image’ with no type
flossscheme.h:59: error: expected ‘;’ before ‘*’ token
flossscheme.h:76: error: ‘Magick’ has not been declared
flossscheme.h:76: error: ISO C++ forbids declaration of ‘Image’ with no type
flossscheme.h:76: error: expected ‘;’ before ‘*’ token
make[3]: *** [schemeparser.o] Fehler 1

Discussion

  • Stefan
    Stefan
    2007-07-02

    Logged In: YES
    user_id=1332704
    Originator: YES

    the package "libgraphicsmagic++1-dev" has to be installed with adept to make it work.

     
  • Logged In: YES
    user_id=618149
    Originator: NO

    Added dependency for Magick++ header file in CVS commit 13th Feb 2008.

     
    • status: open --> closed-fixed